Différences entre versions de « MediaWiki:Common.css »
De Documentation Polaris
| Ligne 30 : | Ligne 30 : | ||
#toc { | #toc { | ||
| − | + | /* float: right; */ | |
| + | position: fixed; | ||
| + | top: 10ex; | ||
| + | right: 1em; | ||
padding: 0.5ex 1em; | padding: 0.5ex 1em; | ||
margin: 1ex 1em; | margin: 1ex 1em; | ||
Version du 4 juin 2014 à 14:03
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
background: #FFE4B2;
color: #000000;
}
.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
border-color: #FFE4B2;
}
/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
background: #FFAE00;
}
/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
background: #FFE4B2;
}
/* TOC */
#toc {
/* float: right; */
position: fixed;
top: 10ex;
right: 1em;
padding: 0.5ex 1em;
margin: 1ex 1em;
background: #FFE4B2;
font-size: 10pt;
}
#toc a {
color: #333;
}
#toc ul {
list-style-type: none;
}
#toc #toctitle h2 {
font-size: 11pt;
font-weight: bold;
margin: 1ex 0;
}
#toc .toctoggle { display: none; }