MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */ /* In tables, use single pipe between CSS invocation and cell contents, e.g., : | class="nerfhearder" | contents */ .apatable { margin:auto; width:90%; margin-left: 4px; padding-left: 10px; border-top: solid 1px gray; border-bottom: solid 1px gray; border-left:0; border-right:0; vertical-align:top; background: white; background-color: white;} .apacell { margin-left: 4px; padding-left: 10px; border-top: solid 1px gray; border-bottom: solid 1px gray; border-left:0; border-right:0; vertical-align:top; padding-right: 10px; background: white; background-color: white; text-align: justify; text-justify: auto; } div.aparef, .aparef { margin-left: 2.5em ; text-indent: -2.5em ; font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif; } .hilite { background: #f9fbfb; background-color: #f9fbfb; padding-left: .4em; padding-right: .4em; padding-top: .2em; padding-bottom: .2em; margin-top: 0em; font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif; } .superheader { margin-left: -8px; padding-left:2mm; margin-top: 2px; margin-bottom:5px; border-top: solid 2px black; border-bottom: solid 2px black; border-left:none;border-right:none; padding-top:10px; padding-bottom:4px;padding-right:10px; vertical-align:top; background: #e8cfe8; font-size: 1.1em; font-style: italic; font-weight: bold; } .header { margin-left: -8px; padding-left:2mm; margin-top: 8px; margin-bottom:4px; border-top: solid 2px black; border-bottom: solid 2px black; border-left:none;border-right:none; padding-top:4px;padding-bottom:2px; padding-right:10px; vertical-align:top; background: #e6e6fa; margin-left: -4px; font-weight: bold ; } .leftheader { font-weight: bold; vertical-align:top; font-size: 1.0em; padding-left:2mm; margin-top: 8px; margin-bottom:4px; } tr, td {vertical-align:top;background-color: white;} .wikitable {vertical-align:top} .wikitable tr, td {vertical-align:top} .noborder { border: 0; padding-left: 10px; padding-right: 10px; margin-left: 20px; background: white; vertical-align:top; font-size: 1em; } .schmal {padding-bottom: .2em; padding-top:.2em; } /* Remove annoying underlining from hyperlinks */ a:link, a:visited, a:hover, a:active { text-decoration: none; } /* MenuSidebar - /* this has to be overridden for every menu */ #p-Menu, #p-Menu2, #p-Menu3 { overflow: visible; } #p-Menu div, #p-Menu2 div, #p-Menu3 div {margin: 0; padding: 0;} /* this is an example to make the list of the second entry bigger e.g. when ther is a longer text in a list item #p-Menu ul li.item2 ul { width: 16em;} */ this an example to change the background color of every second list item */ li.even {background-color: #eeeeee;} */ .menuSidebar ul {list-style: none; margin: 2; padding: 0;} /* remove bullets and list indents */ /* this div is only for better handling and navigation ... could also be done in inner ul*/ .menuSidebar ul div { position: absolute; top: -6px; left: 100%; /* to position them to the right of their containing block */ width: 100%; /* width is based on the containing block */ z-index: 100; /* show ul on top */ } .menuSidebar ul ul { background-color: white; border: 1px solid #aaaaaa; margin-top: 5px; /* make navigation easier*/ margin-bottom: 5px; /* make navigation easier*/ z-index: 101; /* show on top; Needed for IE 7 */ width: 12em; /* width of inner menu, Needed for IE 7 */ } .menuSidebar li { position: relative; /* make li a container for inner elements */ margin: 1px; z-index: 102; /* show on top; Needed for IE 7 */ } /* style, color and size links and headings to suit */ .menuSidebar a { font-weight: bold; display: block; border-width: 0px 0px 1px 0px; border-style: solid; border-color: #aaaaaa; margin: 0px; padding: 1px; padding-left: 5px; color: #000000; text-decoration: none; } /* move the > to the right */ .menuSidebar a em { position: absolute; right: 4px; } .menuSidebar li:hover, /* Needed for IE 7 */ .menuSidebar a:hover { background: #ccccff; } .menuSidebar li.separator a:hover { background: white; } /* Needed for IE 7 */ .menuSidebar li.separator a, .menuSidebar li.separator { line-height: 0px; height: 0px; font-size: 0px; } .menuSidebar ul li:last-Child a { border-width: 0px 0px 0px 0px; // remove the last bottom line padding-bottom: 0px; } /* hides the first level */ .menuSidebar ul li div { display: none; } /* shows the first level and hide the second */ .menuSidebar ul li:hover div, .menuSidebar ul li div:hover { display: block; } /* div is again used for easier navigation*/ .menuSidebar ul li:hover ul li div { display: none; } /* hide the next level */ /* second level*/ .menuSidebar ul li ul li:hover div, .menuSidebar ul li ul li div:hover { display: block; } /* div is again used for easier navigation*/ .menuSidebar ul li ul li:hover ul li div { display: none; } /* hide the next level */ /* third level */ .menuSidebar ul li ul li ul li:hover div, .menuSidebar ul li ul li ul li div:hover { display: block; } /* div is again used for easier navigation*/ .menuSidebar ul li ul li ul li:hover ul li div { display: none; } /* hide the next level */ <div id="page"> - <?php if ($sidebar_first): ?> - <div id="sidebar-first" class="sidebar"> - <?php if ($logo): ?> - <img id="logo" src="<?php print $logo ?>" alt="<?php print $site_name ?>" /> - <?php endif; ?> + <div id="sidebar-first" class="sidebar"> + <?php if ($logo): ?> + <img id="logo" src="<?php print $logo ?>" alt="<?php print $site_name ?>" /> + <?php endif; ?> + <?php if (!empty($sidebar_first)): ?> <?php print $sidebar_first ?> - </div> - <?php endif; ?> + <?php endif; ?> + </div> <div id="content" class="clearfix"> <?php if ($messages): ?>