Ero sivun ”Järjestelmäviesti:Common.css” versioiden välillä
Seikkailuoppaasta
| Rivi 1: | Rivi 1: | ||
| + | #mw-page-header-links { | ||
| + | display: none !important; | ||
| + | } | ||
| + | |||
#mw-header-hack * { | #mw-header-hack * { | ||
background-color: transparent; | background-color: transparent; | ||
| Rivi 6: | Rivi 10: | ||
background: rgb(139,17,193); | background: rgb(139,17,193); | ||
background: linear-gradient(90deg, rgba(139,17,193,1) 0%, rgba(205,0,202,1) 100%); | background: linear-gradient(90deg, rgba(139,17,193,1) 0%, rgba(205,0,202,1) 100%); | ||
| + | } | ||
| + | |||
| + | /* Timeless skin: no indefinite content width */ | ||
| + | @media screen and (min-width: 851px) { | ||
| + | .color-middle-container, .ts-inner { | ||
| + | max-width: 1500px; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | /* Infobox template style */ | ||
| + | .infobox { | ||
| + | border: 1px solid #a2a9b1; | ||
| + | border-spacing: 3px; | ||
| + | background-color: #f8f9fa; | ||
| + | color: black; | ||
| + | /* @noflip */ | ||
| + | margin: 0.5em 0 0.5em 1em; | ||
| + | padding: 0.2em; | ||
| + | /* @noflip */ | ||
| + | float: right; | ||
| + | /* @noflip */ | ||
| + | clear: right; | ||
| + | font-size: 88%; | ||
| + | line-height: 1.5em; | ||
| + | } | ||
| + | .infobox caption { | ||
| + | font-size: 125%; | ||
| + | font-weight: bold; | ||
| + | padding: 0.2em; | ||
| + | text-align: center; | ||
| + | } | ||
| + | .infobox td, | ||
| + | .infobox th { | ||
| + | vertical-align: top; | ||
| + | /* @noflip */ | ||
| + | text-align: left; | ||
| + | } | ||
| + | .infobox.bordered { | ||
| + | border-collapse: collapse; | ||
| + | } | ||
| + | .infobox.bordered td, | ||
| + | .infobox.bordered th { | ||
| + | border: 1px solid #a2a9b1; | ||
| + | } | ||
| + | .infobox.bordered .borderless td, | ||
| + | .infobox.bordered .borderless th { | ||
| + | border: 0; | ||
| + | } | ||
| + | |||
| + | .infobox.sisterproject { | ||
| + | width: 20em; | ||
| + | font-size: 90%; | ||
| + | } | ||
| + | |||
| + | .infobox.standard-talk { | ||
| + | border: 1px solid #c0c090; | ||
| + | background-color: #f8eaba; | ||
| + | } | ||
| + | .infobox.standard-talk.bordered td, | ||
| + | .infobox.standard-talk.bordered th { | ||
| + | border: 1px solid #c0c090; | ||
| + | } | ||
| + | |||
| + | /* styles for bordered infobox with merged rows */ | ||
| + | .infobox.bordered .mergedtoprow td, | ||
| + | .infobox.bordered .mergedtoprow th { | ||
| + | border: 0; | ||
| + | border-top: 1px solid #a2a9b1; | ||
| + | /* @noflip */ | ||
| + | border-right: 1px solid #a2a9b1; | ||
| + | } | ||
| + | |||
| + | .infobox.bordered .mergedrow td, | ||
| + | .infobox.bordered .mergedrow th { | ||
| + | border: 0; | ||
| + | /* @noflip */ | ||
| + | border-right: 1px solid #a2a9b1; | ||
| + | } | ||
| + | |||
| + | @media screen and (max-width: 768px) { | ||
| + | .infobox { | ||
| + | float: none; | ||
| + | margin-left: auto; | ||
| + | margin-right: auto; | ||
| + | width: 100%; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | |||
| + | .x-flexbox { | ||
| + | display: flex; | ||
| + | flex-wrap: wrap; | ||
| + | flex-basis: 100%; | ||
| + | } | ||
| + | |||
| + | .x-flex-1 { flex: calc(100%/12); } | ||
| + | .x-flex-2 { flex: calc(calc(100%/12)*2); } | ||
| + | .x-flex-3 { flex: calc(calc(100%/12)*3); } | ||
| + | .x-flex-4 { flex: calc(calc(100%/12)*4); } | ||
| + | .x-flex-5 { flex: calc(calc(100%/12)*5); } | ||
| + | .x-flex-6 { flex: calc(calc(100%/12)*6); } | ||
| + | .x-flex-7 { flex: calc(calc(100%/12)*7); } | ||
| + | .x-flex-8 { flex: calc(calc(100%/12)*8); } | ||
| + | .x-flex-9 { flex: calc(calc(100%/12)*9); } | ||
| + | .x-flex-10 { flex: calc(calc(100%/12)*10); } | ||
| + | .x-flex-11 { flex: calc(calc(100%/12)*11); } | ||
| + | .x-flex-12 { flex: 100%; } | ||
| + | |||
| + | @media (max-width: 768px) { | ||
| + | .x-flexbox .x-flex { | ||
| + | flex: 100% !important; | ||
| + | } | ||
| + | .x-flexbox .x-flex-1, .x-flexbox .x-flex-2 { | ||
| + | flex: 50% !important; | ||
| + | } | ||
} | } | ||
Versio 12. kesäkuuta 2022 kello 22.38
#mw-page-header-links {
display: none !important;
}
#mw-header-hack * {
background-color: transparent;
}
#mw-header-hack {
background: rgb(139,17,193);
background: linear-gradient(90deg, rgba(139,17,193,1) 0%, rgba(205,0,202,1) 100%);
}
/* Timeless skin: no indefinite content width */
@media screen and (min-width: 851px) {
.color-middle-container, .ts-inner {
max-width: 1500px;
}
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
text-align: center;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
@media screen and (max-width: 768px) {
.infobox {
float: none;
margin-left: auto;
margin-right: auto;
width: 100%;
}
}
.x-flexbox {
display: flex;
flex-wrap: wrap;
flex-basis: 100%;
}
.x-flex-1 { flex: calc(100%/12); }
.x-flex-2 { flex: calc(calc(100%/12)*2); }
.x-flex-3 { flex: calc(calc(100%/12)*3); }
.x-flex-4 { flex: calc(calc(100%/12)*4); }
.x-flex-5 { flex: calc(calc(100%/12)*5); }
.x-flex-6 { flex: calc(calc(100%/12)*6); }
.x-flex-7 { flex: calc(calc(100%/12)*7); }
.x-flex-8 { flex: calc(calc(100%/12)*8); }
.x-flex-9 { flex: calc(calc(100%/12)*9); }
.x-flex-10 { flex: calc(calc(100%/12)*10); }
.x-flex-11 { flex: calc(calc(100%/12)*11); }
.x-flex-12 { flex: 100%; }
@media (max-width: 768px) {
.x-flexbox .x-flex {
flex: 100% !important;
}
.x-flexbox .x-flex-1, .x-flexbox .x-flex-2 {
flex: 50% !important;
}
}