Difference between revisions of "MediaWiki:Common.css"

From TetrisWiki
Jump to navigation Jump to search
Line 33: Line 33:
 
.page-Tetris_wiki .firstHeading {
 
.page-Tetris_wiki .firstHeading {
 
display: none;
 
display: none;
 +
}
 +
 +
.main-page-header {
 +
 +
}
 +
.main-page-header h1 {
 +
border-bottom: none;
 +
}
 +
.main-page-header__nav ul {
 +
display: flex;
 +
flex-wrap: wrap;
 +
list-style: none;
 +
justify-content: space-around;
 +
}
 +
.main-page-header__nav li a {
 +
background: #347CFF;
 +
color: white;
 +
padding: 5px 2px;
 +
border-radius: 2px;
 +
}
 +
.main-page-header__nav li a:visited {
 +
color: white;
 
}
 
}

Revision as of 05:50, 4 February 2020

/* CSS placed here will be applied to all skins */

/* Spaces direct children 10 px apart, top and bottom. */
.spaced-10 > * {
	margin: 5px;
}

/* Extension:Math */
/* https://www.mediawiki.org/wiki/Extension:Math/advancedSettings#CSS_for_the_MathML_with_SVG_fallback_mode */
/*
.mwe-math-mathml-a11y {
	clip: auto !important;
	overflow: visible !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	opacity: 1 !important;
}
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
	display: none !important;
}
*/
/* .mw-body, */
/*
mtext {
	font-family: Latin Modern Roman;
}
math {
	font-family: Latin Modern Math;
}
*/
/* Front page styles */
.page-Tetris_wiki .firstHeading {
	display: none;
}

.main-page-header {

}
.main-page-header h1 {
	border-bottom: none;
}
.main-page-header__nav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	justify-content: space-around;
}
.main-page-header__nav li a {
	background: #347CFF;
	color: white;
	padding: 5px 2px;
	border-radius: 2px;
}
.main-page-header__nav li a:visited {
	color: white;
}