MediaWiki:Common.css

From Thessarpedia
Revision as of 21:51, 19 November 2026 by Rubicon (talk | contribs) (Nieuw thema: donker leer rondom, perkament leesvlak, goud en bordeauxrood als accent)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =====================================================
   Thessarpedia thema
   Donker leer rondom, perkament als leesvlak.
   ===================================================== */

:root {
	--th-ink: #2a1f14;
	--th-ink-soft: #6b5a45;
	--th-parchment: #f7efdc;
	--th-card: #fffaf0;
	--th-line: #d8c9a8;
	--th-line-soft: #ebdfc4;
	--th-accent: #8a2b12;
	--th-gold: #c9a24a;
	--th-dark: #221810;
	--th-dark-2: #33251a;
	--th-cream: #eadfc6;
	--th-link: #1d5a7a;
	--th-serif: 'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Palladio L', Georgia, serif;
}

/* ---------- Pagina en achtergrond ---------- */
html, body {
	background-color: var(--th-dark);
	background-image: radial-gradient(ellipse at 50% -10%, #4a3524 0%, var(--th-dark-2) 38%, var(--th-dark) 78%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}
body {
	position: relative;
	max-width: 1340px;
	margin-left: auto !important;
	margin-right: auto !important;
}
#mw-page-base { background: transparent; background-image: none; height: 5em; }
#mw-head-base { background: transparent; }

/* ---------- Leesvlak ---------- */
.mw-body {
	background-color: var(--th-parchment);
	color: var(--th-ink);
	border: 1px solid var(--th-gold);
	border-radius: 8px;
	margin-right: 12px;
	margin-top: -1px;
	padding: 1.4em 2em 2em 2em;
	box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}
.mw-body-content { font-size: 0.95em; line-height: 1.7; }
.mw-body-content p { margin: 0.5em 0 0.9em 0; }

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4,
.mw-body .firstHeading, .infobox-title, .sessie-titel {
	font-family: var(--th-serif);
	color: var(--th-accent);
}
.mw-body .firstHeading { font-size: 2.3em; border-bottom: 2px solid var(--th-gold); padding-bottom: 0.15em; margin-bottom: 0.4em; }
.mw-body-content h2 { font-size: 1.6em; border-bottom: 1px solid var(--th-line); margin-top: 1.4em; }
.mw-body-content .mw-heading1, .mw-body-content .mw-heading2 { border-bottom-color: var(--th-line); }
.mw-body-content .mw-heading2 h2 { border-bottom: 0; }
.mainpage_hero .mw-heading { border: 0; margin: 0; padding: 0; }
.mainpage_box .mw-heading2 { margin-top: 0.7em; }
.mw-body-content h3 { font-size: 1.25em; color: var(--th-ink); }
.mw-body-content h4 { font-size: 1.08em; color: var(--th-ink); }

.mw-body a, .mw-body a:visited { color: var(--th-link); }
.mw-body a:hover { color: var(--th-accent); }
.mw-body a.new, .mw-body a.new:visited { color: #b3261e; }
.mw-body a.external { color: var(--th-link); }
.mw-editsection, .mw-editsection a { font-family: sans-serif; font-size: 0.75rem; color: var(--th-ink-soft) !important; }

/* ---------- Bovenbalk: persoonlijke links, tabs, zoeken ---------- */
#p-personal { right: 14px; }
#p-personal li a, #p-personal li a:visited { color: var(--th-cream); }
#p-personal li a.new { color: #e8a79c; }
#p-personal a:hover { color: #fff; }

.vector-menu-tabs, .vector-menu-tabs ul, .vector-menu-tabs li,
.vector-menu-tabs .mw-list-item a, #mw-head .vector-menu-dropdown .vector-menu-heading {
	background-image: none !important;
}
.vector-menu-tabs li {
	background-color: rgba(247,239,220,0.14);
	border-radius: 6px 6px 0 0;
	margin-right: 3px;
}
.vector-menu-tabs li a, .vector-menu-tabs li a:visited { color: var(--th-cream); }
.vector-menu-tabs li:hover { background-color: rgba(247,239,220,0.28); }
.vector-menu-tabs li.selected { background-color: var(--th-parchment); }
.vector-menu-tabs li.selected a, .vector-menu-tabs li.selected a:visited { color: var(--th-ink); }
#mw-head .vector-menu-dropdown .vector-menu-heading { color: var(--th-cream); }
#right-navigation { margin-right: 12px; }

#p-search { margin-right: 0; }
#simpleSearch { border-radius: 6px; overflow: hidden; }
#searchInput { background: var(--th-card); border: 1px solid var(--th-gold); border-radius: 6px; color: var(--th-ink); }

/* Tabs die we niet gebruiken */
#ca-talk, #ca-nstab-main, #ca-unwatch, #ca-nstab-mediawiki { display: none !important; }

/* ---------- Zijbalk ---------- */
#mw-panel { padding-left: 4px; }
#p-logo { height: 150px; margin-bottom: 26px; }
#p-logo a { filter: invert(1) sepia(0.35) brightness(0.92); background-size: 104px auto; height: 120px; }
#p-logo::after {
	content: "Thessarpedia";
	display: block;
	text-align: center;
	font-family: var(--th-serif);
	font-size: 1.25em;
	letter-spacing: 0.04em;
	color: var(--th-gold);
	margin-top: -2px;
}
#mw-panel .vector-menu-portal { margin: 0 0.4em 0 0.5em; padding: 0.3em 0 0.5em 0; }
#mw-panel .vector-menu-portal .vector-menu-heading {
	background-image: none;
	border-bottom: 1px solid rgba(201,162,74,0.45);
	color: var(--th-gold);
	font-family: var(--th-serif);
	font-size: 0.82em;
	font-weight: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0.6em 0 0.3em 0.5em;
	padding: 0.2em 0;
}
#mw-panel .vector-menu-portal .vector-menu-content li a,
#mw-panel .vector-menu-portal .vector-menu-content li a:visited { color: var(--th-cream); }
#mw-panel .vector-menu-portal .vector-menu-content li a:hover { color: #fff; text-decoration: none; }
#mw-panel .vector-menu-portal .vector-menu-content li { font-size: 0.8em; padding: 0.22em 0; }

