MediaWiki:Common.css: Difference between revisions

From Thessarpedia
Jump to navigation Jump to search
Opmaak opgefrist: koppen, kaarten, infobox, sessiekop; sectiebewerken weer aan
Kleine opmaakcorrecties voorpagina
Line 200: Line 200:
.mainpage_box h2 { margin-top: 0.6em; font-size: 1.35em; }
.mainpage_box h2 { margin-top: 0.6em; font-size: 1.35em; }
.mainpage_hero { text-align: center; padding: 14px; margin: 5px 0 5px 0; }
.mainpage_hero { text-align: center; padding: 14px; margin: 5px 0 5px 0; }
.mainpage_hero h2 { border: 0; font-size: 1.9em; margin: 0.2em 0; }
.mw-body .mainpage_hero h2 { border: 0; font-size: 1.9em; margin: 0.2em 0; }
.mainpage_box .mw-inputbox-input { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.mainpage_hero .hero-sub { font-style: italic; color: #6b5a45; }
.mainpage_hero .hero-sub { font-style: italic; color: #6b5a45; }
.mainpage_hero .hero-links { margin-top: 0.6em; }
.mainpage_hero .hero-links { margin-top: 0.6em; }

Revision as of 21:46, 19 November 2026

/* Infobox */

.infobox {
    background: transparent;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

/* Remove navigation from top of page */

#ca-talk { display:none!important; }
#ca-nstab-main { display:none!important; }
#ca-unwatch { display:none!important; }
#ca-nstab-mediawiki { display:none!important; }

/* change background color of top menu navigation */

.mw-portlet.mw-portlet-views.vector-menu.vector-menu-tabs {
background-image: linear-gradient(to bottom,#b5b5b5 0,#b5b5b5 100%);
}

.mw-portlet.mw-portlet-namespaces.vector-menu.vector-menu-tabs {
background-image: linear-gradient(to bottom,#f6eddf 0,#f6eddf 100%);
}

.mw-portlet.mw-portlet-views.vector-menu.vector-menu-tabs {
background-image: linear-gradient(to bottom,#b5b5b5 0,#b5b5b5 100%);
}

.vector-menu-tabs {
background-image: linear-gradient(to bottom,#f6eddf 0,#f6eddf 100%);
}


/* maakt de background van de bovenste balk doorzichtig */

#mw-page-base {
  background-color: transparent;
  background-image: none;
  background-position: bottom left;
  height: 5em;
}

/* Background color */


.mw-body {
    background-color: #f9f4eb;
}

body {
    background-color: #f6eddf;
   }

/* Change border color */

.mw-body {
  margin-top: -1px;
  border: 1px solid #b5b5b5;
    border-right-width: 1px;
  border-right-width: 1px;
}

/* Remove items from footer */

#footer-places-privacy { display: none; }
#footer-places-about { display: none; }
#footer-places-disclaimer { display: none; }
#footer-info-lastmod { display: none; }

/* Change button color */


.mw-list-item.collapsible {
     background-image: linear-gradient(to top,#000000 0,#f6eddf 1px,#ffffff 100%);
}
.new.mw-list-item {
     background-image: linear-gradient(to top,#000000 0,#f6eddf 1px,#ffffff 100%);
}


/* Add template for front page */

/* CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 : */
.mainpage_row {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 -5px 0 -5px;
}
.mainpage_box {
	flex: 1;
	margin: 5px;
	min-width: 210px;
	border: 1px solid #CCC;
	padding: 0 10px 10px 10px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.mainpage_box h3 {
	/* Reset padding so is equal across skins */
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
	/* Padding left gets overridden by headanchor gadget */
	margin: 0.5em 0;
}
/* Set padding left only if headanchor gadget is not enabled */
.mainpage_box h3:not(.tpl-vheadanchor-heading) {
	padding-left: 0;
}
.mainpage_box h3 .header_icon {
	float: left;
	margin-right: 5px;
}
.mainpage_box .items {
	border-top: 1px solid #CCC;
	padding-top: 0.5em;
}
.mainpage_box p:last-child {
	margin-bottom: 0;
}
.mainpage_boxcontents_small {
	font-size: 95%;
}
/* Style the "other languages" box the same way as other boxes on the main page */
.mw-pt-languages {
	display: block;
	background: none;
	border: 1px solid #CCC;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
	width: auto;
}
.mw-pt-languages-label {
	background: none;
	border-right: none;
}

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

/* Suppress "Main Page" page title on Main Page. */
body.page-Main_Page h1#firstHeading { display: none; }



/* Reducing the huge margins above and below paragraphs */
.page-content p + p {
	margin-top: 12px;
}
.page-content p, .page-content section {
	margin: 0 0 12px 0;
}

/* ===== Thessarpedia opmaak 2026 ===== */

/* Koppen in een schreefletter, passend bij het perkament */
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body .firstHeading,
.infobox-title, .sessie-titel {
	font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
	color: #3b2a1a;
}
.mw-body h1, .mw-body h2, .mw-body .firstHeading { border-bottom-color: #d8c9a8; }
.mw-body-content { line-height: 1.65; }

/* Kaarten op voorpagina en portalen */
.mainpage_box {
	background: #fffaf0;
	border: 1px solid #d8c9a8;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(59,42,26,0.12);
	padding: 4px 14px 14px 14px;
}
.mainpage_box h2 { margin-top: 0.6em; font-size: 1.35em; }
.mainpage_hero { text-align: center; padding: 14px; margin: 5px 0 5px 0; }
.mw-body .mainpage_hero h2 { border: 0; font-size: 1.9em; margin: 0.2em 0; }
.mainpage_box .mw-inputbox-input { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.mainpage_hero .hero-sub { font-style: italic; color: #6b5a45; }
.mainpage_hero .hero-links { margin-top: 0.6em; }
.mainpage_box .CategoryTreeTag { margin-top: 0.4em; }

/* Infobox */
.infobox {
	background: #fffaf0;
	border: 1px solid #d8c9a8;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(59,42,26,0.12);
	width: 300px;
	padding: 10px 12px;
}
.infobox-title { font-size: 1.5em; border-bottom: 1px solid #d8c9a8; padding-bottom: 4px; margin-bottom: 8px; }
.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; width: 110px; color: #6b5a45; font-weight: 600; padding: 3px 6px 3px 0; }
.infobox td { padding: 3px 0; }
.infobox tr + tr th, .infobox tr + tr td { border-top: 1px solid #efe4cc; }

/* Tabellen */
.wikitable { background: #fffaf0; border-color: #d8c9a8; }
.wikitable > tr > th, .wikitable > * > tr > th { background: #eadfc8; border-color: #d8c9a8; }
.wikitable > tr > td, .wikitable > * > tr > td { border-color: #d8c9a8; }

/* Kop van een sessieverslag */
.sessie-kop {
	background: #fffaf0;
	border: 1px solid #d8c9a8;
	border-left: 5px solid #8a3b1c;
	border-radius: 6px;
	padding: 10px 14px;
	margin: 0 0 1.2em 0;
}
.sessie-campagne { font-size: 0.9em; color: #6b5a45; text-transform: uppercase; letter-spacing: 0.04em; }
.sessie-titel { font-size: 1.7em; line-height: 1.25; margin: 2px 0 4px 0; }
.sessie-meta { color: #6b5a45; 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 #efe4cc; }
.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: #fffaf0;
	border: 1px solid #d8c9a8;
	border-radius: 6px;
	padding: 8px 12px;
	margin-top: 2em;
	line-height: 1.8;
}

/* Categoriebalk onderaan */
.catlinks { background: #fffaf0; border-color: #d8c9a8; border-radius: 6px; }

/* Afbeeldingen */
.thumbinner { background: #fffaf0; border-color: #d8c9a8; border-radius: 4px; }

/* Zijbalk */
#mw-panel .vector-menu-heading { color: #6b5a45; font-weight: 600; }