« MediaWiki:Common.css » : différence entre les versions
Apparence
mAucun résumé des modifications Balise : Révocation manuelle |
+Wikitable; +Roundtable |
||
| (7 versions intermédiaires par 2 utilisateurs non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/* | /* +++++ Wikitable +++++ */ | ||
@ | |||
.wikitable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #AAA solid; | |||
border-collapse: collapse; | |||
empty-cells:show; | |||
} | |||
.wikitable th, | |||
.wikitable td { | |||
border: 1px #AAA solid; | |||
padding: 0.3em; | |||
} | |||
.wikitable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | |||
/* +++++ Special adjustments +++++ */ | |||
.nogrid th, | |||
.nogrid td { | |||
border: none; | |||
} | |||
.float-left { | |||
float: left; | |||
clear: left; | |||
} | |||
.float-right { | |||
float: right; | |||
clear: right; | |||
margin: 1em 0 1em 1em; | |||
} | |||
.centered { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
.toptextcells td { | |||
vertical-align: top; | |||
} | |||
/* +++++ Roundtable +++++ */ | |||
.roundtable { | |||
border:2px solid #ccc; | |||
-moz-border-radius:0.5em; | |||
border-radius:0.5em; | |||
background:#fff; | |||
} | |||
.roundtable th, | |||
.roundtable td { | |||
border-radius:0.5em; | |||
-moz-border-radius:0.5em; | |||
padding:0.1em 0.5em; | |||
} | |||
.roundtable td { | |||
background-color:#ffffff; | |||
border: 0; | |||
} | |||
.roundtable.wiki { | |||
background-color:rgb(242,247,255); | |||
} | |||
.roundtable.wiki th { | |||
background: rgb(230,238,255); | |||
} | |||
.roundtable.wiki, .roundtable.wiki td { | |||
border-color: rgb(172,201,230) | |||
} | |||
.roundtable.gris { | |||
background-color:rgb(220,220,220); | |||
} | |||
.roundtable.gris th { | |||
background-color:rgb(220,220,220); | |||
} | |||
.roundtable.gris td { | |||
background-color:rgb(220,220,220); | |||
} | |||
.roundtable.grey tr { | |||
background-color:rgb(220,220,220); | |||
} | |||
.roundtable tr.gris td { | |||
background-color:rgb(220,220,220); | |||
} | |||
.roundtable tr.highlight td { | |||
background-color:rgb(255,250,205); | |||
} | |||
.roundtable tr.filler td { | |||
background-color:rgb(199,221,181); | |||
} | |||
.roundtable.personnage { | |||
background-color:rgb(255,247,230); | |||
border-color:rgb(255,197,74); | |||
} | |||
.roundtable.personnage th { | |||
background-color:rgb(255,233,185); | |||
} | |||
.roundtable.anime { | |||
background-color:rgb(235,244,250); | |||
border-color:rgb(100,176,217); | |||
} | |||
.roundtable.anime th, tr.anime td { | |||
background-color:rgb(184,219,237); | |||
} | |||
.roundtable.filler { | |||
background-color:rgb(236,247,227); | |||
border-color:rgb(145,206,102); | |||
} | |||
.roundtable.filler th, tr.filler td { | |||
background-color:rgb(189,221,166); | |||
} | |||
.roundtable.film { | |||
background-color:rgb(254,230,203); | |||
border-color:rgb(253,151,38); | |||
} | |||
.roundtable.film th, tr.film td { | |||
background-color:rgb(254,200,139); | |||
} | |||
.roundtable.manga { | |||
background-color:rgb(237,224,209); | |||
border-color:rgb(180,131,71); | |||
} | |||
.roundtable.manga th, tr.manga td { | |||
background-color:rgb(205,171,128); | |||
} | |||
.roundtable.stories { | |||
background-color:rgb(238,238,238); | |||
border-color:rgb(140,140,140); | |||
} | |||
.roundtable.stories th, tr.stories td { | |||
background-color:rgb(209,209,209); | |||
} | |||
.roundtable.ztt { | |||
background-color:rgb(206,229,255); | |||
border-color:rgb(86,172,203); | |||
} | |||
.roundtable.ztt th, tr.ztt td { | |||
background-color:rgb(117,177,234); | |||
} | |||
.roundtable.wps { | |||
background-color:rgb(206,229,255); | |||
border-color:rgb(86,172,203); | |||
} | |||
.roundtable.wps th, tr.wps td { | |||
background-color:rgb(117,177,234); | |||
} | |||
.roundtable.hanzawa { | |||
background-color:rgb(244,241,195); | |||
border-color:rgb(216,187,0); | |||
} | |||
.roundtable.hanzawa th, tr.hanzawa td { | |||
background-color:rgb(242,213,0); | |||
} | |||
.roundtable.kid { | |||
background-color:rgb(249,233,227); | |||
border-color:rgb(214,120,88); | |||
} | |||
.roundtable.kid th, tr.kid td { | |||
background-color:rgb(233,181,163); | |||
} | |||
.roundtable.yaiba { | |||
background-color:rgb(255,220,222); | |||
border-color:rgb(238,29,35); | |||
} | |||
.roundtable.yaiba th, tr.yaiba td { | |||
background-color:rgb(255,130,132); | |||
} | |||
/* Distribution of the left and right boxes for desktop and mobile PCs */ | |||
.portail-gauche { | |||
float: left; | |||
width: 58%; | |||
} | |||
.portail-droite { | |||
float: right; | |||
width: 42%; | |||
} | |||
.portail-gauche-inner { | |||
padding-right: 1rem; | |||
} | |||
/* Structure of the main page */ | |||
.accueil-contenu { | |||
margin: 0.4em -1% 0.4em 0; | |||
display: flex; | |||
flex-flow: wrap; | |||
overflow: hidden; /*be kind to ie10 and browsers that don't support flexbox */ | |||
} | |||
/* Removes the page name on the main page */ | |||
body.action-view.page-ConanWiki_Hauptseite #firstHeading { | |||
position: absolute; | |||
top: -5000px; | |||
} | |||
body.page-ConanWiki_Hauptseite .wbc-editpage { | |||
display: none; | |||
} | |||
/* Adjustments for the new main page 2017 */ | |||
#accueil_2017_en-tete { | |||
margin: auto; | |||
box-shadow: 0 0 .3rem #999; | |||
padding: auto 1rem; | |||
background: #D8E8FF; /* Changed to light blue */ | |||
background: -moz-linear-gradient(top, #fff, #D8E8FF); /* Changed to light blue */ | |||
background: -webkit-linear-gradient(top, #fff, #D8E8FF); /* Changed to light blue */ | |||
background: -o-linear-gradient(top, #fff, #D8E8FF); /* Changed to light blue */ | |||
background: linear-gradient(to bottom, #fff, #D8E8FF); /* Changed to light blue */ | |||
border: 1px solid #999; | |||
clear: both; | |||
} | |||
#accueil_bandeau_2017 .bloc-titre { | |||
display: inline; | |||
display: inline-block; | |||
margin: auto auto auto 14rem; | |||
text-align: center; | |||
line-height: 1.8; | |||
color: #457; | |||
} | |||
#accueil_bandeau_2017 .sous-titre { | |||
margin: 0; | |||
padding: 0; | |||
font-size: 110%; | |||
font-family: Sans-serif; | |||
} | |||
.bouton_accueil_bandeau_2017 h2.titre-wikipedia { | |||
margin: 0; | |||
padding: 0; | |||
border: none; | |||
font-size: 200%; | |||
font-weight: bold; | |||
color: #457; | |||
font-family: 'Open Sans', Sans-serif; | |||
} | |||
#accueil-contenu .accueil_2017_cadre, | |||
#accueil-pied .accueil_2017_cadre { | |||
display: flow-root; | |||
box-shadow: 0 0 .3rem #999; | |||
padding: 1.2rem; | |||
margin: 1rem 0 1.6rem 0; | |||
clear: both; | |||
background-color: #D8E8FF; /* Changed to light blue */ | |||
border: 1px solid; | |||
} | |||
#accueil-contenu .accueil_2017_titres, | |||
#accueil-pied .accueil_2017_titres { | |||
font-variant:small-caps; | |||
letter-spacing:.01em; | |||
display:block; | |||
border-bottom: solid 0.2rem #112A46; | |||
margin: -0.4rem 0 0.5rem; | |||
} | |||
#accueil-contenu .accueil_2017_pied, | |||
#accueil-pied .accueil_2017_pied { | |||
padding:1.3em 0 0; | |||
font-size:85%; | |||
text-align:right; | |||
} | |||
.list-wiki { | |||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
gap: 1em; | |||
font-size: 90%; | |||
color: #868686; | |||
text-align: center; | |||
padding-top: 1rem; | |||
} | |||
@media (max-width: 768px) { | |||
.list-wiki { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | |||
.list-wiki ul { | |||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
Dernière version du 7 février 2026 à 19:38
/* +++++ Wikitable +++++ */
.wikitable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #AAA solid;
border-collapse: collapse;
empty-cells:show;
}
.wikitable th,
.wikitable td {
border: 1px #AAA solid;
padding: 0.3em;
}
.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* +++++ Special adjustments +++++ */
.nogrid th,
.nogrid td {
border: none;
}
.float-left {
float: left;
clear: left;
}
.float-right {
float: right;
clear: right;
margin: 1em 0 1em 1em;
}
.centered {
margin-left: auto;
margin-right: auto;
}
.toptextcells td {
vertical-align: top;
}
/* +++++ Roundtable +++++ */
.roundtable {
border:2px solid #ccc;
-moz-border-radius:0.5em;
border-radius:0.5em;
background:#fff;
}
.roundtable th,
.roundtable td {
border-radius:0.5em;
-moz-border-radius:0.5em;
padding:0.1em 0.5em;
}
.roundtable td {
background-color:#ffffff;
border: 0;
}
.roundtable.wiki {
background-color:rgb(242,247,255);
}
.roundtable.wiki th {
background: rgb(230,238,255);
}
.roundtable.wiki, .roundtable.wiki td {
border-color: rgb(172,201,230)
}
.roundtable.gris {
background-color:rgb(220,220,220);
}
.roundtable.gris th {
background-color:rgb(220,220,220);
}
.roundtable.gris td {
background-color:rgb(220,220,220);
}
.roundtable.grey tr {
background-color:rgb(220,220,220);
}
.roundtable tr.gris td {
background-color:rgb(220,220,220);
}
.roundtable tr.highlight td {
background-color:rgb(255,250,205);
}
.roundtable tr.filler td {
background-color:rgb(199,221,181);
}
.roundtable.personnage {
background-color:rgb(255,247,230);
border-color:rgb(255,197,74);
}
.roundtable.personnage th {
background-color:rgb(255,233,185);
}
.roundtable.anime {
background-color:rgb(235,244,250);
border-color:rgb(100,176,217);
}
.roundtable.anime th, tr.anime td {
background-color:rgb(184,219,237);
}
.roundtable.filler {
background-color:rgb(236,247,227);
border-color:rgb(145,206,102);
}
.roundtable.filler th, tr.filler td {
background-color:rgb(189,221,166);
}
.roundtable.film {
background-color:rgb(254,230,203);
border-color:rgb(253,151,38);
}
.roundtable.film th, tr.film td {
background-color:rgb(254,200,139);
}
.roundtable.manga {
background-color:rgb(237,224,209);
border-color:rgb(180,131,71);
}
.roundtable.manga th, tr.manga td {
background-color:rgb(205,171,128);
}
.roundtable.stories {
background-color:rgb(238,238,238);
border-color:rgb(140,140,140);
}
.roundtable.stories th, tr.stories td {
background-color:rgb(209,209,209);
}
.roundtable.ztt {
background-color:rgb(206,229,255);
border-color:rgb(86,172,203);
}
.roundtable.ztt th, tr.ztt td {
background-color:rgb(117,177,234);
}
.roundtable.wps {
background-color:rgb(206,229,255);
border-color:rgb(86,172,203);
}
.roundtable.wps th, tr.wps td {
background-color:rgb(117,177,234);
}
.roundtable.hanzawa {
background-color:rgb(244,241,195);
border-color:rgb(216,187,0);
}
.roundtable.hanzawa th, tr.hanzawa td {
background-color:rgb(242,213,0);
}
.roundtable.kid {
background-color:rgb(249,233,227);
border-color:rgb(214,120,88);
}
.roundtable.kid th, tr.kid td {
background-color:rgb(233,181,163);
}
.roundtable.yaiba {
background-color:rgb(255,220,222);
border-color:rgb(238,29,35);
}
.roundtable.yaiba th, tr.yaiba td {
background-color:rgb(255,130,132);
}
/* Distribution of the left and right boxes for desktop and mobile PCs */
.portail-gauche {
float: left;
width: 58%;
}
.portail-droite {
float: right;
width: 42%;
}
.portail-gauche-inner {
padding-right: 1rem;
}
/* Structure of the main page */
.accueil-contenu {
margin: 0.4em -1% 0.4em 0;
display: flex;
flex-flow: wrap;
overflow: hidden; /*be kind to ie10 and browsers that don't support flexbox */
}
/* Removes the page name on the main page */
body.action-view.page-ConanWiki_Hauptseite #firstHeading {
position: absolute;
top: -5000px;
}
body.page-ConanWiki_Hauptseite .wbc-editpage {
display: none;
}
/* Adjustments for the new main page 2017 */
#accueil_2017_en-tete {
margin: auto;
box-shadow: 0 0 .3rem #999;
padding: auto 1rem;
background: #D8E8FF; /* Changed to light blue */
background: -moz-linear-gradient(top, #fff, #D8E8FF); /* Changed to light blue */
background: -webkit-linear-gradient(top, #fff, #D8E8FF); /* Changed to light blue */
background: -o-linear-gradient(top, #fff, #D8E8FF); /* Changed to light blue */
background: linear-gradient(to bottom, #fff, #D8E8FF); /* Changed to light blue */
border: 1px solid #999;
clear: both;
}
#accueil_bandeau_2017 .bloc-titre {
display: inline;
display: inline-block;
margin: auto auto auto 14rem;
text-align: center;
line-height: 1.8;
color: #457;
}
#accueil_bandeau_2017 .sous-titre {
margin: 0;
padding: 0;
font-size: 110%;
font-family: Sans-serif;
}
.bouton_accueil_bandeau_2017 h2.titre-wikipedia {
margin: 0;
padding: 0;
border: none;
font-size: 200%;
font-weight: bold;
color: #457;
font-family: 'Open Sans', Sans-serif;
}
#accueil-contenu .accueil_2017_cadre,
#accueil-pied .accueil_2017_cadre {
display: flow-root;
box-shadow: 0 0 .3rem #999;
padding: 1.2rem;
margin: 1rem 0 1.6rem 0;
clear: both;
background-color: #D8E8FF; /* Changed to light blue */
border: 1px solid;
}
#accueil-contenu .accueil_2017_titres,
#accueil-pied .accueil_2017_titres {
font-variant:small-caps;
letter-spacing:.01em;
display:block;
border-bottom: solid 0.2rem #112A46;
margin: -0.4rem 0 0.5rem;
}
#accueil-contenu .accueil_2017_pied,
#accueil-pied .accueil_2017_pied {
padding:1.3em 0 0;
font-size:85%;
text-align:right;
}
.list-wiki {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1em;
font-size: 90%;
color: #868686;
text-align: center;
padding-top: 1rem;
}
@media (max-width: 768px) {
.list-wiki {
grid-template-columns: repeat(2, 1fr);
}
}
.list-wiki ul {
line-height: inherit;
list-style: none none;
margin: 0;
padding: 0;
}