MediaWiki:Common.css

Une page de Wikiquote, le recueil des citations libres.

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages.

__FORCETOC__

/* ASPECT GÉNÉRAL */

/* [[MediaWiki:Tagline]] */

/* Affiche un texte sous le titre de l'article */
body.ns-0 #siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}

/* ... sauf sur la page d'accueil. */
body.page-Accueil #siteSub {
    display: none !important;
}


/* STYLE DES CITATIONS */

/* Citations en VO en italique, sauf pour les personnages. */
span.original { font-style: italic; }
span.original i { font-style: normal; }
span.original span.personnage { font-style: normal; }

/* Petites majuscules. */
span.personnage { font-variant: small-caps; }

/* Références des citations */
div.ref { font-size: 90%; background-color: #f5f5f5; }
div.badref { font-size: 90%; background-color: #FFB2B2; padding-left: 0.5em; }


/* STYLES DIVERS */

/* ****************************************************************************************** */
/*                                   Tableau gris = Wikitable.                                */
/*  1/ Tableau entier  ** 2/ Bg Lignes de titre : <th> ou !  **3/ Border des lignes th et td  */
/* ****************************************************************************************** */

table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.wikitable th {
  background: #f2f2f2;
  text-align: center;
}
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}
/* Style des chiffres romains */
.romain
{
  text-transform:lowercase;
  font-variant:small-caps;
}

/* Style des indications de langue */
.langue
{
  font-family: monospace;
  font-weight:bold;
  font-size:small;
  cursor:help;
}

/* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */
div.NavFrame {
	padding: 2px;
	border: 1px #aaa;
	text-align: center;
	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;
}

/* Styles de [[Modèle:Méta palette de navigation]]. */
table.navbox {
	background: #f9f9f9;
	border: 1px solid #aaa;
	clear: both;
	font-size: 89%;
	margin: 1em 0 0;
	padding: 2px;
	text-align: center;
	width: 100%;
}
table.navbox-subgroup {
	background: transparent;
	border: 0;
	margin: -3px;
	padding: 0;
	text-align: center;
	width: calc(100% + 6px);
}
th.navbox-title {
	background: #ccf;
	padding-left: 1em;
	padding-right: 1em;
}
th.navbox-group {
	background: #ddf;
	vertical-align: middle;
	width: 150px;
	padding-left: 1em;
	padding-right: 1em;
}
th.navbox-group + td.navbox-list,
table.navbox-subgroup td.navbox-list {
	text-align: left;
}
td.navbox-even {
	background: #f0f0ff;
}
table.navbox-subgroup td.navbox-even {
	background: transparent;
}
td.navbox-banner {
	background: #ddf;
	vertical-align: middle;
	padding-left: 1em;
	padding-right: 1em;
}
tr.navboxHidden {
	display: none;
}
@media (max-width: 981px) {
	td.navbox-image {
		display: none;
	}
}

/* Modèle de palettes groupées, [[Modèle:Palette]]. */
div.navbox-container {
	border: 1px solid #aaa;
	margin-top: 1em;
}
div.navbox-container table.navbox {
	border: 0;
	margin: 0;
}

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

/* Styles pour [[Modèle:Section déroulante début]] */
.client-js .titre-section-deroulante {
	padding-left: 18px;
}
.client-js .mw-made-collapsible .titre-section-deroulante,
.client-js .mw-made-collapsible .titre-section-deroulante.mw-collapsible-toggle-expanded {
	background:
		url("//upload.wikimedia.org/wikipedia/commons/0/03/MediaWiki_Vector_skin_right_arrow.svg") -9999px -9999px no-repeat,
		url("//upload.wikimedia.org/wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg") left center no-repeat;
}
.client-js .mw-made-collapsible .titre-section-deroulante.mw-collapsible-toggle-collapsed {
	background:
		url("//upload.wikimedia.org/wikipedia/commons/0/03/MediaWiki_Vector_skin_right_arrow.svg") left center no-repeat,
		url("//upload.wikimedia.org/wikipedia/commons/f/f1/MediaWiki_Vector_skin_action_arrow.svg") -9999px -9999px no-repeat;
}


/* MESSAGES SYSTÈME */

/* Standardisation de quelques messages systèmes :
 * class="mw-alerte" : bandeaux d'alerte comme [[MediaWiki:Editinginterface]].
 * class="mw-toolbox" : boîtes à outils comme sur [[MediaWiki:Sp-contributions-footer]].
 */

/* Bandeau jaune / rouge en cas de retard de la base de données. */
div.mw-lag-warn-normal, div.mw-lag-warn-high {
 text-align:left !important;
 width:50% !important;
}

/* suppression du message avertissant du lag de 1 seconde dans la liste de suivi*/
.mw-lag-warn-normal {
 display:none;
}

/* Messages d'alerte */
.mw-alerte {
 width:100%;
 clear:both;
 background:#FAEBD7;
 border:2px solid #FF8C00;
}

/* Boîtes à outils */
.mw-toolbox { /* monobookocentré */
 font-size:90%;
 background:#F8F8F8;
 border:1px solid #B8B8B8;
 padding:.25em 1em .25em 1em;
 clear:both;
}

/* APPARENCE DES MESSAGES D'ALERTE  */
.alerte { 
   border: 1px solid #aaaaaa; 
   background-color: #FFFFE0; 
   width: 80%; 
   margin: 0 auto 1em auto; 
   padding: .5em; 
   font-style: italic;
 }

/* </pre>
== Historique en couleurs ==
<pre> */
 
.history-user-normal { background-color: #DBDBFF;}
.history-user-sysop { background-color: #FFFF99;}
.history-user-bot { background-color: #C6FFB3;}
.history-user-ip { background-color: #FFCCCC;}

/* </pre>
== Sous-titre ([[Modèle:Sous-titre]]) ==
<pre> */

h1 #sous_titre_h1 {
display:block;
font-size: 0.7em;
margin: -0.1em 0 0 0.5em;
}

/* Balise abbr discrète */
abbr {
	color: inherit;
}
abbr.abbr {
	border-bottom: 0;  /* IE, Chrome */
	text-decoration: none;  /* Firefox */
}
a abbr {
	cursor: inherit;
}