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

De Wiki Latitude-Cartagène
Aller à : navigation, rechercher
Ligne 133 : Ligne 133 :
  
 
h1, h2, h3, h4, h5 {
 
h1, h2, h3, h4, h5 {
#mw-panel.collapsible-nav .portal h3 a {
+
.mediawiki div#mw-panel.collapsible-nav .portal h3 a {
 
  color: gold;
 
  color: gold;
 
}
 
}

Version du 4 décembre 2020 à 16:48

/**** VECTOR TABS & VECTOR MENU ****/

/* 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: #FFD700;
	border-radius: 2px;
	padding: 0.5em;
	margin: 0 0.25em;
	height: 1em;
	line-height: 1;
	overflow: visible;
}

/* 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%;
}


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


/* sizing and aesthetic styles for search input */
div#simpleSearch #searchInput {
	color: #FFD700;
	padding: 0.5em 0;
	height: 1em;
	box-sizing: content-box;
	text-overflow: ellipsis;
}

/* styling for the search placeholder text */
div#simpleSearch #searchInput::placeholder {
	color: #000000;
	opacity: 0.7;
	font-style: italic;
}


.mediawiki .suggestions-results,
.mediawiki .suggestions-special {
	border-color: #000000;
}

.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions-result,
.suggestions-special .special-label,
.suggestions-special .special-query {
	color: #000000;
}

/* background and text color for hover-highlighted suggestion */
.mediawiki .suggestions-result-current,
.mediawiki .suggestions-result-current .special-label,
.mediawiki .suggestions-result-current .special-query {
	background: #FFFFFF;
	color: #000000;
}

/* highlight color for matched characters in search suggestions */
.mediawiki .suggestions-result .highlight {
	color: #000000;
}


/* 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: #FFD700;
}




/DEFINITION DES COULEUR - DO NOT TOUCH!!!/
.yellow, yellow > *, .yellow * { color: gold !important; }
.black, black > *, .black * { color: black !important; }







/**** SIDEBAR ****/
/* style the background of the sidebar section headers */
.mediawiki div#mw-panel div.portal h3 {
	font-size: 80%;
	padding: 0.5em;
	background-color: #FFD700;
	border-radius: 2px;
}

/* text styles for sidebar headers */
.mediawiki div#mw-panel div.portal h3,
div#pageWrapper div#mw-panel h3 a {
	text-transform: uppercase;
	font-weight: bold;
	color: #FFD700;
}


/* switch arrow image on collapsible sidebar headers */
.mediawiki div#mw-panel.collapsible-nav div.portal h3 {
	padding-left:calc(16px + 0.5em);
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23fff%22/%3E %3C/svg%3E");
	background-position: 0.5em center;
}



h1, h2, h3, h4, h5 {
.mediawiki div#mw-panel.collapsible-nav .portal h3 a {
 color: gold;
}