Järjestelmäviesti:Common.css

Seikkailuoppaasta
Versio hetkellä 13. kesäkuuta 2022 kello 22.33 – tehnyt Tapsa (keskustelu | muokkaukset)

Huomautus: Selaimen välimuisti pitää tyhjentää asetusten tallentamisen jälkeen, jotta muutokset tulisivat voimaan.

  • Firefox ja Safari: Napsauta Shift-näppäin pohjassa Päivitä, tai paina Ctrl-F5 tai Ctrl-R (⌘-R Macilla)
  • Google Chrome: Paina Ctrl-Shift-R (⌘-Shift-R Macilla)
  • Internet Explorer: Napsauta Ctrl-näppäin pohjassa Päivitä tai paina Ctrl-F5
  • Opera: Valikko → Asetukset (Opera → Asetukset Macilla) ja sitten Tietosuoja ja turvallisuus → Tyhjennä selaustiedot → Välimuistissa olevat kuvat ja tiedostot.
@import url('https://fonts.lehtodigital.fi/css?family=Barlow:ital,wght@0,100;0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

body {
	font-family: 'Barlow', sans-serif;
	font-weight: 300;
}

.wordmark img {
	height: 100%;
	max-height: 38px;
}

#mw-page-header-links {
	display: none !important;
}

#mw-header-hack * {
	background-color: transparent;
}

#mw-header-hack {
	background: rgb(77,124,46);
	background: linear-gradient(90deg, rgba(77,124,46,1) 0%, rgba(15,104,107,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;
	}
}