Difference between revisions of "MediaWiki:Common.css"
From iPi Docs
Line 26: | Line 26: | ||
} | } | ||
− | /* Config | + | /* Config panel on main page */ |
div.configPanel { | div.configPanel { | ||
vertical-align: top; | vertical-align: top; | ||
Line 35: | Line 35: | ||
vertical-align: top; | vertical-align: top; | ||
position: relative; | position: relative; | ||
+ | } | ||
+ | |||
+ | /* Header of config panel on main page */ | ||
+ | div.configPanelHeader { | ||
+ | margin: 3px 3px 12px 3px; | ||
+ | font-size: 120%; | ||
+ | font-weight: bold; | ||
+ | text-align: center; | ||
+ | color: #000; | ||
+ | padding: 0.2em 0.4em; | ||
} | } |
Revision as of 06:58, 16 October 2014
/* Dotted border around div with source code */ /* http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/ru#.D0.9C.D0.B5.D1.82.D0.BE.D0.B4_1:_CSS_.D1.84.D0.B0.D0.B9.D0.BB */ div.mw-geshi { padding: 1em; margin: 1em 0; border: 1px dashed #2f6fab; background-color: #f9f9f9; } /* No title on main page */ /* http://www.sciencemedianetwork.org/wiki/Mediawiki/Hiding_the_main_page_title */ body.page-Main_Page h1.firstHeading { display:none; } /* Editions notes on main page */ div.editionsNote { margin: 8px; font-size: 95%; border: 1px dashed #a3bfb1; color: #000066; padding: 0.2em 0.4em; text-align: right; position: absolute; bottom: 0; right: 0; left:0; } /* Config panel on main page */ div.configPanel { vertical-align: top; color: #000; padding: 8px; display: table-cell; width: 32%; vertical-align: top; position: relative; } /* Header of config panel on main page */ div.configPanelHeader { margin: 3px 3px 12px 3px; font-size: 120%; font-weight: bold; text-align: center; color: #000; padding: 0.2em 0.4em; }