Différences entre versions de « MediaWiki:Common.css »
Sauter à la navigation
Sauter à la recherche
| (125 versions intermédiaires par un autre utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
| − | / | + | #firstHeading { |
| − | + | background: url('http://www.fraxion.com/wiki/images/9/9f/Banniere_ent%C3%AAte.jpg') repeat right top / cover; | |
| − | + | background-position: 0px -254px; | |
| − | + | font-size: 180%; | |
| + | min-height: 180px; | ||
| + | margin: -1.5rem -1rem 0 -1rem; | ||
| + | text-align: center; | ||
| + | color:#FFFFFF; | ||
| + | font-weight:bold; | ||
| + | font-family:Georgia,serif; | ||
| + | text-shadow: 2px 2px #333333; | ||
| + | -webkit-print-color-adjust:exact; | ||
} | } | ||
| − | + | ||
| + | #firstHeading:before { | ||
| + | background: url('http://www.fraxion.com/wiki/images/0/0c/Logo_Fraxion_blanc.png') no-repeat center top; | ||
| + | background-size: 300px 125px; | ||
| + | color: #333; | ||
| + | content: ""; | ||
| + | display: block; | ||
| + | font-size: 180%; | ||
| + | margin-top: 4px; | ||
| + | padding-top: 120px; | ||
| + | -webkit-print-color-adjust:exact; | ||
| + | } | ||
| + | |||
| + | @media screen and (min-width: 982px) { | ||
| + | #firstHeading { | ||
| + | margin: -1.5rem -1.5rem 0 -1.5rem; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | #firstHeading small { | ||
| + | color: #777; | ||
| + | display: block; | ||
| + | } | ||
| + | |||
| + | |||
| + | #siteSub { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | #contentSub { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | /* remove Toolbox */ | ||
| + | #p-tb { display:none !important; } | ||
| + | |||
| + | $wgHooks['SkinTemplateSetupPageCss'][] = 'wfHideVariousTabsFromAnonymous'; | ||
function wfHideVariousTabsFromAnonymous( &$hidetabcss ) { | function wfHideVariousTabsFromAnonymous( &$hidetabcss ) { | ||
| Ligne 14 : | Ligne 58 : | ||
return true; | return true; | ||
| + | } | ||
| + | |||
| + | |||
| + | /* 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; | ||
| + | } | ||
| + | |||
| + | /* [[Modèle:Nobr]] */ | ||
| + | .nowrap { | ||
| + | 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; | ||
| + | } | ||
| + | |||
| + | /* Mise en forme de l'introduction des pages. */ | ||
| + | .intro { | ||
| + | font-family:Times, serif; | ||
| + | font-size:16pt; | ||
| + | font-style:normal; | ||
| + | color:white; | ||
| + | text-shadow:2px 2px #333333; | ||
| + | line-height:1.3em; | ||
| + | padding:1.5em; | ||
| + | padding-right:5em; | ||
| + | margin-bottom:1em; | ||
| + | border-style:solid; | ||
| + | border-color:#035adb; | ||
| + | border-width:1px; | ||
| + | border-radius: 10px; | ||
| + | background-color:#035adb; | ||
| + | background-position: right center; | ||
| + | background-repeat: no-repeat; | ||
| + | background-image: url("http://www.fraxion.com/wiki/images/d/d0/Icone_information.png"); | ||
| + | -webkit-print-color-adjust:exact; | ||
| + | } | ||
| + | |||
| + | /* Mise en forme de la balise <th></th> pour les tableaux de la page [[Configurations]] */ | ||
| + | .configurations th { | ||
| + | font-family:monospace,Courier; | ||
| + | font-weight:normal; | ||
| + | text-align:left !important; | ||
| + | } | ||
| + | |||
| + | /* Article connexe */ | ||
| + | |||
| + | .article_connexe td { | ||
| + | border-top:1px solid #fc3; | ||
| + | border-bottom:1px solid #fc3; | ||
| + | background-color: #fef6e7; | ||
} | } | ||
Version actuelle datée du 8 septembre 2022 à 11:04
#firstHeading {
background: url('http://www.fraxion.com/wiki/images/9/9f/Banniere_ent%C3%AAte.jpg') repeat right top / cover;
background-position: 0px -254px;
font-size: 180%;
min-height: 180px;
margin: -1.5rem -1rem 0 -1rem;
text-align: center;
color:#FFFFFF;
font-weight:bold;
font-family:Georgia,serif;
text-shadow: 2px 2px #333333;
-webkit-print-color-adjust:exact;
}
#firstHeading:before {
background: url('http://www.fraxion.com/wiki/images/0/0c/Logo_Fraxion_blanc.png') no-repeat center top;
background-size: 300px 125px;
color: #333;
content: "";
display: block;
font-size: 180%;
margin-top: 4px;
padding-top: 120px;
-webkit-print-color-adjust:exact;
}
@media screen and (min-width: 982px) {
#firstHeading {
margin: -1.5rem -1.5rem 0 -1.5rem;
}
}
#firstHeading small {
color: #777;
display: block;
}
#siteSub {
display: none;
}
#contentSub {
display: none;
}
/* remove Toolbox */
#p-tb { display:none !important; }
$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;
}
/* 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;
}
/* [[Modèle:Nobr]] */
.nowrap {
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;
}
/* Mise en forme de l'introduction des pages. */
.intro {
font-family:Times, serif;
font-size:16pt;
font-style:normal;
color:white;
text-shadow:2px 2px #333333;
line-height:1.3em;
padding:1.5em;
padding-right:5em;
margin-bottom:1em;
border-style:solid;
border-color:#035adb;
border-width:1px;
border-radius: 10px;
background-color:#035adb;
background-position: right center;
background-repeat: no-repeat;
background-image: url("http://www.fraxion.com/wiki/images/d/d0/Icone_information.png");
-webkit-print-color-adjust:exact;
}
/* Mise en forme de la balise <th></th> pour les tableaux de la page [[Configurations]] */
.configurations th {
font-family:monospace,Courier;
font-weight:normal;
text-align:left !important;
}
/* Article connexe */
.article_connexe td {
border-top:1px solid #fc3;
border-bottom:1px solid #fc3;
background-color: #fef6e7;
}