Difference between revisions of "MediaWiki:Common.css"

From
Jump to: navigation, search
m
m
Line 1: Line 1:
 
/* TOC customisation: remove auto-numbering */
 
/* TOC customisation: remove auto-numbering */
 
 
.tocnumber {
 
.tocnumber {
 
display: none;
 
display: none;
 +
}
 +
 +
/* Table captions */
 +
div.tablecaption {
 +
color:  #244858;
 +
font-size: 90%;
 +
font-family: Georgia, serif;
 +
font-variant: small-caps;
 
}
 
}
  

Revision as of 12:22, 31 August 2020

/* TOC customisation: remove auto-numbering */
.tocnumber {
	display: none;
}

/* Table captions */
div.tablecaption {
	color:  #244858;
	font-size: 90%;
	font-family: Georgia, serif;
	font-variant: small-caps;
}

/* Import Google Fonts. Override default fonts with Open Sans.*/
@import url( 'https://fonts.googleapis.com/css2?family=Open+Sans ');
body {
	font-family: "Open Sans", sans-serif;
}
#content h1,
#content h2 { 
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
}

/* Standard Navigationsleisten, aka box hiding thingy from Wikipedia.de.
	Documentation at [https://en.wikipedia.org/wiki/Wikipedia:NavFrame|Wikipedia:NavFrame]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: left;
	border-collapse: collapse;
	font-size: 95%;
	font-family: Lucida Console, monospace;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	font-size: 100%;
	font-family: Lucida console, monospace;
	color: #fff;
	text-align: center;
	position: relative;
	background-color: #244858;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 90%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	right: 3px;
	color: #fff;
	font-weight: normal;
}
.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}
.navContent table {
	margin-left: 3px;
	text-align: left;
}

/* Infobox template style */
.infobox {
	width: 250px;
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox-title {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox-image {
	text-align: center;
	margin: 10px;
}
.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;
}

/* 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;
}

/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}
/* ...unless they also use the hlist class */
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
	text-align: inherit;
}

/* Generic information boxes */

.mbox {
	border: 1px solid #D3D3D3;
	padding: 5px;
}
.mbox.small
{
	width: 30%;
}