Différences entre versions de « MediaWiki:Common.css »
		
		
		
		
		
		Sauter à la navigation
		Sauter à la recherche
		
				
		
		
	
|  (cite_crochet) |  (cite) | ||
| Ligne 23 : | Ligne 23 : | ||
| 	border: 1px dotted #0000ff; | 	border: 1px dotted #0000ff; | ||
| 	padding: .5em; | 	padding: .5em; | ||
| + | } | ||
| + | |||
| + | /* Références : éviter une trop grande réduction de taille de caractères | ||
| + |    dans certaines configurations. */ | ||
| + | .references small { | ||
| + | 	font-size: 1em !important; | ||
| } | } | ||
| Ligne 28 : | Ligne 34 : | ||
| .cite_crochet { | .cite_crochet { | ||
| 	display: none; | 	display: none; | ||
| + | } | ||
| + | |||
| + | /* Pour que « Note 1 » ne soit ni sécable, ni en gras, ni en italique. */ | ||
| + | sup.reference { | ||
| + | 	font-weight: normal; | ||
| + | 	font-style: normal; | ||
| + | 	white-space: nowrap; | ||
| + | } | ||
| + | |||
| + | /* Éviter d'obtenir un interlignage de taille variable. */ | ||
| + | .reference, | ||
| + | .exposant { | ||
| + | 	vertical-align: text-top; | ||
| + | 	position: relative; | ||
| + | 	font-size: .8em; | ||
| + | 	top: -5px; | ||
| + | } | ||
| + | |||
| + | .reference-text sup { | ||
| + | 	vertical-align: text-top; | ||
| + | 	position: relative; | ||
| + | 	font-size: 0.75em; | ||
| + | 	top: -0.1em; | ||
| + | } | ||
| + | .reference { | ||
| + | 	padding-left: 1px; | ||
| + | } | ||
| + | ol.references > li { | ||
| + | 	text-align: left; | ||
| + | } | ||
| + | |||
| + | small.cachelinks, | ||
| + | small.cachelinks a { | ||
| + | 	color: #36b; | ||
| + | } | ||
| + | |||
| + | /* Numérotations différentes des appels de notes. */ | ||
| + | .references-small.lower-alpha ol { | ||
| + | 	list-style-type: lower-alpha; | ||
| + | } | ||
| + | .references-small.lower-greek ol { | ||
| + | 	list-style-type: lower-greek; | ||
| + | } | ||
| + | .references-small.decimal ol { | ||
| + | 	list-style-type: decimal; | ||
| + | } | ||
| + | |||
| + | /* Répartition égale des références sur plusieurs colonnes : | ||
| + |    pas d'espace supplémentaire en haut de première colonne */ | ||
| + | .references-small ol { | ||
| + | 	margin-top: 0; | ||
| + | } | ||
| + | |||
| + | /* Mise en surbrillance de la note ou de l'ouvrage de référence cliqué | ||
| + |    pour faciliter la navigation (de en.wikipedia). */ | ||
| + | ol.references > li:target, | ||
| + | .ouvrage:target { /* Contenu de la note */ | ||
| + | 	background: #def; | ||
| + | } | ||
| + | sup.reference:target { /* Renvoi */ | ||
| + | 	background: #def; | ||
| + | } | ||
| + | |||
| + | /* cadre pour [[Modèle:Références nombreuses]] */ | ||
| + | .reference-cadre { | ||
| + | 	height: 25em; | ||
| + | 	overflow: auto; | ||
| + | 	padding: 3px; | ||
| + | 	border:1px solid #AAA; | ||
| } | } | ||
Version du 18 mars 2016 à 15:24
/* RETIRE LE TITRE DE LA PAGE PRINCIPALE */
body.page-Accueil #firstHeading {
   position: absolute;
   top: -5000px;
}
$wgHooks['SkinTemplateSetupPageCss'][] = 'wfHideVariousTabsFromAnonymous';
function wfHideVariousTabsFromAnonymous( &$hidetabcss ) {
	global $wgUser;
	if ( !$wgUser->isLoggedIn() ) {
		$hidetabcss .= 'li#ca-history, li#ca-viewsource, li#ca-edit, li#ca-talk, .vectorMenu { display: none; }';
	}
	return true;
}
/* STYLE UTILE POUR SOULIGNER LES CURSEURS D'AIDE */
span.aide {
	border-bottom: 1px dotted #0000ff;
}
div.aide {
	border: 1px dotted #0000ff;
	padding: .5em;
}
/* Références : éviter une trop grande réduction de taille de caractères
   dans certaines configurations. */
.references small {
	font-size: 1em !important;
}
/* Par défaut, cacher les crochets autour des notes. */
.cite_crochet {
	display: none;
}
/* Pour que « Note 1 » ne soit ni sécable, ni en gras, ni en italique. */
sup.reference {
	font-weight: normal;
	font-style: normal;
	white-space: nowrap;
}
/* Éviter d'obtenir un interlignage de taille variable. */
.reference,
.exposant {
	vertical-align: text-top;
	position: relative;
	font-size: .8em;
	top: -5px;
}
.reference-text sup {
	vertical-align: text-top;
	position: relative;
	font-size: 0.75em;
	top: -0.1em;
}
.reference {
	padding-left: 1px;
}
ol.references > li {
	text-align: left;
}
small.cachelinks,
small.cachelinks a {
	color: #36b;
}
/* Numérotations différentes des appels de notes. */
.references-small.lower-alpha ol {
	list-style-type: lower-alpha;
}
.references-small.lower-greek ol {
	list-style-type: lower-greek;
}
.references-small.decimal ol {
	list-style-type: decimal;
}
/* Répartition égale des références sur plusieurs colonnes :
   pas d'espace supplémentaire en haut de première colonne */
.references-small ol {
	margin-top: 0;
}
/* Mise en surbrillance de la note ou de l'ouvrage de référence cliqué
   pour faciliter la navigation (de en.wikipedia). */
ol.references > li:target,
.ouvrage:target { /* Contenu de la note */
	background: #def;
}
sup.reference:target { /* Renvoi */
	background: #def;
}
/* cadre pour [[Modèle:Références nombreuses]] */
.reference-cadre {
	height: 25em;
	overflow: auto;
	padding: 3px;
	border:1px solid #AAA;
}