« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
.infobox { | .infobox { | ||
padding: 5px; | |||
width: 25em; | |||
background: #f9f9f9; | |||
border: 1px solid #aaa; | |||
clear: right; | |||
float: right; | |||
font-size: 0.9em; | |||
line-height: 1.4; | |||
margin: 0 0 0.5em 1em; | |||
max-width: 325px; | |||
word-wrap: break-word | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
display: table; | |||
padding: 1px; | |||
height: 45px; | |||
width: 100%; | |||
font-weight: bold; | |||
text-align: center; | |||
color: #000000; | |||
background: #54994C; | |||
} | } | ||
| Ligne 27 : | Ligne 27 : | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
margin: 0.5em 0.5em 0.5em 0.5em; | |||
padding: 0.2em; | padding: 0.2em; | ||
background-color: #5c76be; | background-color: #5c76be; | ||
| Ligne 34 : | Ligne 34 : | ||
.infobox-LO { | .infobox-LO { | ||
font-size: smaller; | |||
font-style: italic; | |||
margin: 0.5em 0; | |||
} | } | ||
.infobox-subtitle-biography { | .infobox-subtitle-biography { | ||
font-weight: bold; | |||
text-align: center; | |||
line-height: 1.1; | |||
margin: 0 0 5px 0; | |||
padding: 4px; | |||
background-color: #5c76be; | |||
} | } | ||
.infobox-caption { | .infobox-caption { | ||
text-align: center; | |||
font-size: smaller; | |||
margin-top: 1em; | |||
margin-bottom: 1em; | |||
} | } | ||
.infobox-séparateur { | .infobox-séparateur { | ||
padding: 0.5em; | |||
border-top: 1px solid; | |||
border-bottom: 1px solid; | |||
font-weight: bold; | |||
text-align: center; | |||
line-height: 1.1; | |||
margin: 0.5em 0 0.5em 0; | |||
background: #EBEBEB; | |||
color: #333; | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | |||
border: #333; | |||
border-style: solid; | |||
border-width: 1px; | |||
padding: 0, 5em; | |||
} | } | ||
.infobox-center { | .infobox-center { | ||
text-align: center; | |||
} | } | ||
.infobox-left { | .infobox-left { | ||
text-align: left; | |||
} | } | ||
.infobox-right { | .infobox-right { | ||
text-align: right; | |||
} | } | ||
| Ligne 90 : | Ligne 90 : | ||
.infobox-table th { | .infobox-table th { | ||
text-align: left; | |||
vertical-align: top; | |||
width: 10em; | |||
} | } | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | |||
text-align: left; | |||
} | } | ||
| Ligne 105 : | Ligne 105 : | ||
.infobox-list { | .infobox-list { | ||
align: center; | |||
} | } | ||
.infobox-list-left { | .infobox-list-left { | ||
align: center; | |||
text-align: center; | |||
float: left; | |||
width: 45%; | |||
} | } | ||
.infobox-list-right { | .infobox-list-right { | ||
align: center; | |||
text-align: center; | |||
float: right; | |||
width: 45%; | |||
} | } | ||
.mw-image-border .mw-file-element { | .mw-image-border .mw-file-element { | ||
border: 1px solid #eaecf0 | |||
} | } | ||
figure { | figure { | ||
display: table; | |||
text-align: center; | |||
border-collapse: collapse; | |||
line-height: 0; | |||
margin: 0.2em; | |||
clear: right; | |||
float: right | |||
} | } | ||
| Ligne 146 : | Ligne 146 : | ||
.infobox-container { | .infobox-container { | ||
float: right; | |||
clear: right; | |||
width: 33%; | |||
margin-left: 10px; | |||
} | } | ||
audio { | audio { | ||
width: -webkit-fill-available; | |||
height: 20px; | |||
} | } | ||
.row { | .row { | ||
content: ""; | |||
display: table; | |||
clear: both; | |||
} | } | ||
.column { | .column { | ||
float: left; | |||
width: 50%; | |||
padding: 10px; | |||
} | } | ||
.infobox_v3 .navbar { | .infobox_v3 .navbar { | ||
display: none; | |||
} | } | ||
.infobox_v3 p.bloc, | .infobox_v3 p.bloc, | ||
.infobox_v3 table caption { | .infobox_v3 table caption { | ||
background-color: #eaecf0 !important; | |||
color: #222 !important; | |||
} | } | ||
div.infobox_v3 { | div.infobox_v3 { | ||
padding: 10px; | |||
width: 25em; | |||
background: #ffffff; | |||
clear: right; | |||
float: right; | |||
font-size: 0.9em; | |||
line-height: 1.4; | |||
margin: 1em 1em 0.5em 1em; | |||
max-width: 325px; | |||
word-wrap: break-word; | |||
box-shadow: 0 0 .2rem #999; | |||
border: 0px; | |||
} | } | ||
.infobox_v3 table { | .infobox_v3 table { | ||
padding: 0; | |||
margin: 0 0 15px; | |||
} | } | ||
.infobox_v3 .entete { | .infobox_v3 .entete { | ||
padding: 10px; | |||
margin-top: -10px; | |||
margin-bottom: 5px; | |||
margin-right: -10px; | |||
margin-left: -10px; | |||
} | } | ||
.infobox_v3 th[scope="row"], | .infobox_v3 th[scope="row"], | ||
.infobox_v3 td { | .infobox_v3 td { | ||
padding-left: 2px; | |||
padding-right: 2px; | |||
} | } | ||
.infobox_v3 .images { | .infobox_v3 .images { | ||
padding: 0 !important; | |||
border-top-left-radius: 0px; | |||
border-top-right-radius: 0px; | |||
} | } | ||
.infobox_v3 .images img { | .infobox_v3 .images img { | ||
border-top-left-radius: 0px; | |||
border-top-right-radius: 0px; | |||
height: auto; | |||
max-width: 320px; | |||
width: 100%; | |||
} | } | ||
.infobox_v3 p.legend { | .infobox_v3 p.legend { | ||
background: #FFF; | |||
color: #54525d; | |||
font-size: 0.9em; | |||
margin: 0; | |||
padding: 3px 6px 12px; | |||
text-align: left; | |||
} | } | ||
.infobox_v3 p.legend { | .infobox_v3 p.legend { | ||
background: #FFF; | |||
color: #54525d; | |||
} | } | ||
.infobox_v3 p.legend a { | .infobox_v3 p.legend a { | ||
color: #54525d; | |||
text-align: center; | |||
} | } | ||
.infobox_v3 .navbar { | .infobox_v3 .navbar { | ||
display: none; | |||
} | } | ||
.infobox_v3 p.bloc, | .infobox_v3 p.bloc, | ||
.infobox_v3 table caption { | .infobox_v3 table caption { | ||
background-color: #eaecf0 !important; | |||
color: #222 !important; | |||
} | } | ||
| Ligne 260 : | Ligne 260 : | ||
.infobox_top_border { | .infobox_top_border { | ||
border-top: 1px solid #aaa; | |||
border-left: 1px solid #aaa; | |||
border-right: 1px solid #aaa; | |||
width: 25em; | |||
background: #f9f9f9; | |||
line-height: 1.4; | |||
margin: 0 0 0.5em 1em; | |||
max-width: 327px; | |||
word-wrap: break-word; | |||
clear: right; | |||
float: right; | |||
} | } | ||
.infobox_bottom_border { | .infobox_bottom_border { | ||
background: #f9f9f9; | |||
border-bottom: 1px solid #aaa; | |||
width: 100%; | |||
max-width: 100%; | |||
float: right; | |||
} | } | ||
.infobox_header_blank { | .infobox_header_blank { | ||
padding: 0.5em; | |||
clear: right; | |||
font-size: 1.2em; | |||
margin: 0.5em 0.5em 0.5em 0.5em; | |||
font-weight: bold; | |||
text-align: center; | |||
background: #dfedff; | |||
} | } | ||
.Infobox_country_heraldry { | .Infobox_country_heraldry { | ||
padding: 0.5em; | |||
clear: right; | |||
font-size: 1.2em; | |||
margin: 0.5em 0.5em 0.5em 0.5em; | |||
font-weight: bold; | |||
text-align: center; | |||
color: #000000; | |||
background: #54994c99; | |||
} | } | ||
.infobox_separator { | .infobox_separator { | ||
padding: 0.5em; | |||
border-top: 1px solid; | |||
border-bottom: 1px solid; | |||
font-weight: bold; | |||
text-align: center; | |||
line-height: 1.1; | |||
margin: 0.5em 0 0.5em 0; | |||
background: #EBEBEB; | |||
color: #333; | |||
} | } | ||
/*=====Liste des headers=====*/ | |||
.header { | .header { | ||
| Ligne 333 : | Ligne 335 : | ||
background-image: url(https://wiki.alakihel.ovh/images/c/c0/Pictogram_compas_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/c/c0/Pictogram_compas_102x45.png); | ||
} | } | ||
.header_biography_hero_PJ { | .header_biography_hero_PJ { | ||
background-color: #DDD5C9; | background-color: #DDD5C9; | ||
| Ligne 390 : | Ligne 393 : | ||
.border-line-heropnj { | .border-line-heropnj { | ||
color: #ADA9E0; | color: #ADA9E0; | ||
} | |||
.header_biography_PNJ { | .header_biography_PNJ { | ||
| Ligne 406 : | Ligne 409 : | ||
.border-line-evil { | .border-line-evil { | ||
color: #39414d; | color: #39414d; | ||
} | |||
.header_city { | .header_city { | ||
| Ligne 412 : | Ligne 415 : | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | ||
} | } | ||
.header_geography { | .header_geography { | ||
background-color: #915B5B; | background-color: #915B5B; | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | ||
} | } | ||
.header_place { | .header_place { | ||
background-color: #a7b0a799; | background-color: #a7b0a799; | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | ||
} | } | ||
.header_race { | .header_race { | ||
background-color: #9f571899; | background-color: #9f571899; | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png); | ||
} | } | ||
.header_ethnicity { | .header_ethnicity { | ||
background-color: #a1730099; | background-color: #a1730099; | ||
| Ligne 429 : | Ligne 436 : | ||
} | } | ||
.header_organization { | .header_organization { | ||
background-color: #9d943ccc; | background-color: #9d943ccc; | ||
| Ligne 434 : | Ligne 442 : | ||
} | } | ||
.header_item { | .header_item { | ||
background-color: #9f262699; | background-color: #9f262699; | ||
| Ligne 439 : | Ligne 448 : | ||
} | } | ||
.header_event { | .header_event { | ||
background-color: #10c4b899; | background-color: #10c4b899; | ||
| Ligne 444 : | Ligne 454 : | ||
} | } | ||
/*=====Liste des Subheaders=====*/ | |||
.subheader { | .subheader { | ||
| Ligne 452 : | Ligne 464 : | ||
padding: 4px; | padding: 4px; | ||
} | } | ||
.subheader_general { | .subheader_general { | ||
background: #4652adcc; | background: #4652adcc; | ||
} | } | ||
.subheader_country { | .subheader_country { | ||
background: #54994ccc; | background: #54994ccc; | ||
} | } | ||
.subheader_biography_hero_PJ { | .subheader_biography_hero_PJ { | ||
background: #DBDDC9;; | background: #DBDDC9; | ||
; | |||
} | } | ||
| Ligne 468 : | Ligne 484 : | ||
.subheader_biography_PNJ { | .subheader_biography_PNJ { | ||
background: #D3DAA3;; | background: #D3DAA3; | ||
; | |||
} | } | ||
.subheader_biography_evil { | .subheader_biography_evil { | ||
background: #3B394D;; | background: #3B394D; | ||
; | |||
color: #FFFFFF; | color: #FFFFFF; | ||
} | } | ||
| Ligne 479 : | Ligne 497 : | ||
background: #9d2ebc88; | background: #9d2ebc88; | ||
} | } | ||
.subheader_geography { | .subheader_geography { | ||
background: #DB8877; | background: #DB8877; | ||
} | } | ||
.subheader_place { | .subheader_place { | ||
background: #a7b0accc; | background: #a7b0accc; | ||
} | } | ||
.subheader_race { | .subheader_race { | ||
background: #9f571ccc; | background: #9f571ccc; | ||
} | } | ||
.subheader_ethnicity { | .subheader_ethnicity { | ||
background: #a1730ccc; | background: #a1730ccc; | ||
} | } | ||
.subheader_organization { | .subheader_organization { | ||
background-color: #9d933c82; | background-color: #9d933c82; | ||
} | } | ||
.subheader_item { | .subheader_item { | ||
background: #9f262ccc; | background: #9f262ccc; | ||
} | } | ||
.subheader_event { | .subheader_event { | ||
background: #10c4bccc; | background: #10c4bccc; | ||
} | } | ||
Version du 18 août 2024 à 17:28
.infobox {
padding: 5px;
width: 25em;
background: #f9f9f9;
border: 1px solid #aaa;
clear: right;
float: right;
font-size: 0.9em;
line-height: 1.4;
margin: 0 0 0.5em 1em;
max-width: 325px;
word-wrap: break-word
}
.infobox-title {
display: table;
padding: 1px;
height: 45px;
width: 100%;
font-weight: bold;
text-align: center;
color: #000000;
background: #54994C;
}
.infobox-subtitle {
font-weight: bold;
text-align: center;
margin: 0.5em 0.5em 0.5em 0.5em;
padding: 0.2em;
background-color: #5c76be;
}
.infobox-LO {
font-size: smaller;
font-style: italic;
margin: 0.5em 0;
}
.infobox-subtitle-biography {
font-weight: bold;
text-align: center;
line-height: 1.1;
margin: 0 0 5px 0;
padding: 4px;
background-color: #5c76be;
}
.infobox-caption {
text-align: center;
font-size: smaller;
margin-top: 1em;
margin-bottom: 1em;
}
.infobox-séparateur {
padding: 0.5em;
border-top: 1px solid;
border-bottom: 1px solid;
font-weight: bold;
text-align: center;
line-height: 1.1;
margin: 0.5em 0 0.5em 0;
background: #EBEBEB;
color: #333;
}
.infobox-image {
text-align: center;
border: #333;
border-style: solid;
border-width: 1px;
padding: 0, 5em;
}
.infobox-center {
text-align: center;
}
.infobox-left {
text-align: left;
}
.infobox-right {
text-align: right;
}
.infobox-table {}
.infobox-table th {
text-align: left;
vertical-align: top;
width: 10em;
}
.infobox-table td {
vertical-align: top;
text-align: left;
}
.infobox-lined {}
.infobox-2-boxes {}
.infobox-list {
align: center;
}
.infobox-list-left {
align: center;
text-align: center;
float: left;
width: 45%;
}
.infobox-list-right {
align: center;
text-align: center;
float: right;
width: 45%;
}
.mw-image-border .mw-file-element {
border: 1px solid #eaecf0
}
figure {
display: table;
text-align: center;
border-collapse: collapse;
line-height: 0;
margin: 0.2em;
clear: right;
float: right
}
.border-line {
border-top-style: solid;
border-width: 2px;
height: 1px;
margin: 5px 0.5em;
}
.infobox-container {
float: right;
clear: right;
width: 33%;
margin-left: 10px;
}
audio {
width: -webkit-fill-available;
height: 20px;
}
.row {
content: "";
display: table;
clear: both;
}
.column {
float: left;
width: 50%;
padding: 10px;
}
.infobox_v3 .navbar {
display: none;
}
.infobox_v3 p.bloc,
.infobox_v3 table caption {
background-color: #eaecf0 !important;
color: #222 !important;
}
div.infobox_v3 {
padding: 10px;
width: 25em;
background: #ffffff;
clear: right;
float: right;
font-size: 0.9em;
line-height: 1.4;
margin: 1em 1em 0.5em 1em;
max-width: 325px;
word-wrap: break-word;
box-shadow: 0 0 .2rem #999;
border: 0px;
}
.infobox_v3 table {
padding: 0;
margin: 0 0 15px;
}
.infobox_v3 .entete {
padding: 10px;
margin-top: -10px;
margin-bottom: 5px;
margin-right: -10px;
margin-left: -10px;
}
.infobox_v3 th[scope="row"],
.infobox_v3 td {
padding-left: 2px;
padding-right: 2px;
}
.infobox_v3 .images {
padding: 0 !important;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.infobox_v3 .images img {
border-top-left-radius: 0px;
border-top-right-radius: 0px;
height: auto;
max-width: 320px;
width: 100%;
}
.infobox_v3 p.legend {
background: #FFF;
color: #54525d;
font-size: 0.9em;
margin: 0;
padding: 3px 6px 12px;
text-align: left;
}
.infobox_v3 p.legend {
background: #FFF;
color: #54525d;
}
.infobox_v3 p.legend a {
color: #54525d;
text-align: center;
}
.infobox_v3 .navbar {
display: none;
}
.infobox_v3 p.bloc,
.infobox_v3 table caption {
background-color: #eaecf0 !important;
color: #222 !important;
}
/* Crédits d'auteurs: [[Projet:Charte graphique/Articles/Infoboxes]] */
.infobox_top_border {
border-top: 1px solid #aaa;
border-left: 1px solid #aaa;
border-right: 1px solid #aaa;
width: 25em;
background: #f9f9f9;
line-height: 1.4;
margin: 0 0 0.5em 1em;
max-width: 327px;
word-wrap: break-word;
clear: right;
float: right;
}
.infobox_bottom_border {
background: #f9f9f9;
border-bottom: 1px solid #aaa;
width: 100%;
max-width: 100%;
float: right;
}
.infobox_header_blank {
padding: 0.5em;
clear: right;
font-size: 1.2em;
margin: 0.5em 0.5em 0.5em 0.5em;
font-weight: bold;
text-align: center;
background: #dfedff;
}
.Infobox_country_heraldry {
padding: 0.5em;
clear: right;
font-size: 1.2em;
margin: 0.5em 0.5em 0.5em 0.5em;
font-weight: bold;
text-align: center;
color: #000000;
background: #54994c99;
}
.infobox_separator {
padding: 0.5em;
border-top: 1px solid;
border-bottom: 1px solid;
font-weight: bold;
text-align: center;
line-height: 1.1;
margin: 0.5em 0 0.5em 0;
background: #EBEBEB;
color: #333;
}
/*=====Liste des headers=====*/
.header {
background-position-x: right;
background-repeat: no-repeat;
background-size: contain;
clear: right;
font-size: 1.2em;
padding: 0.5em;
margin: 0.5em 0.5em 0.5em 0.5em;
font-weight: bold;
text-align: center;
color: #000000;
}
.header_country {
background-color: #54994c99;
background-image: url(https://wiki.alakihel.ovh/images/c/c0/Pictogram_compas_102x45.png);
}
.header_biography_hero_PJ {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_vardahil {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/3/36/Pictogram_vardahil.png);
}
.header_biography_bjorkan {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_adenaor {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_damian {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_valt {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_dekaron {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_kelendros {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_regnak {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_biography_djillian {
background-color: #DDD5C9;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.header_hero_PNJ {
background-color: #ADA9E0;
background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
}
.border-line-heropnj {
color: #ADA9E0;
}
.header_biography_PNJ {
background-color: #dac5a3;
background-image: url(http://localhost:8888/FQw/images/0/0c/Picto_infobox_biography.png);
}
.header_biography_evil {
background-color: #39414d;
background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
color: #FFFFFF;
border-color: inherit;
}
.border-line-evil {
color: #39414d;
}
.header_city {
background-color: #9d943099;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_geography {
background-color: #915B5B;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_place {
background-color: #a7b0a799;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_race {
background-color: #9f571899;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_ethnicity {
background-color: #a1730099;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_organization {
background-color: #9d943ccc;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_item {
background-color: #9f262699;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.header_event {
background-color: #10c4b899;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
/*=====Liste des Subheaders=====*/
.subheader {
font-weight: bold;
text-align: center;
line-height: 1.1;
margin: 0.5em 0.5em 0.5em 0.5em;
padding: 4px;
}
.subheader_general {
background: #4652adcc;
}
.subheader_country {
background: #54994ccc;
}
.subheader_biography_hero_PJ {
background: #DBDDC9;
;
}
.subheader_hero_PNJ {
background-color: #c6c4ea;
}
.subheader_biography_PNJ {
background: #D3DAA3;
;
}
.subheader_biography_evil {
background: #3B394D;
;
color: #FFFFFF;
}
.subheader_city {
background: #9d2ebc88;
}
.subheader_geography {
background: #DB8877;
}
.subheader_place {
background: #a7b0accc;
}
.subheader_race {
background: #9f571ccc;
}
.subheader_ethnicity {
background: #a1730ccc;
}
.subheader_organization {
background-color: #9d933c82;
}
.subheader_item {
background: #9f262ccc;
}
.subheader_event {
background: #10c4bccc;
}