Différences entre versions de « MediaWiki:Common.css »
		
		
		
		
		
		Sauter à la navigation
		Sauter à la recherche
		
				
		
		
	
|  (cite_crochet) | |||
| Ligne 23 : | Ligne 23 : | ||
| 	border: 1px dotted #0000ff; | 	border: 1px dotted #0000ff; | ||
| 	padding: .5em; | 	padding: .5em; | ||
| + | } | ||
| + | |||
| + | /* Par défaut, cacher les crochets autour des notes. */ | ||
| + | .cite_crochet { | ||
| + | 	display: none; | ||
| } | } | ||
Version du 18 mars 2016 à 15:19
/* 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;
}
/* Par défaut, cacher les crochets autour des notes. */
.cite_crochet {
	display: none;
}