Málle:Ovdasiidu/stiila.css
Olggosoaidnin
.ovdaboksa {
width: 100%;
font-family:"Raleway", "Noto Sans", sans-serif;
font-weight: 500;
line-height: 2rem;
color: #535353;
}
body.skin-vector-legacy .ovdaboksa,
body.skin-monobook .ovdaboksa {
font-size: 13pt;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Raleway", "Noto Sans", sans-serif;
font-weight: 600;
border: 0;
}
#header1, #header2, .sisdoallu, .meta {
width: 100%;
}
#header1, #header2 {
display: flex;
align-items: center;
justify-content: flex-start;
background-color: #c2dba8;
grid-row: 1;
}
#header1 .stuoris {
font-size: 200%;
font-weight: bold;
}
#header2 {
position: relative;
}
#header2 div {
margin: 0 auto;
font-size: smaller;
}
#header2 div::before {
content: "";
position: absolute;
border-left: 2px solid #fff;
height: 40%;
top: 30%;
left: 0;
}
#header2 a {
color: #000;
}
.meta {
background-color: #e9f3de;
background-image: url("//upload.wikimedia.org/wikipedia/commons/9/9b/%C3%81rvu-minsttar4b.svg");
background-repeat: repeat-x;
background-position: bottom center;
padding-bottom: 4vw;
background-size: 4vw;
border-bottom: 1vw solid #e9f3de;
}
.sisdoalluboksa, .metaboksa {
padding: 2rem;
padding-bottom: 0;
}
#vahku_artihkkal .teaksta {
padding-left: 2vw;
}
#vahku_artihkkal .teaksta.ii_govva {
padding-left: 0;
}
#dihtetgo_ahte .teaksta {
padding-right: 2vw;
}
#dihtetgo_ahte ul, #dihtetgo_ahte ul li {
list-style-type: none;
list-style-image: none;
position: relative;
}
#dihtetgo_ahte ul li::before {
content: "… ";
position: absolute;
left: -1em;
}
#vahku_artihkkal .govva, #dihtetgo_ahte .govva {
flex-basis: auto;
}
.govva img {
max-width: 200px;
max-height: 200px;
width: 10vw;
height: 10vw;
object-fit: cover;
border: 1px solid #ccc;
box-sizing: border-box;
}
.gierdugovva img {
border-radius: 50%;
}
.kvadrahtagovva img {
border-radius: 1vw;
}
.rektangelgovva img, body.skin-minerva .gierdugovva img, body.skin-minerva .kvadrahtagovva img {
border-radius: 1vw;
width: auto;
height: auto;
}
#vahku_artihkkal, #dihtetgo_ahte {
display: flex;
justify-content: space-between;
align-items: center;
}
#vahku_artihkkal {
flex-direction: row;
}
#vahku_artihkkal ul, #eara_gielaide > ul {
list-style-image: url("//upload.wikimedia.org/wikipedia/commons/e/e9/%C3%81rvu-ruon%C3%A1-njuolla-o.svg");
margin-left: 16px;
}
#vahku_artihkkal ul li, #wikipedia_birra ul li, #eara_gielaide > ul li {
padding-left: 1vw;
}
#dihtetgo_ahte {
flex-direction: row-reverse;
}
#beaivvi_govva {
margin-top: 4vw;
position: relative;
}
#beaivvi_govva .h2 {
padding: 0 2rem;
}
#beaivvi_govva figure,
#beaivvi_govva figure a {
display: contents;
}
#beaivvi_govva img {
width: 100%;
max-height: 20vw;
transition: all 1s ease;
object-fit: cover;
}
#beaivvi_govva:hover img {
max-height: 30vw;
}
#beaivvi_govva .govvateaksta {
position: absolute;
left: 1vw;
bottom: 1vw;
padding: 0.5rem;
background: rgba(255,255,255,0.8);
border-radius: 0.5rem;
max-width: 25rem;
}
body.skin-minerva #beaivvi_govva .govvateaksta {
position: relative;
padding: 0 4vw;
background: none;
border-radius: 0;
max-width: none;
left: 0;
bottom: 0;
}
#eara_gielaide div {
font-family: sans-serif;
}
#wikipedia_birra ul {
list-style-image: url("//upload.wikimedia.org/wikipedia/commons/2/24/%C3%81rvu-r%C3%A1nes-njuolla-o.svg");
margin-left: 16px;
}
#veahkehit ul {
font-size: smaller;
}
.logo {
background-color: transparent;
background-image: linear-gradient(90deg, #e9f3de 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, #e9f3de 100%);
transition: background-color 200ms;
max-width: 25em;
margin: 0 auto;
padding: 0.5rem 0;
}
.logo:hover {
background-color: #c2dba8;
}
.logo a, .logo a.extiw, .logo a.external {
color: #000;
display: block;
text-decoration: none;
padding-left: calc( 50px + 1vw );
background-position: left center;
background-repeat: no-repeat;
background-size: 50px;
font-weight: 500;
}
.logo a b, .logo a:hover b {
text-decoration: none;
}
.commons a, .commons a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/7/76/Notification-icon-Commons-logo.svg");
}
.wikidata a, .wikidata a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/6/67/Notification-icon-Wikidata-logo.svg");
}
.incubator a, .incubator a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/1/1a/Notification-icon-Incubator-logo.svg");
}
.wikifunctions a, .wikifunctions a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/4/45/Notification-icon-Wikifunctions-logo.svg");
}
.metawiki a, .metawiki a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/8/86/Notification-icon-Meta-logo.svg");
}
.wikibooks a, .wikibooks a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/e/e0/Notification-icon-Wikibooks-logo.svg");
}
.wikinews a, .wikinews a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/5/57/Notification-icon-Wikinews-logo.svg");
}
.wikiquote a, .wikiquote a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/5/5a/Notification-icon-Wikiquote.svg");
}
.wikisource a, .wikisource a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/5/5a/Notification-icon-Wikisource-logo.svg");
}
.wikispecies a, .wikispecies a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/0/08/Notification-icon-Wikispecies-logo.svg");
}
.wikiversity a, .wikiversity a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/0/01/Notification-icon-Wikiversity-logo.svg");
}
.wikivoyage a, .wikivoyage a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/4/47/Notification-icon-Wikivoyage-logo.svg");
}
.wiktionary a, .wiktionary a.external {
background-image: url("//upload.wikimedia.org/wikipedia/commons/a/ac/Notification-icon-Wiktionary-logo.svg");
}
#wikimedia-proseavttat .mw-collapsible-toggle {
float: none;
text-align: center;
color: #000;
margin:1vw auto;
max-width: 15em;
box-shadow: 0 0 1em #ccc;
border-radius: 1em;
}
#wikimedia-proseavttat .mw-collapsible-toggle:focus {
outline: none;
}
body.skin-minerva .mw-collapsible-toggle {
display: none;
}
#wikimedia-proseavttat .mw-collapsible-toggle .vulos,
#wikimedia-proseavttat .mw-collapsed .mw-collapsible-toggle .bajas {
display: none;
}
#wikimedia-proseavttat .mw-collapsible-toggle .bajas,
#wikimedia-proseavttat .mw-collapsed .mw-collapsible-toggle .vulos {
display: block;
margin-left: 20px;
background-repeat: no-repeat;
background-position: left center;
background-size: 13px;
}
.bajas {
background-image: url("//upload.wikimedia.org/wikipedia/commons/e/eb/%C3%81rvu-r%C3%A1nes-njuolla-b.svg");
}
.vulos {
background-image: url("//upload.wikimedia.org/wikipedia/commons/5/52/%C3%81rvu-r%C3%A1nes-njuolla-v.svg");
}
@media ( max-width:1119px ) {
.ovdaboksa {
display: flex;
flex-direction: column;
font-size: 100%;
}
#header1 {
background-image: url("//upload.wikimedia.org/wikipedia/commons/d/d8/%C3%81rvu-minsttar1v.svg");
background-repeat: repeat-x;
background-position: top center;
background-size: 4vw;
background-attachment: scroll;
padding-top: 4vw;
border-top: 0.5vw solid #c2dba8;
}
#header1 div {
margin: 1em auto;
}
#header2 {
display: none;
}
.meta {
background-image: url("//upload.wikimedia.org/wikipedia/commons/a/a5/%C3%81rvu-minsttar4n.svg");
background-repeat: repeat-x;
background-position: top center;
padding-bottom: 0;
padding-top: 4vw;
background-size: 4vw;
border-top: 1vw solid #e9f3de;
border-bottom: none;
}
.sisdoalluboksa, .metaboksa {
padding: 2vw 2vw 0 2vw;
}
#vahku_artihkkal .teaksta {
padding-left: 2vw;
}
#dihtetgo_ahte .teaksta {
padding-right: 2vw;
}
#vahku_artihkkal .govva, #dihtetgo_ahte .govva {
width: 190px;
}
.gierdugovva img {
width: 170px;
height: 170px;
}
.rektangelgovva img {
width: 170px;
height: auto;
}
#beaivvi_govva .govvateaksta {
position: relative;
padding: 0 2vw;
background: none;
border-radius: 0;
max-width: none;
left: 0;
bottom: 0;
}
}
@media (min-width:1120px) {
.ovdaboksa {
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: 15rem auto;
flex-direction: column;
}
#header1 {
background-image: url("//upload.wikimedia.org/wikipedia/commons/d/d2/%C3%81rvu-minsttar4o.svg"),
url("//upload.wikimedia.org/wikipedia/commons/0/04/%C3%81rvu-minsttar3o.svg"),
url("//upload.wikimedia.org/wikipedia/commons/9/92/%C3%81rvu-minsttar2o.svg"),
url("//upload.wikimedia.org/wikipedia/commons/8/81/%C3%81rvu-minsttar1o.svg");
background-repeat: repeat-y;
background-position: 1.5vw, 3.5vw, 6.5vw, 9vw;
background-size: 2vw;
}
#header1 div {
margin-left: 17vw;
}
#header1, .sisdoallu {
grid-column: 1;
}
#header2, .meta {
grid-column: 2;
}
#eara_gielaide {
display: grid;
grid-template-columns: 49% auto 49%;
}
#eara_gielaide h2 {
grid-column: span 3;
}
#eara_gielaide #samegielat {
grid-column: 1;
}
#eara_gielaide #rannjagielat {
grid-column: 3;
}
#eara_gielaide ul {
grid-column: span 3;
margin: 0 auto;
}
}