Différences entre versions de « MediaWiki:Common.css »
De Wiki Latitude-Cartagène
| Ligne 89 : | Ligne 89 : | ||
padding-top: 1.5em; | padding-top: 1.5em; | ||
background-position: center center; | background-position: center center; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Version du 5 décembre 2020 à 12:05
.yellow, yellow > *, .yellow * { color: gold !important; }
.black, black > *, .black * { color: black !important; }
/**** VECTOR TABS & VECTOR MENU ****/
/* sizing and font styles for non-active tabs */
div#mw-head div.vectorMenu h3 span,
div#mw-head div.vectorTabs span a {
font-weight: bold;
text-transform: uppercase;
color: #FFD700;
height: 1em;
padding: 0;
font-size: 100%;
}
/* allow space for the vectormenu arrows */
div#mw-head div.vectorMenu h3 span {
padding-right: 16px;
vertical-align: top;
}
div#mw-head div.vectorMenu h3 span:after {
top: 0;
}
/* padding/sizing and aesthetic styles for the background of the tabs */
div#mw-head div.vectorMenu h3,
div#mw-head div.vectorTabs ul li span {
background: #000;
border-radius: 2px;
padding: 0.5em;
margin: 0 0.25em;
height: 1em;
line-height: 1;
overflow: visible;
}
/* styles for the currently selected tab and on-hover dropdown menus */
div#mw-head div.vectorMenu:hover h3 span,
div#mw-navigation div.vectorMenu div.menu li a,
div#pageWrapper div#mw-navigation li.selected a {
color: #fff;
}
div#mw-head div.vectorMenu:hover h3,
div#mw-head div.vectorTabs ul li.selected span,
div.vectorMenu div.menu {
background: #777;
}
/* clear border-radius on the bottom of the dropdown menu on hover */
div#mw-head div.vectorMenu:hover h3 {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* reset backgrounds on various parts of the dropdown menu to allow custom styles to show */
div.vectorMenu:hover ul,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs ul li.selected {
background: transparent;
}
/* position the dropdown menu to properly align with the bottom of the tabs */
div.vectorMenu div.menu {
top: 2em;
border: 0;
padding: 0.25em;
}
/* clean up links in dropdown menu */
div#mw-navigation div.vectorMenu div.menu li a {
padding: 0.3em;
font-size: 90%;
display: block;
height: auto;
margin: auto;
}
/* style watch button to fit inside tabs */
div#mw-head #p-views #ca-unwatch.icon a,
div#mw-head #p-views #ca-watch.icon a {
background-size: 1.5em;
height: 0;
margin: -0.25em 0;
padding-top: 1.5em;
background-position: center center;
}