« 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_top_border { | .infobox, .infobox_top_border, .infobox_bottom_border { | ||
padding: 5px; | padding: 5px; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
max-width: 325px; | |||
word-wrap: break-word; | |||
float: right; | |||
clear: right; | clear: right; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
line-height: 1.4; | line-height: 1.4; | ||
margin: 0 0 0.5em 1em; | margin: 0 0 0.5em 1em; | ||
} | } | ||
.infobox_bottom_border { | .infobox_bottom_border { | ||
width: 100%; | width: 100%; | ||
max-width: 100%; | max-width: 100%; | ||
border-bottom: 1px solid #aaa; | |||
} | } | ||
| Ligne 75 : | Ligne 72 : | ||
} | } | ||
.infobox-table th { | .infobox-table th, .infobox-table td { | ||
text-align: left; | text-align: left; | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
.infobox-table th { | |||
width: 10em; | width: 10em; | ||
} | } | ||
.infobox-table td { | .infobox-table td { | ||
width: 15em; | width: 15em; | ||
} | } | ||
| Ligne 140 : | Ligne 138 : | ||
} | } | ||
/*HEADER*/ | /* HEADER */ | ||
.header, .subheader { | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 0.5em; | |||
margin: 0.5em; | |||
} | |||
.header { | .header { | ||
font-size: 1.2em; | font-size: 1.2em; | ||
background-position: right; | background-position: right; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: contain; | background-size: contain; | ||
} | } | ||
.subheader { | .subheader { | ||
line-height: 1.1; | line-height: 1.1; | ||
padding: 4px; | padding: 4px; | ||
} | } | ||
/*TEMPLATE HEROES PNJ*/ | /* TEMPLATE HEROES PNJ */ | ||
.header_hero_PNJ, .header_enemy, .header_PNJ, .header_PJ, .header_organization, .header_nation, | |||
.header_dwarf_nation, .header_wood_nation, .header_geography, .header_city, .header_place, | |||
.header_race, .header_monsters, .header_items, .header_events { | |||
background-size: cover; | |||
} | |||
.subheader_hero_PNJ, .subheader_enemy, .subheader_PNJ, .subheader_PJ, .subheader_organization, | |||
.subheader_nation, .subheader_dwarf_nation, .subheader_wood_nation, .subheader_geography, | |||
.subheader_city, .subheader_place, .subheader_race, .subheader_monsters, .subheader_items, | |||
.subheader_events { | |||
color: #e1e1e1; | |||
} | |||
.hero_PNJ_border, .enemy_border, .PNJ_border, .PJ_border, .organization_border, .nation_border, | |||
.dwarf_nation_border, .wood_nation_border, .geography_border, .city_border, .place_border, | |||
.race_border, .monsters_border, .items_border, .events_border { | |||
border-color: currentColor; | |||
} | |||
/* SPECIFIC TEMPLATES */ | |||
.header_hero_PNJ { | .header_hero_PNJ { | ||
background-color: #a9c8e0; | background-color: #a9c8e0; | ||
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png); | background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png); | ||
} | } | ||
.subheader_hero_PNJ { | .subheader_hero_PNJ { | ||
| Ligne 172 : | Ligne 193 : | ||
} | } | ||
.header_enemy { | .header_enemy { | ||
background-color: #39414d; | background-color: #39414d; | ||
background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png); | ||
color: #e4e4e4; | color: #e4e4e4; | ||
} | } | ||
.subheader_enemy { | .subheader_enemy { | ||
background: #3B394D; | background: #3B394D; | ||
} | } | ||
.enemy_border { | .enemy_border { | ||
| Ligne 187 : | Ligne 205 : | ||
} | } | ||
.header_PNJ { | .header_PNJ { | ||
background-color: #dac5a3ca; | background-color: #dac5a3ca; | ||
background-image: url(https://wiki.alakihel.ovh/images/1/19/Pictogram_flower.png); | background-image: url(https://wiki.alakihel.ovh/images/1/19/Pictogram_flower.png); | ||
} | } | ||
.subheader_PNJ { | .subheader_PNJ { | ||
| Ligne 201 : | Ligne 216 : | ||
} | } | ||
.header_PJ { | .header_PJ { | ||
background-color: #ADA9E0; | background-color: #ADA9E0; | ||
background-image: url(https://wiki.alakihel.ovh/images/c/c8/Pictogram_sonlight.png); | background-image: url(https://wiki.alakihel.ovh/images/c/c8/Pictogram_sonlight.png); | ||
} | } | ||
.subheader_PJ { | .subheader_PJ { | ||
| Ligne 215 : | Ligne 227 : | ||
} | } | ||
.header_organization { | .header_organization { | ||
background-color: #9d943ccc; | background-color: #9d943ccc; | ||
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); | ||
} | } | ||
.subheader_organization { | .subheader_organization { | ||
| Ligne 228 : | Ligne 238 : | ||
} | } | ||
.header_nation { | .header_nation { | ||
background-color: #65cec9; | background-color: #65cec9; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_nation { | .subheader_nation { | ||
| Ligne 241 : | Ligne 249 : | ||
} | } | ||
.header_dwarf_nation { | .header_dwarf_nation { | ||
background-color: #5e5e5e; | background-color: #5e5e5e; | ||
background-image: url(https://wiki.alakihel.ovh/images/8/8a/Pictogram_dwarf_city.png); | background-image: url(https://wiki.alakihel.ovh/images/8/8a/Pictogram_dwarf_city.png); | ||
color: #e1e1e1; | color: #e1e1e1; | ||
} | } | ||
.subheader_dwarf_nation { | .subheader_dwarf_nation { | ||
background: #8e8e8e9d; | background: #8e8e8e9d; | ||
} | } | ||
.dwarf_nation_border { | .dwarf_nation_border { | ||
| Ligne 256 : | Ligne 261 : | ||
} | } | ||
.header_wood_nation { | .header_wood_nation { | ||
background-color: #48ba78; | background-color: #48ba78; | ||
background-image: url(https://wiki.alakihel.ovh/images/6/67/Pictogram_wood_nation.png); | background-image: url(https://wiki.alakihel.ovh/images/6/67/Pictogram_wood_nation.png); | ||
} | } | ||
.subheader_wood_nation { | .subheader_wood_nation { | ||
background: #48ba779e; | background: #48ba779e; | ||
} | } | ||
.wood_nation_border { | .wood_nation_border { | ||
| Ligne 270 : | Ligne 272 : | ||
} | } | ||
.header_geography { | .header_geography { | ||
background-color: #CEF2D4; | background-color: #CEF2D4; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_geography { | .subheader_geography { | ||
| Ligne 283 : | Ligne 283 : | ||
} | } | ||
.header_city { | .header_city { | ||
background-color: #F5F5DC; | background-color: #F5F5DC; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_city { | .subheader_city { | ||
| Ligne 296 : | Ligne 294 : | ||
} | } | ||
.header_place { | .header_place { | ||
background-color: #54994c99; | background-color: #54994c99; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_place { | .subheader_place { | ||
| Ligne 309 : | Ligne 305 : | ||
} | } | ||
.header_race { | .header_race { | ||
background-color: #a1730ccc; | background-color: #a1730ccc; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_race { | .subheader_race { | ||
| Ligne 322 : | Ligne 316 : | ||
} | } | ||
.header_monsters { | .header_monsters { | ||
background-color: #54994c99; | background-color: #54994c99; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_monsters { | .subheader_monsters { | ||
| Ligne 335 : | Ligne 327 : | ||
} | } | ||
.header_items { | .header_items { | ||
background-color: #9f262699; | background-color: #9f262699; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_items { | .subheader_items { | ||
| Ligne 348 : | Ligne 338 : | ||
} | } | ||
.header_events { | .header_events { | ||
background-color: #54994c99; | background-color: #54994c99; | ||
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png); | ||
} | } | ||
.subheader_events { | .subheader_events { | ||
| Ligne 361 : | Ligne 349 : | ||
} | } | ||
/*END OF TEMPLATES*/ | /* END OF TEMPLATES */ | ||
Version du 30 août 2024 à 05:31
.infobox, .infobox_top_border, .infobox_bottom_border {
padding: 5px;
background: #f9f9f9;
border: 1px solid #aaa;
max-width: 325px;
word-wrap: break-word;
float: right;
clear: right;
font-size: 0.9em;
line-height: 1.4;
margin: 0 0 0.5em 1em;
}
.infobox_bottom_border {
width: 100%;
max-width: 100%;
border-bottom: 1px solid #aaa;
}
.infobox-title {
font-weight: bold;
text-align: center;
color: #000;
background: #54994C;
padding: 1px;
width: 100%;
height: 45px;
}
.infobox-subtitle, .infobox-subtitle-biography {
font-weight: bold;
text-align: center;
background-color: #5c76be;
margin: 0.5em;
padding: 0.2em;
}
.infobox-LO, .infobox-caption {
font-size: smaller;
font-style: italic;
margin: 0.5em 0;
text-align: center;
}
.infobox-séparateur, .infobox_separator {
padding: 0.5em;
border-top: 1px solid;
border-bottom: 1px solid;
font-weight: bold;
text-align: center;
background: #EBEBEB;
color: #333;
}
.infobox-image {
text-align: center;
border: 1px solid #333;
padding: 0.5em;
}
.infobox-center, .infobox-left, .infobox-right {
text-align: center;
margin: 5px 0.5em;
}
.infobox-left {
text-align: left;
}
.infobox-right {
text-align: right;
}
.infobox-table th, .infobox-table td {
text-align: left;
vertical-align: top;
}
.infobox-table th {
width: 10em;
}
.infobox-table td {
width: 15em;
}
.infobox-list-left, .infobox-list-right {
text-align: center;
float: left;
width: 45%;
}
.plainlinks {
margin: 5px 0.5em;
}
.mw-image-border .mw-file-element {
border: 1px solid #eaecf0;
}
figure {
display: table;
text-align: center;
border-collapse: collapse;
margin: 0.2em;
clear: right;
float: right;
}
.border-line {
border-top-style: solid;
border-width: 1px;
height: 2px;
margin: 5px 0.5em;
}
.infobox-container {
float: right;
clear: right;
width: 33%;
margin-left: 10px;
}
audio {
width: -webkit-fill-available;
height: 20px;
}
.row {
display: table;
clear: both;
}
.column {
float: left;
width: 50%;
padding: 10px;
}
/* HEADER */
.header, .subheader {
font-weight: bold;
text-align: center;
padding: 0.5em;
margin: 0.5em;
}
.header {
font-size: 1.2em;
background-position: right;
background-repeat: no-repeat;
background-size: contain;
}
.subheader {
line-height: 1.1;
padding: 4px;
}
/* TEMPLATE HEROES PNJ */
.header_hero_PNJ, .header_enemy, .header_PNJ, .header_PJ, .header_organization, .header_nation,
.header_dwarf_nation, .header_wood_nation, .header_geography, .header_city, .header_place,
.header_race, .header_monsters, .header_items, .header_events {
background-size: cover;
}
.subheader_hero_PNJ, .subheader_enemy, .subheader_PNJ, .subheader_PJ, .subheader_organization,
.subheader_nation, .subheader_dwarf_nation, .subheader_wood_nation, .subheader_geography,
.subheader_city, .subheader_place, .subheader_race, .subheader_monsters, .subheader_items,
.subheader_events {
color: #e1e1e1;
}
.hero_PNJ_border, .enemy_border, .PNJ_border, .PJ_border, .organization_border, .nation_border,
.dwarf_nation_border, .wood_nation_border, .geography_border, .city_border, .place_border,
.race_border, .monsters_border, .items_border, .events_border {
border-color: currentColor;
}
/* SPECIFIC TEMPLATES */
.header_hero_PNJ {
background-color: #a9c8e0;
background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.subheader_hero_PNJ {
background: #a9c8e09c;
}
.hero_PNJ_border {
border-color: #a9c8e0;
}
.header_enemy {
background-color: #39414d;
background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
color: #e4e4e4;
}
.subheader_enemy {
background: #3B394D;
}
.enemy_border {
border-color: #39414d;
}
.header_PNJ {
background-color: #dac5a3ca;
background-image: url(https://wiki.alakihel.ovh/images/1/19/Pictogram_flower.png);
}
.subheader_PNJ {
background: #dac5a367;
}
.PNJ_border {
border-color: #dac5a3;
}
.header_PJ {
background-color: #ADA9E0;
background-image: url(https://wiki.alakihel.ovh/images/c/c8/Pictogram_sonlight.png);
}
.subheader_PJ {
background: #aca9e099;
}
.PJ_border {
border-color: #ADA9E0;
}
.header_organization {
background-color: #9d943ccc;
background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.subheader_organization {
background: #9d933c7b;
}
.organization_border {
border-color: #9d943ccc;
}
.header_nation {
background-color: #65cec9;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_nation {
background: #65cec9cc;
}
.nation_border {
border-color: #65cec9cc;
}
.header_dwarf_nation {
background-color: #5e5e5e;
background-image: url(https://wiki.alakihel.ovh/images/8/8a/Pictogram_dwarf_city.png);
color: #e1e1e1;
}
.subheader_dwarf_nation {
background: #8e8e8e9d;
}
.dwarf_nation_border {
border-color: #5e5e5e;
}
.header_wood_nation {
background-color: #48ba78;
background-image: url(https://wiki.alakihel.ovh/images/6/67/Pictogram_wood_nation.png);
}
.subheader_wood_nation {
background: #48ba779e;
}
.wood_nation_border {
border-color: #48ba78;
}
.header_geography {
background-color: #CEF2D4;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_geography {
background: #cef2d4a6;
}
.geography_border {
border-color: #CEF2D4;
}
.header_city {
background-color: #F5F5DC;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_city {
background: #f5f5dc91;
}
.city_border {
border-color: #F5F5DC;
}
.header_place {
background-color: #54994c99;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_place {
background: #54994ccc;
}
.place_border {
border-color: #c6c4ea;
}
.header_race {
background-color: #a1730ccc;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_race {
background: #a1720c95;
}
.race_border {
border-color: #a1730ccc;
}
.header_monsters {
background-color: #54994c99;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_monsters {
background: #54994ccc;
}
.monsters_border {
border-color: #c6c4ea;
}
.header_items {
background-color: #9f262699;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_items {
background: #9f26265d;
}
.items_border {
border-color: #9f262699;
}
.header_events {
background-color: #54994c99;
background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_events {
background: #54994ccc;
}
.events_border {
border-color: #c6c4ea;
}
/* END OF TEMPLATES */