MediaWiki:Common.css : Différence entre versions
m |
m (sourcebox) |
||
Ligne 144 : | Ligne 144 : | ||
.navbox .mw-collapsible-toggle { | .navbox .mw-collapsible-toggle { | ||
width: 6em; | width: 6em; | ||
+ | } | ||
+ | |||
+ | /* Template:Sourcebox */ | ||
+ | .va-sourcebox { | ||
+ | margin: 0; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 11px; | ||
+ | line-height: 16px; | ||
+ | } | ||
+ | |||
+ | .va-sourcebox th { | ||
+ | vertical-align: middle; | ||
+ | text-align: center; | ||
+ | padding: 0 5px; | ||
+ | } | ||
+ | |||
+ | .va-sourcebox td { | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .va-sourcebox td span { | ||
+ | border-top: 1px solid #000; | ||
+ | border-bottom: 1px solid #000; | ||
+ | display: block; | ||
+ | padding: 2px 5px; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | /* Printing */ | ||
+ | @media print { | ||
+ | .va-copybox, .va-sourcebox { | ||
+ | background: none; | ||
+ | background-color: transparent; | ||
+ | } | ||
} | } |
Version du 2 janvier 2014 à 14:32
/* Remplacements de couleurs (Par rapport à Wikipedia) */ /* #EEF => #EEEAE7 */ /* #CCF => #B6B6B4 */ /* #DDF => #DBD2CC */ /* BOÎTES DÉROULANTES */ /* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */ div.NavFrame { margin: 0; padding: 2px; border: 1px #AAA; text-align: center; border-collapse: collapse; font-size: 95%; } /* monobookocentré début */ div.NavFrame + div.NavFrame { border-top-style: hidden } div.NavPic { background: #FFF; margin: 0; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background: #EFEFEF; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } /* monobookocentré fin */ /* Styles de [[Modèle:Méta palette de navigation]] */ table.navbox { background: #F9F9F9; border: 1px solid #AAA; clear: both; font-size: 90%; margin: 1em 0 0; padding: 2px; text-align: center; width: 100%; } table.navbox th { background: #B6B6B4; padding-left: 1em; padding-right: 1em; } table.navbox td.group { background: #DBD2CC; vertical-align: middle; width: 150px; padding-left: 1em; padding-right: 1em; font-weight: bold; } table.navbox td.list { text-align: left } table.navbox td.even { background: #EEEAE7 } table.navbox td.banner { background: #DBD2CC; vertical-align: middle; padding-left: 1em; padding-right: 1em; } /* Modèle de palettes groupées, [[Modèle:Palette]] */ div.navbox_group { border: 1px solid #aaaaaa; margin-top: 15px; } div.navbox_group table.navbox { border: 0; margin: 0; } /* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */ .navboxToggle, .NavToggle { font-size: 90%; font-weight: normal; float: right !important; min-width: 6em; } /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in [[MediaWiki:Common.js]] are styled here so they can be customised. */ .collapseButton { /* @noflip */ float: right; font-weight: normal; /* @noflip */ margin-left: 0.5em; /* @noflip */ text-align: right; width: auto; } /* In navboxes, the show/hide button balances the v·d·e links from [[Template:Navbar]], so they need to be the same width. */ .navbox .collapseButton { width: 6em; } /* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; } .navbox .mw-collapsible-toggle { width: 6em; } /* Template:Sourcebox */ .va-sourcebox { margin: 0; border-collapse: collapse; font-size: 11px; line-height: 16px; } .va-sourcebox th { vertical-align: middle; text-align: center; padding: 0 5px; } .va-sourcebox td { padding: 0; } .va-sourcebox td span { border-top: 1px solid #000; border-bottom: 1px solid #000; display: block; padding: 2px 5px; float: left; } /* Printing */ @media print { .va-copybox, .va-sourcebox { background: none; background-color: transparent; } }