MediaWiki:Common.css : Différence entre versions
Ligne 112 : | Ligne 112 : | ||
float: right !important; | float: right !important; | ||
min-width: 6em; | 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; | ||
} | } |
Version du 1 janvier 2014 à 19:43
/* Le CSS placé ici sera appliqué à tous les habillages. */ /* 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: #CCF; padding-left: 1em; padding-right: 1em; } table.navbox td.group { background: #DDF; 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: #EEF } table.navbox td.banner { background: #DDF; 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; }