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

De Wikirouge
Aller à la navigation Aller à la recherche
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 3 : Ligne 3 :
 
.filehistory { font-size: 90%; }
 
.filehistory { font-size: 90%; }
 
.listfiles { font-size: 80%; }
 
.listfiles { font-size: 80%; }
 +
.mw-references-wrap {
 +
border-top: none!important;
 +
margin-top: 0!important;
 +
}
 +
div#catlinks { border: 1px solid gray; }
 +
div#catlinks a { color:black!important; }
 +
div#catlinks a:hover { background: #e0d6d6; }
  
 
/****************** Sidebar **********************/
 
/****************** Sidebar **********************/

Version du 6 novembre 2019 à 01:26

/* Le CSS placé ici affectera les utilisateurs de l’habillage Vector. */

.filehistory { font-size: 90%; }
.listfiles { font-size: 80%; }
.mw-references-wrap {
	border-top: none!important;
	margin-top: 0!important;
}
div#catlinks {	border: 1px solid gray; }
div#catlinks a { color:black!important; }
div#catlinks a:hover { background: #e0d6d6; }

/****************** Sidebar **********************/

#n-mainpage-description, #t-recentchangeslinked, #t-permalink, #t-info, #t-smwbrowselink { display: none; }
#p-logo { top: -135px; }

#p-navigation li a, #p-Rubriques li a { display: block; }
#p-navigation li a:hover, 
#p-Rubriques li a:hover { background-color: #e0d6d6; text-decoration: none; }
#p-navigation li a:before, 
#p-Rubriques li a:before { vertical-align: -52%; margin-right: 6px; }

#n-Info-sur-WikiRouge a:before { content: url(/nowiki/icones/Info.png); }
#n-randompage a:before { content: url(/nowiki/icones/Random.png); }
#n-Utiliser-le-wiki a:before { content: url(/nowiki/icones/Help.png); }

#p-Soutenir_WikiRouge li { display: inline-block; }
#p-Soutenir_WikiRouge li a { display: block; width: 25px; height: 25px; overflow: hidden; }
#p-Soutenir_WikiRouge li a:hover { opacity: 0.6; }
#n-Page-Facebook a:before { content: url(/nowiki/icones/Facebook.png); }
#n-Compte-Twitter a:before { content: url(/nowiki/icones/Twitter.png); }
#n-Faire-un-don a:before { content: url(/nowiki/icones/Don.png); }
#n-Th\.C3\.A9orie a:before { content: url(/nowiki/icones/Theorie.png); }
#n-Histoire a:before { content: url(/nowiki/icones/Histoire.png); }
#n-\.C3\.89conomie a:before { content: url(/nowiki/icones/Economie.png); }
#n-\.C3\.89cologie a:before { content: url(/nowiki/icones/Ecologie.png); }
#n-Pays a:before { content: url(/nowiki/icones/Pays.png); }
#n-Partis a:before { content: url(/nowiki/icones/Partis.png); }
#n-Socialistes a:before { content: url(/nowiki/icones/Socialistes.png); }
#n-Voir-toutes\.\.\. a:before { content: url(/nowiki/icones/Plus.png); }

#p-coll-print_export li { display: inline-block; }
#p-coll-print_export li a { display: block; width: 25px; height: 25px; overflow: hidden; }
#p-coll-print_export li a:hover { opacity: 0.6; }
#coll-create_a_book a:before { content: url(/nowiki/icones/Book.png); }
#coll-download-as-rl a:before { content: url(/nowiki/icones/PDF.png); }
#coll-download-as-odf a:before { content: url(/nowiki/icones/ODT.png); }
#t-print a:before { content: url(/nowiki/icones/Print.png); }

#p-tb #t-print { display: none; } /* cacher dans les pages spéciales */


/********* Page d'accueil (Main Page) **********/

.page-Accueil h1 { display: none; }

/* Pour la version mobile */
#mainpage table { 
	padding-top: 10px; 
	padding-bottom: 10px;
}
#mainpage table a { font-size:0.85em; }
#mainpage table table td { 
	padding-top : 0px ; 
	border: 1px solid black; 
	border-radius: 5px; 
}
#mainpage table table b { 
	display: block; 
	text-align: center; 
	text-transform: uppercase; 
	color: #A50000;
} 



/*********************************************/
/*********** Styles des modèles **************/


/* Modèle:Abréviation_discrète */ 
abbr.abbr { text-decoration: none!important; }

/* style "Modèle:Attention" */
.alerte { font-style: italic; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; background: #FF9C9C; }

/* style "Modèle:Désambiguation" */ 
.desambiguation { font-style: italic; }

/* [[Modèle:Nobr]] */
.nowrap { white-space: nowrap; }

/* Modèle:Article détaillé */ 

.loupe {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png");
	background-position: 2px 3px;
	background-repeat: no-repeat;
	line-height: 1.5em;
	text-indent: 23px;
	display: inline-block;
}
.bandeau-niveau-detail, 
.bandeau-section.bandeau-niveau-information {
	border-color: #e7e7e7;
	background-color: #fdfdfd;
}
div.bandeau-section { 
	display: block;
	font-size: 0.95em;
        border-style: solid;
	border-width: 1px 0;
	padding: 0.2em 0.5em 0.1em 0;
	margin: 0.3em 0 0.7em 2em;
}

/***** Infobox *****/

.infobox_v2 {
	background: #f9f9f9;
	color: #000;
	font-size: 90%;
	line-height: 1.2em;
	float: right;
	clear: right;
	margin: 0 0 0.5em 1em;
	width: 294px;
	border: 1px solid #aaa;
	border-spacing: 5px;
}
.infobox_v2 th {
	vertical-align: super;
	text-align: left;
}
.infobox_v2 .entete {
	height: 43px;
	vertical-align: middle;
	text-align: center;
	font-size: 140%;
	font-weight: bolder;
	line-height: 1.1em;
	color: #000;
}
/* Padding si pictogramme d'infobox, e.g. ".entete.foobar"
   Pas de pictogramme donc pas de padding sur ".entete.defaut" et ".entete"
   Possibilité de désactiver ce padding en ajoutant une classe "large" */
.infobox_v2 .entete:not(.defaut):not([class="entete"]):not(.large) {
	padding: 1px 48px;
}
/* Pour [[Modèle:Image et son]], etc. */
.infobox_v2 .media {
	height: 35px;
	vertical-align: middle;
	text-align: center;
	font-weight: bolder;
	color: #000;
}

/* Graphiques transparents d'en-têtes des Infobox */
.entete {
	background-position: right center;
	background-repeat: no-repeat;
}

.media.audio {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat left top;
}
.media.video {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat left top;
}

/* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */
div.NavFrame {
	padding: 2px;
	border: 1px #aaa;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavPic {
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	font-weight: bold;
	background: #efefef;
}
div.NavEnd {
	height: 0;
	clear: both;
}

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