/* * Smeagol: a very simple Wiki engine * Copyright (C) 2014 Simon Brooke * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. */ body { margin: 0; padding: 0; font-family: sans-serif; } /* ids generally in document order */ /* top-of-page navigation, not editable, provided by Smeagol */ #nav{ margin: 0; padding: 0; top: 0; width: 100%; _position: absolute; _top: expression(document.documentElement.scrollTop); z-index: 149; background:rgba(40,40,40,0.8); } #user { font-height: 66%; float: right; padding: 0.1em 0.75em; margin: 0; } /* only needed for fly-out menu effect on tablet and phone stylesheets */ #nav-icon { display: none; } #nav ul li { padding: 0; margin: 0; display: inline; } #nav ul li a { color: white; text-decoration: none; font-weight: bold; padding: 0.1em 0.75em; margin: 0; } #nav ul li.active a { background: silver;} li.nav-item a:hover { background: rgb( 240, 240, 240) } li.nav-item a:active { background: gray; color: white; } /* Overall container div, holds all content of page. Yes, I know it shouldn't have fixed width */ #main-container{ clear: both; /* width:100%; */ } /* header for all pages in the Wiki - editable, provided by users. Within main-container */ #header { width:100%; background-color: gray; color: white; } /* left bar for all pages in the Wiki - editable, provided by users. Within main-container */ #left-bar { width: 17%; height: 100%; float: left; } /* content of the current in the Wiki - editable, provided by users. Within main-container */ #content { border: thin solid silver; width: 80%; float: right; } /* footer of the page - not-editable, provided by Smeagol */ #footer { clear: both; font-size: smaller; padding: 0 2em; text-align: center; color:white; background:rgba(128,128,128,0.95); width: 100%; margin: 0; padding: 0.1em 10%; bottom:0; position:fixed; z-index:150; _position:absolute; _top:expression(eval(document.documentElement.scrollTop+ (document.documentElement.clientHeight-this.offsetHeight))); } .error { background-color: red; color: white; } .widget { background-color: silver; border: thin solid white; margin-top: 0; margin-bottom: 0; } .wiki { margin: 0; } div.error { width: 100%; } form { border: thin solid silver; } div.content, form, p, pre, ul, ol, dl, menu, h1, h2, h3, h4, h5 { padding: 0.25em 10%; } input { background-color: white; } input.action { background-color: green; } input.action-dangerous { color: white; background-color: red; } input.required:after { content: " \*"; color: red; } label { width: 30em; min-width: 20em; border-right: thin solid gray; } menu li { display: inline; } menu li::before { content: "|| "; } table.music-ruled tr:nth-child(odd) { background-color: silver; } th, td { text-align: left; padding: 0 0.25em; }