/* ---------- Voettekst ---------- */
#footer { background: transparent; color: var(--th-cream); }
#footer li, #footer a, #footer a:visited { color: var(--th-cream); opacity: 0.75; }
#footer-places-privacy, #footer-places-about, #footer-places-disclaimer, #footer-info-lastmod { display: none; }

/* ---------- Kaarten: voorpagina en portalen ---------- */
.mainpage_row {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 -6px;
}
.mainpage_box {
	flex: 1;
	margin: 6px;
	min-width: 220px;
	background: var(--th-card);
	border: 1px solid var(--th-line);
	border-top: 3px solid var(--th-gold);
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(59,42,26,0.14);
	padding: 4px 16px 16px 16px;
}
.mw-body-content .mainpage_box h2 { margin-top: 0.7em; font-size: 1.3em; }
.mainpage_box p:last-child { margin-bottom: 0; }
.mainpage_hero {
	text-align: center;
	padding: 22px 16px 20px 16px;
	margin: 0 0 6px 0;
	color: var(--th-cream);
	background: linear-gradient(160deg, #5a1c0c 0%, #3a2416 55%, #2a1c12 100%);
	border: 1px solid var(--th-gold);
	border-top: 1px solid var(--th-gold);
}
.mw-body-content .mainpage_hero h2 { border: 0; font-size: 2.4em; margin: 0 0 0.1em 0; color: #f6e7c1; }
.mainpage_hero h2 a, .mainpage_hero h2 a:visited { color: #f6e7c1; }
.mainpage_hero .hero-sub { font-style: italic; color: #d9c8a4; font-family: var(--th-serif); font-size: 1.1em; }
.mainpage_hero .hero-links { margin-top: 0.9em; }
.mainpage_hero .hero-links a, .mainpage_hero .hero-links a:visited { color: var(--th-gold); }
.mainpage_hero .hero-links a:hover { color: #fff; }
.mainpage_box .mw-inputbox-input { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
body.page-Main_Page h1#firstHeading { display: none; }
body.page-Main_Page .catlinks { display: none; }

/* ---------- Infobox ---------- */
.infobox {
	background: var(--th-card);
	border: 1px solid var(--th-line);
	border-top: 3px solid var(--th-gold);
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(59,42,26,0.14);
	float: right;
	clear: right;
	margin: 0 0 1em 1.5em;
	padding: 10px 12px;
	width: 300px;
}
.infobox-title { font-size: 1.5em; text-align: center; border-bottom: 1px solid var(--th-line); padding-bottom: 4px; margin-bottom: 8px; }
.infobox-image { text-align: center; }
.infobox-image img { max-width: 100%; height: auto; border-radius: 4px; }
.infobox table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.infobox th { text-align: left; vertical-align: top; width: 110px; color: var(--th-ink-soft); font-weight: 600; padding: 3px 6px 3px 0; }
.infobox td { vertical-align: top; padding: 3px 0; }
.infobox tr + tr th, .infobox tr + tr td { border-top: 1px solid var(--th-line-soft); }

/* ---------- Tabellen, inhoudsopgave, afbeeldingen ---------- */
.wikitable { background: var(--th-card); border-color: var(--th-line); color: var(--th-ink); }
.wikitable > tr > th, .wikitable > * > tr > th { background: #e6d9bb; border-color: var(--th-line); font-family: var(--th-serif); }
.wikitable > tr > td, .wikitable > * > tr > td { border-color: var(--th-line); }
.wikitable > * > tr:nth-child(even) > td { background: #fbf4e3; }
.toc, .mw-warning, .toccolours { background: var(--th-card); border: 1px solid var(--th-line); border-radius: 6px; padding: 8px 12px; }
.thumbinner { background: var(--th-card); border-color: var(--th-line); border-radius: 4px; }
.thumbcaption { color: var(--th-ink-soft); font-style: italic; }
.mw-body-content blockquote { border-left: 3px solid var(--th-gold); margin-left: 0; padding: 0.2em 1em; color: var(--th-ink-soft); font-family: var(--th-serif); font-style: italic; }
.mw-body-content pre, .mw-body-content code { background: #f1e6cc; border-color: var(--th-line); color: var(--th-ink); }
.catlinks { background: var(--th-card); border: 1px solid var(--th-line); border-radius: 6px; }

/* ---------- Kop van een sessieverslag ---------- */
.sessie-kop {
	background: var(--th-card);
	border: 1px solid var(--th-line);
	border-left: 5px solid var(--th-accent);
	border-radius: 6px;
	padding: 10px 14px;
	margin: 0 0 1.2em 0;
}
.sessie-campagne { font-size: 0.85em; color: var(--th-ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.sessie-titel { font-size: 1.8em; line-height: 1.25; margin: 2px 0 4px 0; }
.sessie-meta { color: var(--th-ink-soft); font-size: 0.92em; }
.sessie-meta span + span::before { content: " · "; }
.sessie-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--th-line-soft); }
.sessie-nav span { flex: 1; }
.sessie-overzicht { text-align: center; }
.sessie-volgende { text-align: right; }
.sessie-kop-kort { border-left-width: 1px; margin-top: 2em; clear: both; }
.sessie-kop-kort .sessie-nav { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Navigatiebalk onderaan avonturen ---------- */
.avonturen-nav {
	clear: both;
	text-align: center;
	background: var(--th-card);
	border: 1px solid var(--th-line);
	border-top: 3px solid var(--th-gold);
	border-radius: 6px;
	padding: 8px 12px;
	margin-top: 2em;
	line-height: 1.8;
}

/* ---------- Knoppen ---------- */
.mw-body .mw-ui-button.mw-ui-progressive, .mw-body .cdx-button--action-progressive.cdx-button--weight-primary,
.mw-body .mw-inputbox-centered .mw-ui-button, .mw-body input[type="submit"].mw-ui-button, .mw-body .mw-inputbox-form .cdx-button {
	background-color: var(--th-accent);
	border-color: #6d200c;
	color: #fff;
}
.mw-body .mw-inputbox-form .cdx-button:hover { background-color: #a5361a; }
.mw-body .cdx-text-input__input, .mw-body .mw-inputbox-input { background: #fff; border-color: var(--th-line); }

@media screen and (max-width: 719px) {
	.thumb { float: none; }
	.thumb, .thumbinner { margin-left: auto; margin-right: auto; }
	.infobox { float: none; width: auto; margin: 0 0 1em 0; }
}