|
|
Ligne 1 : |
Ligne 1 : |
| /** Le CSS placé ici sera appliqué à toutes les apparences. */ | | /** Le CSS placé ici sera appliqué à toutes les apparences. */ |
|
| |
| /* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="tableaustandard"
| |
| Tableaux selon la charte graphique. Ils sont centrés par défaut. */
| |
| /* reset de la classe wikitable du skin vector */
| |
| table.wikitable > tr > th, table.wikitable > tr > td,
| |
| table.wikitable > * > tr > th, table.wikitable > * > tr > td {
| |
| border: inherit;
| |
| padding: inherit;
| |
| }
| |
| table.wikitable > tr > th,
| |
| table.wikitable > * > tr > th {
| |
| background-color: #cfe4f2;
| |
| padding: 3px;
| |
| text-align: center;
| |
| }
| |
|
| |
| table.tableaustandard, table.wikitable {
| |
| max-width: 75%;
| |
| margin: 1em auto 1em auto;
| |
| border: 1px solid #aaa;
| |
| border-collapse: separate;
| |
| border-radius: 5px;
| |
| -moz-border-radius: 5px;
| |
| -webkit-border-radius: 5px;
| |
| background-color: #e4f0f7;
| |
| padding: 3px;
| |
| color: black;
| |
| }
| |
|
| |
| table.tableaustandard th, table.tableaustandard td, table.wikitable th, table.wikitable td {
| |
| border-radius: 3px;
| |
| -moz-border-radius: 3px;
| |
| -webkit-border-radius: 3px;
| |
| vertical-align: middle;
| |
| }
| |
|
| |
| table.tableaustandard th, table.wikitable th {
| |
| background-color: #cfe4f2;
| |
| padding: 3px;
| |
| text-align: center;
| |
| }
| |
|
| |
| table.tableaustandard td, table.wikitable td {
| |
| background-color: #fcfcfc;
| |
| padding: 5px;
| |
| }
| |
|
| |
| table.tableaustandard caption, table.wikitable caption {
| |
| margin-left: inherit;
| |
| margin-right: inherit;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* makeCollapsible */
| |
| .mw-collapsible-toggle {
| |
| font-weight: normal;
| |
| }
| |
|
| |
| /* Parfois, on veut tout centrer */
| |
| table.centre td {
| |
| text-align: center;
| |
| }
| |
|
| |
| /* Pour les fiches d'information (infoboxes), utiliser la classe ficheinfo en plus de tableaustandard */
| |
| table.ficheinfo {
| |
| float: right;
| |
| width: 30%;
| |
| max-width: 30%;
| |
| margin-left: 1em;
| |
| }
| |
|
| |
| table.ficheinfo th.entêtesection {
| |
| text-align: center;
| |
| }
| |
|
| |
| table.ficheinfo th {
| |
| text-align: right;
| |
| }
| |
|
| |
| table.ficheinfo td.illustration {
| |
| background-color: #ffffff;
| |
| text-align: center;
| |
| }
| |
|
| |
| table.ficheinfo td.précision {
| |
| background-color: #eef6fa;
| |
| text-align: center;
| |
| font-size: 0.9em;
| |
| }
| |
|
| |
| /* Pour les tableaux de navigation (bas d'articles), utiliser la classe navigation en plus de tableaustandard */
| |
| table.navigation {
| |
| clear: both;
| |
| max-width: 75%;
| |
| }
| |
|
| |
| table.navigation caption {
| |
| font-size: 1.1em;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| table.navigation td {
| |
| text-align: center;
| |
| font-size: 0.9em;
| |
| }
| |
|
| |
| /* Pour les badges (boîtes) utilisateur et projets, utiliser la classe badge en plus de tableaustandard */
| |
| table.badge {
| |
| width: 16rem;
| |
| max-width: 16rem;
| |
| margin-right: auto;
| |
| margin-left: 0;
| |
| margin-top: 0.1rem;
| |
| margin-bottom: 0.1rem;
| |
| padding: 0;
| |
| height: 4rem;
| |
| font-size: 0.9em;
| |
| }
| |
|
| |
| table.badge th {
| |
| width: 4rem;
| |
| }
| |
|
| |
| /* Pour les bandeaux. Ne pas utiliser la classe tableaustandard. */
| |
| ul.bandeau {
| |
| list-style-type: none;
| |
| list-style-image: none;
| |
| list-style-position: none;
| |
| margin: 1em auto;
| |
| width: 66%;
| |
| padding: 4px;
| |
| border: 4px double #b22222;
| |
| border-radius: 5px;
| |
| -moz-border-radius: 5px;
| |
| -webkit-border-radius: 5px;
| |
| }
| |
|
| |
| ul.bandeau li {
| |
| display: -ms-flexbox;
| |
| -ms-flex-align: center;
| |
| -ms-flex-pack: center;
| |
| display:flex;
| |
| align-items: center;
| |
| justify-content: center;
| |
| margin: 1px auto;
| |
| border-radius: 3px;
| |
| -moz-border-radius: 3px;
| |
| -webkit-border-radius: 3px;
| |
| background: #eaf4fd;
| |
| text-align: center;
| |
| padding: 0.5em;
| |
| }
| |
|
| |
| ul.bandeau li > span {
| |
| margin-left: 1em;
| |
| }
| |
|
| |
|
| |
| blockquote {
| |
| border-width:1px 0px;
| |
| border-style:dotted;
| |
| border-color:#b9cce4;
| |
| background-color: #f3f7fa;
| |
| font-style:italic;
| |
| padding-left:1em;
| |
| padding-right:1em;
| |
| }
| |
|
| |
| /* Avancement */
| |
| .avancementFaible, .avancementUrgent {
| |
| background: #ff0000;
| |
| background:-moz-linear-gradient(0deg, #FED0BF, #ff0000);
| |
| background:-webkit-gradient(linear, left top, right top, from(#FED0BF), to(#ff0000));
| |
| filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FED0BF', endColorstr='#ff0000');
| |
| -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FED0BF', endColorstr='#ff0000')";
| |
| }
| |
|
| |
| .avancementMoyen {
| |
| background: #FFA500;
| |
| background:-moz-linear-gradient(0deg, #FEE9BF, #FFA500);
| |
| background:-webkit-gradient(linear, left top, right top, from(#FEE9BF), to(#FFA500));
| |
| filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FEE9BF', endColorstr='#FFA500');
| |
| -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FEE9BF', endColorstr='#FFA500')";
| |
| }
| |
|
| |
| .avancementImportant {
| |
| background: #18c621;
| |
| background:-moz-linear-gradient(0deg, #D4FEE7, #18c621);
| |
| background:-webkit-gradient(linear, left top, right top, from(#D4FEE7), to(#18c621));
| |
| filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#D4FEE7', endColorstr='#18c621');
| |
| -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#D4FEE7', endColorstr='#18c621')";
| |
| }
| |
|
| |
|
| |
| /* boutons afficher-masquer */
| |
| button[value=afficher], button[value=masquer] {
| |
| display: none;
| |
| border: none;
| |
| background: none;
| |
| color: #0645ad;;
| |
| }
| |
|
| |
| button[value=afficher]:hover, button[value=masquer]:hover {
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| button[value=afficher]:active, button[value=masquer]:active {
| |
| color: #faa700;
| |
| }
| |
|
| |
| /* terme défini */
| |
| dfn {
| |
| font-style: normal;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| i dfn {
| |
| font-style: italic;
| |
| }
| |
|
| |
| /* Références */
| |
| .references {
| |
| font-size: 85%;
| |
| }
| |
|
| |
| /* make the Cite extension highlight clicked reference in blue */
| |
| ol.references li:target { background-color: #ddeeff; }
| |
| sup.reference:target { background-color: #ddeeff; }
| |
|
| |
|
| |
| /* changement de la génération affichée pour certaines sections (Localisations des Pokémon, par exemple) */
| |
| .permuter {
| |
| position: relative;
| |
| bottom: 3em;
| |
| }
| |
|
| |
| .affichage-actuel {
| |
| font-size: 1.8em;
| |
| font-weight: normal;
| |
| }
| |
|
| |
| /* cacher le titre de la page d'accueil. Et c'est la seule exception. */
| |
| body.action-view.page-Portail_Accueil #firstHeading {
| |
| position: absolute;
| |
| top: -5000px;
| |
| }
| |
|
| |
| /**
| |
| * Vector HeadAnchors
| |
| *
| |
| * @license http://krinkle.mit-license.org/
| |
| * @author Timo Tijhof, 2013–2014
| |
| */
| |
|
| |
| .mw-header {
| |
| /* core sets this to fix editsection link bunching, but they no longer float
| |
| * and we need this so that the anchors are visible */
| |
| overflow: visible;
| |
| }
| |
|
| |
| .mw-headline-headanchor {
| |
| padding-left: 17px;
| |
| margin-left: -17px;
| |
| background-size: 14px 12px;
| |
| background-repeat: no-repeat;
| |
| background-position: 0 50%;
| |
| }
| |
|
| |
| .mw-headline-headanchor,
| |
| .mw-headline-headanchor:hover,
| |
| .mw-headline-headanchor:visited {
| |
| color: inherit;
| |
| text-decoration: none;
| |
| }
| |
|
| |
| .mw-headline-headanchor:focus {
| |
| outline: 0;
| |
| }
| |
|
| |
| .mw-header:hover .mw-headline-headanchor,
| |
| .mw-headline-headanchor:target {
| |
| background-image: url('/images/c/c6/Ic%C3%B4ne_lien.png');
| |
| }
| |
|
| |
|
| |
| /* Portails */
| |
|
| |
| /*** Faire des lignes et des colonnes, sans tableaux ***/
| |
| .bloc-ligne {
| |
| display:-ms-flexbox;
| |
| display:flex;
| |
| -ms-flex-align: stretch;
| |
| align-items: stretch;
| |
| -ms-flex-pack: justify;
| |
| justify-content: space-between;
| |
| }
| |
|
| |
| .bloc-colonne {
| |
| display:-ms-flexbox;
| |
| display:flex;
| |
| -ms-flex-direction: column;
| |
| flex-direction: column;
| |
| -ms-flex-align: stretch;
| |
| align-items: stretch;
| |
| -ms-flex-pack: center;
| |
| justify-content: center;
| |
| }
| |
|
| |
| .bloc-liste {
| |
| display: -ms-flexbox;
| |
| display: flex;
| |
| -ms-flex-wrap: wrap;
| |
| flex-wrap: wrap;
| |
| }
| |
|
| |
| /*** Portails ***/
| |
| /* Général */
| |
| .portail-bloc {
| |
| border:2px solid #b9cce4;
| |
| margin-bottom: 0.5em;
| |
| padding: 0.8em;
| |
| }
| |
|
| |
| #mw-content-text > .portail-bloc:first-of-type {
| |
| border-radius: 8px 8px 0px 0px;
| |
| -moz-border-radius: 8px 8px 0px 0px;
| |
| -webkit-border-radius: 8px 8px 0px 0px;
| |
| }
| |
|
| |
| #mw-content-text > .portail-bloc:last-of-type {
| |
| border-radius: 0px 0px 8px 8px;
| |
| -moz-border-radius: 0px 0px 8px 8px;
| |
| -webkit-border-radius: 0px 0px 8px 8px;
| |
| }
| |
|
| |
|
| |
| #portail-partieprincipale .portail-miseenavant:last-of-type, #portail-miseenavantsecondaire .portail-bloc:last-of-type, #portail-categories .portail-bloccatégories:last-of-type {
| |
| position:relative;
| |
| }
| |
|
| |
| .lien-modification {
| |
| position:absolute;
| |
| right: 0;
| |
| bottom: 0;
| |
| font-size: small;
| |
| }
| |
|
| |
| .lien-modification a.external {
| |
| /* classe plainlinks */
| |
| background: transparent none repeat scroll 0% 0% !important;
| |
| padding: 0px !important;
| |
| }
| |
|
| |
| /* Section Présentation */
| |
| #portail-presentation {
| |
| text-align: center;
| |
| flex-wrap: wrap;
| |
| }
| |
|
| |
| #portail-introduction {
| |
| -ms-flex-positive: 1;
| |
| flex-grow: 1;
| |
| -ms-flex-preferred-size: 18rem;
| |
| flex-basis: 18rem;
| |
| }
| |
|
| |
| #portail-exploration {
| |
| -ms-flex-positive: 1;
| |
| flex-grow: 1;
| |
| -ms-flex-preferred-size: 9rem;
| |
| flex-basis: 9rem;
| |
| font-variant: small-caps;
| |
| margin: auto auto;
| |
| }
| |
|
| |
| #portail-illustration {
| |
| -ms-flex-item-align: start;
| |
| align-self: flex-start;
| |
| background: white;
| |
| width: 120px;
| |
| border-radius: 100px;
| |
| -moz-border-radius: 100px;
| |
| -webkit-border-radius: 100px;
| |
| border: solid 4px #b9cce4;
| |
| padding: 6px;
| |
| margin: 1em;
| |
| }
| |
|
| |
| /* Section Contributions */
| |
| #portail-contributions {
| |
| text-align: center;
| |
| padding: 0.1em 0.1em;
| |
| flex-wrap: wrap;
| |
| }
| |
|
| |
| #portail-contributions > div {
| |
| background-color:#eaf4fd;
| |
| margin: 0.1em;
| |
| -ms-flex-positive: 1;
| |
| flex-grow: 1;
| |
| line-height:2rem;
| |
| }
| |
|
| |
| #portail-contributions > div:first-child {
| |
| -ms-flex-positive: 1.3;
| |
| flex-grow: 1.3;
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* Section Mises en avant */
| |
| .portail-miseenavant {
| |
| width: 50%;
| |
| text-align: center;
| |
| }
| |
| #portail-partieprincipale > div:first-child {
| |
| -ms-flex-positive: 1;
| |
| flex-grow: 1;
| |
| }
| |
| .portail-miseenavant:first-of-type {
| |
| border-right: 2px dotted #DDDDF7;
| |
| }
| |
| .portail-miseenavant h3 {
| |
| margin-top: 1em;
| |
| }
| |
| .portail-miseenavant h3:first-of-type {
| |
| margin-top: 2em;
| |
| }
| |
|
| |
| #portail-miseenavantsecondaire {
| |
| width: 20rem;
| |
| text-align: center;
| |
| margin-left: 0.5em;
| |
| }
| |
|
| |
| #portail-miseenavantsecondaire > .portail-bloc {
| |
| -ms-flex-positive: 1;
| |
| flex-grow: 1;
| |
| background: #eaf4fd;
| |
| }
| |
|
| |
| /* Section Catégories */
| |
| .portail-bloccatégories {
| |
| -ms-flex-positive: 1;
| |
| flex-grow: 1;
| |
| -ms-flex-preferred-size: 18rem;
| |
| flex-basis: 18rem;
| |
| height: 5em;
| |
| background: #eaf4fd;
| |
| margin: 0.1em;
| |
| padding: 0.8em;
| |
| display: flex;
| |
| justify-content: space-between;
| |
| }
| |
|
| |
| .portail-bloccatégories > div {
| |
| margin-left: 1em;
| |
| flex-grow: 1;
| |
| }
| |
|
| |
| .portail-bloccatégories > div.floatleft {
| |
| max-width: 55px;
| |
| }
| |
|
| |
| #portail-categories {
| |
| padding: 0.1em 0.1em;
| |
| }
| |
|
| |
| /* fin Portail */
| |
|
| |
| /* Animation de capacité */
| |
| .run-animation {
| |
| cursor:pointer;
| |
| }
| |
|
| |
| /* Sensibilités Pokémon - coloration des remarques */
| |
| table.sensibilite li:target { background-color: #ddeeff; }
| |
|
| |
| /* À remplacer en cas d'autre solution - Sert à faire disparaître le cadre du haut des pages de modification */
| |
| .smw-editpage-help {
| |
| display: none;
| |
| }
| |
|
| |
| /* Limite de taille pour les images, utilisée sur le [[Modèle:Cellule Pokémon]] */
| |
| img.maxheight100px {
| |
| max-height: 100px;
| |
| width: auto;
| |
| }
| |
| img.maxwidth250px {
| |
| max-width: 250px;
| |
| height: auto;
| |
| }
| |
| img.maxwidth300px {
| |
| max-width: 300px;
| |
| height: auto;
| |
| }
| |
|
| |
| .miniature-type-2 {
| |
| max-height:30px;
| |
| max-width:60px;
| |
| height:auto;
| |
| width:auto;
| |
| min-width:30px;
| |
| }
| |
|
| |
| img.miniature_PDMDX {
| |
| max-height: 56px;
| |
| width: auto;
| |
| }
| |