Différences entre versions de « MediaWiki:Common.css »
Sauter à la navigation
Sauter à la recherche
| Ligne 6 : | Ligne 6 : | ||
#firstHeading { | #firstHeading { | ||
| − | background: url('http://www.fraxion.com/wiki/images/ | + | background: url('http://www.fraxion.com/wiki/images/4/47/Entete_SIV.jpg') no-repeat center top / cover; |
background-position: 0px -254px; | background-position: 0px -254px; | ||
font-size: 180%; | font-size: 180%; | ||
| Ligne 13 : | Ligne 13 : | ||
margin: -1.5rem -1rem 0 -1rem; | margin: -1.5rem -1rem 0 -1rem; | ||
text-align: center; | text-align: center; | ||
| − | + | color:white; | |
} | } | ||
Version du 22 mars 2016 à 12:09
/* RETIRE LE TITRE DE LA PAGE PRINCIPALE */
body.page-Accueil #firstHeading {
position: absolute;
top: -5000px;
}
#firstHeading {
background: url('http://www.fraxion.com/wiki/images/4/47/Entete_SIV.jpg') no-repeat center top / cover;
background-position: 0px -254px;
font-size: 180%;
min-height: 280px;
font-family: 'Open Sans', Helvetica, sans-serif;
margin: -1.5rem -1rem 0 -1rem;
text-align: center;
color:white;
}
#firstHeading:before {
background: url('//upload.wikimedia.org/wikipedia/wikimania2015/5/5f/Wikimania_mx_15_color_no_text.svg') no-repeat center top;
background-size: 209px 182px;
color: #333;
content: "";
display: block;
font-size: 180%;
margin-top: 25px;
padding-top: 180px;
}
@media screen and (min-width: 982px) {
#firstHeading {
margin: -1.5rem -1.5rem 0 -1.5rem;
}
}
#firstHeading small {
color: #777;
display: block;
}
$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: 80%;
}
/* 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;
}
/* 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 th {
background: #ccf;
padding-left: 1em;
padding-right: 1em;
}
table.navbox td.group {
background: #ddf;
vertical-align: middle;
width: 150px;
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
}
table.navbox td.list {
text-align: left;
}
table.navbox td.even {
background: #eef;
}
table.navbox td.banner {
background: #ddf;
vertical-align: middle;
padding-left: 1em;
padding-right: 1em;
}
.navboxHidden {
display: none;
}
/* Modèle de palettes groupées, [[Modèle:Palette]]. */
div.navbox_group {
border: 1px solid #aaa;
margin-top: 15px;
}
div.navbox_group 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;
}