« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révocation manuelle |
||
| Ligne 1 : | Ligne 1 : | ||
.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; | |||
width: -webkit-fill-available; | |||
} | |||
.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 { | |||
font-size: smaller; | |||
font-style: italic; | |||
margin: 0.5em 0; | |||
text-align: center; | |||
} | |||
.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 { | |||
text-align: center; | |||
float: left; | |||
width: 45%; | |||
} | |||
.infobox-list-right { | |||
text-align: center; | |||
float: right; | |||
width: 45%; | |||
} | |||
.infobox-modifier { | |||
display: inline-block; | |||
} | |||
.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; | |||
} | |||
hr.nation { | |||
background-color: #65cec9cc; | |||
margin: 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; | |||
} | |||
.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; | |||
color: #e4e4e4; | |||
} | |||
.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; | |||
} | |||
.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 */ | |||
Version du 31 août 2024 à 11:20
.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;
width: -webkit-fill-available;
}
.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 {
font-size: smaller;
font-style: italic;
margin: 0.5em 0;
text-align: center;
}
.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 {
text-align: center;
float: left;
width: 45%;
}
.infobox-list-right {
text-align: center;
float: right;
width: 45%;
}
.infobox-modifier {
display: inline-block;
}
.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;
}
hr.nation {
background-color: #65cec9cc;
margin: 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;
}
.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;
color: #e4e4e4;
}
.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;
}
.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 */