Différences entre versions de « MediaWiki:Common.css »

De Wiki Latitude-Cartagène
Aller à : navigation, rechercher
Ligne 114 : Ligne 114 :
 
:link.stub { color: #772233; }
 
:link.stub { color: #772233; }
 
*/
 
*/
 
/* style the labels */
 
ul.side-nav label {
 
    background: #517398;
 
    color: #FFD700;
 
    padding: .25em .5em;
 
}
 

Version du 5 décembre 2020 à 12:54


.yellow, yellow > *, .yellow * { color: gold !important; }
.black, black > *, .black * { color: black !important; }
.h3, h3 > *, .h3 * { color: gold !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: #FF4500;
	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: #FFD700;
}

div#mw-head div.vectorMenu:hover h3,
div#mw-head div.vectorTabs ul li.selected span,
div.vectorMenu div.menu {
	background: #000000;
}

/* 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;
        color: gold;
}


/* change background of unselected tabs */
#p-cactions ul li a { background: #FFD700; }

/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }

/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }

/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }

/* standard link colors
:link { color: #0000FF; }
:link:visited { color: #7F007F; }
:link:active, :link.new { color: #FF0000; }
:link.interwiki, :link.external { color: #3366BB; }
:link.stub { color: #772233; }
*/