MediaWiki:Common.css : Différence entre versions
Ligne 95 : | Ligne 95 : | ||
} | } | ||
− | /*palette de navigation*/ | + | //* 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]] */ | /* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */ | ||
Version du 22 août 2018 à 09:43
/* Le CSS placé ici sera appliqué à tous les habillages. */ table.navbox { background:#white; border:1px solid #AAA; clear:both; font-size:90%; margin:1em 0 0; padding:2px; text-align:center; width:100% } table.navbox th { background:#E8AB72;padding-left:1em;padding-right:1em; } table.navbox td.group { background:#FFED89; 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 } div.navbox_group { border:1px solid #aaaaaa;margin-top:15px } div.navbox_group table.navbox { border:0;margin:0 } .navboxToggle,.NavToggle { font-size:90%;font-weight:normal;float:right !important;min-width:6em } .collapseButton { float:right;font-weight:normal;margin-left:0.5em;text-align:right;width:auto } .navbox .collapseButton { width:6em } .mw-collapsible-toggle { font-weight:normal;text-align:right } .navbox .mw-collapsible-toggle { width:6em } .va-sourcebox { margin:0;border-collapse:collapse;font-size:11px;color:#584763;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 #AAA;border-bottom:1px solid #AAA;display:block;padding:2px 5px;float:left } //* 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; }