« MediaWiki:Common.css » : différence entre les versions
De Wiki Dragon Quest
Aucun résumé des modifications |
Annulation des modifications 97667 de Tigali (discussion) Balise : Annulation |
||
| (55 versions intermédiaires par 2 utilisateurs non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/** Met en italique les redirections dans Special:Allpages et Special:Watchlist **/ | /** Met en italique les redirections dans Special:Allpages et Special:Watchlist **/ | ||
.allpagesredirects, .watchlistredir { font-style: italic; } | .allpagesredirects, .watchlistredir { font-style: italic; } | ||
/* | /* | ||
| Ligne 51 : | Ligne 8 : | ||
.box_accueil { | .box_accueil { | ||
padding-top: | padding-top: 3px; | ||
margin-top: 10px; | margin-top: 10px; | ||
border-radius: 3px; | border-radius: 3px; | ||
| Ligne 58 : | Ligne 15 : | ||
.box_accueil * { | .box_accueil * { | ||
padding: | padding: 7px; | ||
} | } | ||
.box_accueil .header { | .box_accueil .header { | ||
padding: | padding:0.4em; | ||
border-radius: 3px 3px 0 0; | border-radius: 3px 3px 0 0; | ||
color: white; | color: white; | ||
text-align: center; | text-align: center; | ||
background: | background: #49C6DE; | ||
font-size: | font-size:150%; | ||
margin-left: 3px; | |||
margin-right: 3px; | |||
} | |||
#header_portails { | |||
background: #7CDE54; | |||
} | } | ||
| Ligne 85 : | Ligne 39 : | ||
#actu { | #actu { | ||
width: 65%; | |||
flex-grow: 1; | flex-grow: 1; | ||
} | } | ||
| Ligne 91 : | Ligne 45 : | ||
#autre { | #autre { | ||
flex-grow: 1; | flex-grow: 1; | ||
width: 30%; | |||
} | } | ||
#flex_portails { /*AFFECTÉ PAR UNE MEDIAQUERY*/ | #flex_portails { /*AFFECTÉ PAR UNE MEDIAQUERY*/ | ||
display: flex; | display: flex; | ||
flex-flow: row | flex-flow: row wrap; | ||
} | |||
#portails #flex_portails { | |||
justify-content: center; | |||
} | } | ||
#flex_portails p { | #flex_portails p { | ||
flex-grow: 1; | flex-grow: 1; | ||
} | } | ||
| Ligne 115 : | Ligne 74 : | ||
#actu { | #actu { | ||
margin-right: | margin-right: 8px; | ||
background-color: # | background-color: #DAF9FF; | ||
} | |||
#autre { | |||
background-color: #EDFCFF; | |||
} | } | ||
#partenariats { | #partenariats { | ||
background-color: # | background-color: #DAF9FF; | ||
} | |||
#partenariats #flex_partenariats { | |||
padding-right:40px; | |||
padding-left:40px; | |||
} | } | ||
#portails { | #portails { | ||
background-color: # | background-color: #E4FFD0; | ||
} | } | ||
| Ligne 139 : | Ligne 107 : | ||
display:flex; | display:flex; | ||
flex-flow: column nowrap; | flex-flow: column nowrap; | ||
} | |||
#actu { | |||
width: 100%; | |||
} | |||
#autre { | |||
width: 100%; | |||
flex-grow: 1; | |||
} | } | ||
} | } | ||
| Ligne 274 : | Ligne 250 : | ||
} | } | ||
.cobjet { | |||
background: #D1EA45; | |||
} | |||
.captitude { | |||
background: #32E5FA; | |||
} | |||
. | .cequipement { | ||
background: #B2DCDD; | |||
} | } | ||
. | .carme { | ||
background: #DEA493; | |||
} | |||
. | .cattribut { | ||
background: #D21E02; | |||
} | } | ||
. | .cmerch { | ||
background: #6120AF; | |||
} | } | ||
/*Trucs à XFusio*/ | /*Trucs à XFusio*/ | ||
| Ligne 409 : | Ligne 373 : | ||
table.cville th { | table.cville th { | ||
background: #DFCEA0; | background: #DFCEA0; | ||
} | |||
table.clivre th { | |||
background: #B8B88D; | |||
} | |||
table.cobjet th { | |||
background: #D1EA45; | |||
} | |||
table.captitude th { | |||
background: #32E5FA; | |||
} | |||
table.cequipement th { | |||
background: #B2DCDD; | |||
} | |||
table.carme th { | |||
background: #DEA493; | |||
} | |||
table.cattribut th { | |||
background: #D21E02; | |||
} | |||
table.cmerch th { | |||
background: #6120AF; | |||
} | |||
/*---------------------------------------PURGATOIRE----------------------------------*/ | |||
/*trucs obs à garder ou jeter, c'est selon*/ | |||
/* | |||
* Style par défaut des infoboxes utilisant InfoboxBuilder (ajouts) | |||
* À retirer dès que ces styles ne seront plus utilisés ! | |||
*/ | |||
.default-infobox-main-image img { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
.default-infobox-main-image-caption, .default-infobox-image-caption { text-align: center; } | |||
.default-infobox-split-label-left, .default-infobox-split-label-right { | |||
color: #3C3C3C; | |||
text-align:center; | |||
} | |||
.default-infobox-split-value-left, .default-infobox-split-value-right { text-align: center; } | |||
.default-infobox-footer { | |||
padding-top: 0.75rem; | |||
text-align: center; | |||
} | |||
/*pourtour des infoboxes, legacy*/ | |||
.infoboxb { | |||
font-size: 89%; | |||
width: 300px; | |||
background-color: #EFEFEF; | |||
border: solid 1px #888; | |||
float: right; | |||
margin-left: 10px; | |||
} | |||
/* | |||
* PAGE D'ACCUEIL | |||
* Ancienne version | |||
*/ | |||
/* Boîte de accueil */ | |||
.fond-boite { | |||
background-image: url('//wikidragonquest.fr/images/8/8a/Fond_carte.png'); | |||
border: 2px solid black; | |||
padding: 7px; | |||
margin-top: 6px; | |||
} | |||
/* En-tête de boîte de l'accueil */ | |||
.fond-entete { | |||
background-image: url('//wikidragonquest.fr/images/9/94/Fond-entete.png'); | |||
font-size: 150%; | |||
color: white; | |||
border-radius: 0.1em; | |||
padding: 5px 10px; | |||
} | |||
/* Tour de boîte de l'accueil */ | |||
.tour-boite { | |||
border: 2px solid #BBB; | |||
margin-top: 6px; | |||
padding: 7px; | |||
background-color: #333; | |||
} | |||
.maincategories { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
} | |||
/* Possibilité de ne pas mettre le titre sous une vidéo - on n'a plus de vidéos pour l'instant après l'indépendance */ | |||
.no-caption .article-thumb figcaption { | |||
display:none; | |||
} | } | ||