MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (26 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox-wrapper { | |||
padding: 0; | |||
margin: 0 0 10px 10px; | |||
width: calc(45% - 30px); | |||
float: right; | |||
position: relative; | |||
font-size: 14px; | |||
} | |||
.infobox-wrapper .infobox { | |||
border: 1px solid #CCC; | |||
background-color: #f8f9fa; | |||
padding: 0; | |||
margin: 0; | |||
font-size: 14px; | |||
width: 100%; | |||
position: relative; | |||
float: none; | |||
} | |||
.infobox-wrapper .infobox-title-above { | |||
} | |||
.infobox { | .infobox { | ||
| Line 31: | Line 55: | ||
.infobox .title { | .infobox .title { | ||
padding: 3px | margin: 5px; | ||
font-size: 125%; | |||
color: #000; | |||
padding: 0.2em; | |||
text-align: center; | |||
font-weight: bold; | |||
letter-spacing: 0; | |||
line-height: 1.5em; | |||
} | |||
.infobox .title.grey { | |||
background-color: #eee; | |||
} | |||
.infobox .title.politics { | |||
padding: 3px 0; | |||
} | |||
.infobox .title.politics .name { | |||
font-size: 125%; | |||
line-height: 1; | |||
} | |||
.infobox .title.politics .translation { | |||
font-size: 0.8em; | |||
padding-top: 0.3em; | |||
line-height: 1; | |||
} | |||
.infobox.royalty .title { | |||
background-color: #cbe; | |||
} | |||
.infobox .subtitle.royalborder { | |||
margin: 0 5px; | |||
font-size: 125%; | |||
padding: 0; | |||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
} | |||
background-color: | .infobox.politics .subtitle { | ||
background-color: transparent; | |||
margin: 0 5px; | |||
} | } | ||
| Line 48: | Line 108: | ||
font-size: 16px; | font-size: 16px; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
background-color: lavender; | |||
color: #000; | |||
} | |||
.infobox.royalty .subtitle { | |||
background-color: #e4dcf6; | background-color: #e4dcf6; | ||
} | } | ||
| Line 59: | Line 121: | ||
.infobox .title:nth-child(1) { | .infobox .title:nth-child(1) { | ||
border-top: none; | /*border-top: none;*/ | ||
} | |||
.sequence-wrapper { | |||
width: calc(100% - 4px); | |||
margin: 5px 2px 2px; | |||
display: inline-table; | |||
} | |||
.infobox-elections-previous { | |||
display: table-cell; | |||
text-align: left; | |||
vertical-align: middle; | |||
padding: 0 0.5em 0 0; | |||
width: 20%; | |||
} | |||
.infobox-elections-date { | |||
display: table-cell; | |||
text-align: center; | |||
vertical-align: middle; | |||
padding: 0 1px; | |||
width: 60%; | |||
} | |||
.infobox-elections-next { | |||
display: table-cell; | |||
text-align: right; | |||
vertical-align: middle; | |||
padding: 0 0 0 0.5em; | |||
width: 20%; | |||
} | |||
.cabinet-wrapper { | |||
margin: 5px; | |||
width: calc(100% - 10px); | |||
} | |||
.infobox-cabinet-before { | |||
width: calc(50% - 5px); | |||
vertical-align: top; | |||
display: inline-block; | |||
text-align: left; | |||
margin-right: 3px; | |||
} | |||
.infobox-cabinet-after { | |||
vertical-align: top; | |||
display: inline-block; | |||
text-align: right; | |||
width: calc(50% - 5px); | |||
margin-left: 3px; | |||
} | } | ||
.infobox .subtext { | .infobox .subtext { | ||
text-align: center; | text-align: center; | ||
margin: 2px | margin: 2px; | ||
} | } | ||
| Line 102: | Line 215: | ||
.infobox .element { | .infobox .element { | ||
border-bottom: 1px solid #cbcbcb; | /*border-bottom: 1px solid #cbcbcb;*/ | ||
padding: 10px; | padding: 10px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
| Line 130: | Line 243: | ||
} | } | ||
.infobox .elementlist { | |||
/*border-bottom: 1px solid #cbcbcb;*/ | |||
padding: 10px; | |||
box-sizing: border-box; | |||
display: flex; | |||
flex-direction: row; | |||
grid-column-gap: 9px; | |||
overflow: hidden; | |||
} | |||
.infobox .elementlist .elementlist-left { | |||
border: none; | |||
vertical-align: top; | |||
width: calc(50% - 10px); | |||
padding: 5px; | |||
margin: 0; | |||
display: inline-block; | |||
} | |||
.infobox .elementlist .elementlist-right { | |||
border: none; | |||
vertical-align: top; | |||
width: calc(50% - 10px); | |||
padding: 5px; | |||
margin: 0; | |||
display: inline-block; | |||
} | |||
.infobox .centertext { | .infobox .centertext { | ||
| Line 135: | Line 275: | ||
margin: 0 auto; | margin: 0 auto; | ||
text-align: center; | text-align: center; | ||
/*border-bottom: 1px solid #cbcbcb;*/ | |||
padding: 5px; | |||
} | |||
.infobox .border { | |||
border-bottom: 1px solid #cbcbcb; | border-bottom: 1px solid #cbcbcb; | ||
} | } | ||
| Line 156: | Line 300: | ||
.infobox .list td { | .infobox .list td { | ||
border: 0; | border: 0; | ||
vertical-align: top; | |||
} | } | ||
| Line 436: | Line 581: | ||
.vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited, .vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited { | .vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited, .vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited { | ||
color: #36c; | color: #36c; | ||
} | } | ||
Latest revision as of 15:02, 19 May 2026
/* CSS placed here will be applied to all skins */
.infobox-wrapper {
padding: 0;
margin: 0 0 10px 10px;
width: calc(45% - 30px);
float: right;
position: relative;
font-size: 14px;
}
.infobox-wrapper .infobox {
border: 1px solid #CCC;
background-color: #f8f9fa;
padding: 0;
margin: 0;
font-size: 14px;
width: 100%;
position: relative;
float: none;
}
.infobox-wrapper .infobox-title-above {
}
.infobox {
border: 1px solid #CCC;
background-color: #f8f9fa;
padding: 0;
margin: 0 0 10px 10px;
width: calc(45% - 30px);
float: right;
position: relative;
font-size: 14px;
}
.infobox:after {
clear: after;
}
.infobox img {
width: 100%;
max-width: 100%;
min-width: 100%;
height: auto;
}
.infobox .flag img, .infobox .list img {
width: auto;
max-width: 100%;
min-width: auto;
height: auto;
}
.infobox .title {
margin: 5px;
font-size: 125%;
color: #000;
padding: 0.2em;
text-align: center;
font-weight: bold;
letter-spacing: 0;
line-height: 1.5em;
}
.infobox .title.grey {
background-color: #eee;
}
.infobox .title.politics {
padding: 3px 0;
}
.infobox .title.politics .name {
font-size: 125%;
line-height: 1;
}
.infobox .title.politics .translation {
font-size: 0.8em;
padding-top: 0.3em;
line-height: 1;
}
.infobox.royalty .title {
background-color: #cbe;
}
.infobox .subtitle.royalborder {
margin: 0 5px;
font-size: 125%;
padding: 0;
text-align: center;
font-weight: bold;
letter-spacing: 0;
}
.infobox.politics .subtitle {
background-color: transparent;
margin: 0 5px;
}
.infobox .subtitle {
padding: 3px 10px;
text-align: center;
font-weight: bold;
font-size: 16px;
letter-spacing: 0;
background-color: lavender;
color: #000;
}
.infobox.royalty .subtitle {
background-color: #e4dcf6;
}
.infobox .title .title-office {
border-top: 1px solid #cbcbcb;
}
.infobox .title:nth-child(1) {
/*border-top: none;*/
}
.sequence-wrapper {
width: calc(100% - 4px);
margin: 5px 2px 2px;
display: inline-table;
}
.infobox-elections-previous {
display: table-cell;
text-align: left;
vertical-align: middle;
padding: 0 0.5em 0 0;
width: 20%;
}
.infobox-elections-date {
display: table-cell;
text-align: center;
vertical-align: middle;
padding: 0 1px;
width: 60%;
}
.infobox-elections-next {
display: table-cell;
text-align: right;
vertical-align: middle;
padding: 0 0 0 0.5em;
width: 20%;
}
.cabinet-wrapper {
margin: 5px;
width: calc(100% - 10px);
}
.infobox-cabinet-before {
width: calc(50% - 5px);
vertical-align: top;
display: inline-block;
text-align: left;
margin-right: 3px;
}
.infobox-cabinet-after {
vertical-align: top;
display: inline-block;
text-align: right;
width: calc(50% - 5px);
margin-left: 3px;
}
.infobox .subtext {
text-align: center;
margin: 2px;
}
.infobox.people .title {
background-color: #ad282b;
color: #FFF;
}
.infobox.organization .title {
background-color: lavender;
color: #333;
}
.infobox.plush .title {
background-color: #C5885B;
color: #FFF;
}
.infobox.minecraft .title {
background-color: #496128;
color: #FFF;
}
.infobox.doctorwho .title {
background-color: #2a396f;
color: #FFF;
}
.infobox.maps .title {
background-color: #aebed0;
color: #000;
}
.infobox .element:first-child {
border-top: 1px solid #cbcbcb;
}
.infobox .element {
/*border-bottom: 1px solid #cbcbcb;*/
padding: 10px;
box-sizing: border-box;
display: flex;
flex-direction: row;
grid-column-gap: 9px;
overflow: hidden;
}
.infobox .element:last-child {
border-bottom: none;
}
.infobox .element-office {
border-bottom: 1px solid #cbcbcb;
padding: 5px;
font-size: 14px;
}
.infobox .element-office-title {
display: block;
font-weight: bold;
margin: 0 auto;
text-align: center;
}
.infobox .elementlist {
/*border-bottom: 1px solid #cbcbcb;*/
padding: 10px;
box-sizing: border-box;
display: flex;
flex-direction: row;
grid-column-gap: 9px;
overflow: hidden;
}
.infobox .elementlist .elementlist-left {
border: none;
vertical-align: top;
width: calc(50% - 10px);
padding: 5px;
margin: 0;
display: inline-block;
}
.infobox .elementlist .elementlist-right {
border: none;
vertical-align: top;
width: calc(50% - 10px);
padding: 5px;
margin: 0;
display: inline-block;
}
.infobox .centertext {
display: block;
margin: 0 auto;
text-align: center;
/*border-bottom: 1px solid #cbcbcb;*/
padding: 5px;
}
.infobox .border {
border-bottom: 1px solid #cbcbcb;
}
.infobox .element-office-date {
display: block;
margin: 0 auto;
text-align: center;
}
.infobox .list .wikitable {
padding: 1.25em 1.75em;
width: 100%;
border: 0;
background: none;
margin: 0;
}
.infobox .list td {
border: 0;
vertical-align: top;
}
.infobox .list td:nth-child(1), .infobox .list td:nth-child(3), .infobox .list td:nth-child(5), .infobox .list td:nth-child(7), .infobox .list td:nth-child(9), .infobox .list td:nth-child(11), .infobox .list td:nth-child(13), .infobox .list td:nth-child(15), .infobox .list td:nth-child(17), .infobox .list td:nth-child(19), .infobox .list td:nth-child(21) {
border-right: 1px dotted #AAA;
width: 50%;
}
.infobox-left {
line-height: 1.8;
border-bottom: 0;
font-family: inherit;
font-weight: normal;
margin: 0;
-webkit-hyphens: auto;
hyphens: auto;
flex-basis: 35%;
margin: 0;
overflow: hidden;
}
.infobox-right {
line-height: 1.8;
overflow-wrap: break-word;
-webkit-hyphens: auto;
hyphens: auto;
flex-basis: 65%;
}
.infobox-right:first-child {
/*flex-basis: 180px;*/
}
a, a:link, a:hover, .mw-parser-output a.extiw, .mw-parser-output a.external {
color: #36c;
}
a.new {
color: #bf3c2c;
}
a.new:visited {
color: #bf3c2c;
}
.vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited, .vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited {
color: #36c;
}
a:visited {
color: #36c;
}
.wikitable {
width: fit-content;
}
.ranks2 {
}
.ranks2 th:nth-child(1) {
width: 50%;
}
.ranks2 th:nth-child(2) {
width: 50%;
}
.ranks3 {
}
.ranks3 th:nth-child(1) {
width: 33%;
}
.ranks3 th:nth-child(2) {
width: 33%;
}
.ranks3 th:nth-child(3) {
width: 33%;
}
.ranks4 {
}
.ranks4 th:nth-child(1) {
width: 25%;
}
.ranks4 th:nth-child(2) {
width: 25%;
}
.ranks4 th:nth-child(3) {
width: 25%;
}
.ranks4 th:nth-child(4) {
width: 25%;
}
.ranks5 {
}
.ranks5 th:nth-child(1) {
width: 17%;
}
.ranks5 th:nth-child(2) {
width: 11%;
}
.ranks5 th:nth-child(3) {
width: 24%;
}
.ranks5 th:nth-child(4) {
width: 24%;
}
.ranks5 th:nth-child(5) {
width: 24%;
}
.wikitable .mw-file-element {
height: auto;
}
.mw-body .infobox p {
margin: 0 0 0.1em;
}
.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 {
font-family: sans-serif;
}
.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1 {
font-size: 2.2em;
}
.mw-body .mw-heading2, .mw-body h2 {
font-size: 2em;
}
.mw-body .mw-heading3, .mw-body h3 {
font-size: 1.5em;
}
.mw-body .mw-heading4, .mw-body h4 {
font-size: 1.2em;
}
#vector-page-tools {
background-color: #F5F5F5;
padding: 10px;
border: 1px solid #CCC;
}
#mainpage h2 {
color: #ad282b;
font-weight: bold;
letter-spacing: 0.1em;
border: none;
margin: 20px 0;
font-size: 2.5em;
}
#mainpage img.mw-file-element {
border: 3px solid #ad282b;
}
.frontpage-icons, .page-icons-6 {
display: grid;
grid-template-columns: 16% 16% 16% 16% 16% 16%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 80px);
}
.frontpage-icons, .page-icons-5 {
display: grid;
grid-template-columns: 20% 20% 20% 20% 20%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 80px);
}
.page-icons-4 {
display: grid;
grid-template-columns: 25% 25% 25% 25%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 80px);
}
.page-icons-3 {
display: grid;
grid-template-columns: 33% 33% 33%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 80px);
}
.page-icons-2 {
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 80px);
}
.frontpage-icon.frontpage-icon, .page-icons-6.page-icon, .page-icons-5.page-icon, .page-icons-4.page-icon, .page-icons-3.page-icon, .page-icons-2.page-icon {
display: inline-block;
}
.frontpage-icons img, .page-icons-6 img, .page-icons-5 img, .page-icons-4 img, .page-icons-3 img, .page-icons-2 img {
width: 100%;
height: auto;
}
.frontpage-icon-title, .page-icon-title {
text-align: center;
color: #ad282b;
font-weight: bold;
font-size: 13pt;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.mw-logo, .mw-logo:visited,
.mw-logo:link, .mw-logo-wordmark:link,
.mw-logo:active, .mw-logo-wordmark:active,
.mw-logo-wordmark, .mw-logo-wordmark:visited {
color: #d58282;
}
.mw-logo:hover, .mw-logo:visited:hover,
.mw-logo:link:hover, .mw-logo-wordmark:link:hover,
.mw-logo:active:hover, .mw-logo-wordmark:active:hover,
.mw-logo-wordmark:hover, .mw-logo-wordmark:visited:hover {
text-decoration: none;
color: #f2a1a1;
}
.mw-logo-container.skin-invert {
font-size: 1.5em;
letter-spacing: 0.02em;
}
a, a:link, a:hover, .mw-parser-output a.extiw, .mw-parser-output a.external {
color: #36c;
}
a:hover {
color: #3056a9;
}
a:visited {
color: #36c;
}
a:visited:hover {
color: #36c;
}
a.new {
color: #bf3c2c;
}
a.new:hover {
color: #bf3c2c;
}
.vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited, .vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited {
color: #36c;
}
body.skin--responsive .mw-parser-output .infobox-image-fixed figure img.mw-file-element {
max-width: calc(100% - 50px);
padding: 0 25px;
min-width: calc(100% - 50px);
width: calc(100% - 50px);
}
/* afblijven */
#frontpage {
/*background-color: orange;*/
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: auto;
grid-column-gap: 20px;
grid-row-gap: 20px;
font-size: 12pt;
color: #895656;
}
#frontpage p {
margin: 0 0 10px;
}
#frontpage p:last-child {
margin: 0;
}
#frontpage .mw-heading.mw-heading2 {
background-color: #de9d9d;
padding: 5px 10px;
margin: 0;
color: white;
background-image: linear-gradient(to bottom, #E0A2A2,#D88C8C);
font-weight: bold;
font-size: 14pt;
border-bottom: none;
box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}
#frontpage .mw-heading.mw-heading3 {
padding: 0;
margin: 0 0 10px;
font-weight: bold;
font-size: 14pt;
border-bottom: 3px dotted #893e3e;
color: #893e3e;
}
.front-section {
box-shadow: 0 3px 2px rgba(0,0,0,.15);
}
#front-intro {
background-color: #FFF;
grid-area: 1 / 1 / 2 / 3;
}
#front-intro .front-inside {
padding: 20px;
}
#front-logo {
background-color: #d88c8c;
grid-area: 1 / 3 / 2 / 4;
}
#front-logo p {
margin: 0;
padding: 0;
}
#front-nav {
background-color: #FFF;
grid-area: 2 / 1 / 3 / 3;
}
#front-nav .front-inside {
padding: 20px;
}
#frontpage-section-navigation .frontpage-icon img {
border-radius: 100%;
border: 3px solid rgba(0,0,0,0.15);
width: calc(100% - 6px);
background-color: #e0a1a1;
box-shadow: 0 5px 0 rgba(0,0,0,0.15);
}
#frontpage-section-navigation .frontpage-icon a img {
filter: opacity(75%);
transition: all 0.5s ease;
}
#frontpage-section-navigation .frontpage-icon a:hover img {
filter: opacity(100%);
transition: all 0.5s ease;
}
.frontpage-icon {
text-align: center;
}
#front-nav .front-inside #frontpage-section-navigation {
display: grid;
grid-template-columns: 25% 25% 25% 25%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 60px);
text-align: center;
font-weight: bold;
}
#front-events {
background-color: #FFF;
grid-area: 3 / 1 / 5 / 3;
}
#frontpage #front-events .mw-heading.mw-heading3 {
color: #555576;
border-bottom: 2px dotted #5555767a;
}
#front-events .front-inside {
padding: 20px;
}
#front-events ol {
padding: 0;
margin: 0 0 0 35px;
}
#front-events ol li {
line-height: 15pt;
margin: 0;
}
#front-vips {
background-color: #FFF;
grid-area: 5 / 1 / 7 / 3;
font-size: 9.5pt;
}
#front-vips .front-inside {
padding: 20px;
}
#front-nav .frontpage-media,
#front-vips .frontpage-media,
#front-recent .frontpage-media {
margin: 0 0 5px;
}
#frontpage-vip-list {
display: grid;
grid-template-columns: 20% 20% 20% 20% 20%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 80px);
}
#front-nav .frontpage-text a, #front-nav .frontpage-text a:link, #front-nav .frontpage-text a:active, #front-nav .frontpage-text a:visited,
#front-vips .frontpage-text a, #front-vips .frontpage-text a:link, #front-vips .frontpage-text a:active, #front-vips .frontpage-text a:visited,
#front-recent .frontpage-text a, #front-recent .frontpage-text a:link, #front-recent .frontpage-text a:active, #front-recent .frontpage-text a:visited {
color: #d88d8d;
}
#front-nav .frontpage-text a.new,
#front-events .frontpage-text a.new,
#front-vips .frontpage-text a.new,
#front-recent .frontpage-text a.new {
color: #bf3c2c;
}
#front-nav .frontpage-text a:hover,
#front-vips .frontpage-text a:hover,
#front-recent .frontpage-text a:hover {
color: #d88d8d;
}
#front-nav .frontpage-text a.new:hover,
#front-events .frontpage-text a.new:hover,
#front-vips .frontpage-text a.new:hover,
#front-recent .frontpage-text a.new:hover {
color: #bf3c2c;
}
#frontpage-vip-list .frontpage-icon img {
border-radius: 100%;
border: 3px solid rgba(0,0,0,0.15);
width: calc(100% - 6px);
background-color: #e0a1a1;
box-shadow: 0 5px 0 rgba(0,0,0,0.15);
}
#frontpage-vip-list .frontpage-icon a img {
filter: opacity(75%);
transition: all 0.5s ease;
}
#frontpage-vip-list .frontpage-icon a:hover img {
filter: opacity(100%);
transition: all 0.5s ease;
}
#front-nav .frontpage-text,
#front-vips .frontpage-text,
#front-recent .frontpage-text {
font-weight: bold;
}
#front-recent {
background-color: #FFF;
grid-area: 7 / 1 / 8 / 3;
}
#front-recent .front-inside {
padding: 20px;
}
#front-recent .front-inside #frontpage-arrival-list {
display: grid;
grid-template-columns: 33.3% 33.3% 33.3%;
grid-template-rows: auto;
gap: 20px;
width: calc(100% - 40px);
}
#front-recent .frontpage-icon img {
border-radius: 100%;
border: 3px solid rgba(0,0,0,0.15);
width: calc(100% - 6px);
background-color: #e0a1a1;
box-shadow: 0 5px 0 rgba(0,0,0,0.15);
}
#front-recent .frontpage-icon a img {
filter: opacity(75%);
transition: all 0.5s ease;
}
#front-recent .frontpage-icon a:hover img {
filter: opacity(100%);
transition: all 0.5s ease;
}
#front-other {
background-color: #FFF;
grid-area: 2 / 3 / 7 / 4;
box-shadow: none;
}
#front-other .frontpage-icon {
box-shadow: 0 3px 2px rgba(0,0,0,.15);
margin: 0 0 5px;
}
.sidebar-wrapper {
margin: 0 0 10px;
}
.sidebar-caption {
font-style: italic;
text-align: center;
font-size: 10pt;
}
#frontpage .mw-file-element {
max-width: 100%;
height: auto;
}
.frontpage-media .mw-file-element {
max-width: 100%;
height: auto;
}
#front-extra {
grid-area: 7 / 3 / 8 / 4;
font-size: 10pt;
font-style: italic;
}
#front-extra .front-inside {
padding: 20px;
}
.mw-parser-output #frontpage a.external {
background-image: none;
background-position: center right;
background-repeat: no-repeat;
background-size: auto;
padding-right: 0;
}