MediaWiki:Common.css

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.center
{ 
 margin-left: auto;   
 margin-right: auto; 
}

.right
{
  float:right;
}

body, body.skin--responsive {
	background: #FFFFFF url("https://seiwanetwork.org/images/bg.png");
	font-family: "Open Sans", sans-serif;
}

@media (prefers-color-scheme: dark){
	body, body.skin--responsive {
		background: #1c1c1c url("https://seiwanetwork.org/images/bg-dark.png");
		color: #DEDEDE;
	}
	
	body a, body.skin--responsive a {
		color: #79A6B9;
	}
}

/**********************************************
**
**		ARTICLES
**
**********************************************/
h1#firstHeading {
	display: inline-block;
	clear: both;
	border-bottom: none;
	margin: .5em 0;
	font-size: 2rem;
	line-height: 1.15;
	padding-top: 1rem;
	margin-bottom: 1.2rem;
	font-weight: 700;
	font-family: "Open Sans", sans-serif;
}

h1#firstHeading::after {
	margin-top: 0.1em;
	content: '';
	background: #CC0000;
	width: 100%;
	height: 0.1em;
	display: block;
}

h1, h2, h3, h4, h5, h6{
	color:#181818;
}

@media (prefers-color-scheme: dark){
	h1, h2, h3, h4, h5, h6{
		color:#EDEDED;
	}
}

/**********************************************
**
**		TABLES
**
**********************************************/
@media (prefers-color-scheme: dark){
	table, .wikitable {
		background: #181818;
		color: #EDEDED;
		border-color: #505050;
	}
	
	.wikitable > tr > th, .wikitable > * > tr > th {
		background-color: #373737;
	}
	
	.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
		border-color: #505050;
	}
}

/**********************************************
**
**		FOOTER
**
**********************************************/
@media (prefers-color-scheme: dark){
	#catlinks {
		background: #181818;
		border-color: #505050;
	}
}