MediaWiki:Common.css: Difference between revisions

From MHWiki
No edit summary
No edit summary
Line 45: Line 45:
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
justify-content: space-between;
align-content: space-between;
width: 360px;
width: 360px;
max-width: 100%;
max-width: 100%;
Line 53: Line 52:


.nav-center p {
.nav-center p {
margin: 6px auto;
margin: 6px;
font-weight: bold;
font-weight: bold;
background-color: #00000044;
background-color: #00000044;

Revision as of 02:03, 26 April 2024

/* CSS placed here will be applied to all skins */
.center {
	text-align:center;
	margin:auto;
}

.compact {
	padding:0px;
}

.italic {
	font-style:italic;
}

.wide {
	white-space:nowrap;
	width:100%;
}

.wide a {
	font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
}

.nowrap {
	white-space:nowrap;
}

.float {
	float:left;
}

.notice {
	background-color:#FFDD0040;
}

.warning {
	background-color:#FF001040;
}

.important {
	background-color:#00FF0040;
}

.nav-center {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 360px;
	max-width: 100%;
	margin: auto;
}

.nav-center p {
	margin: 6px;
	font-weight: bold;
	background-color: #00000044;
	border-radius: 5px;
	padding: 5px 15px;
}

.nav-center p::before {
	content: "»";
}

.nav-center p::after {
	content: "«";
}

.mhnow-rare1 {
	background-color: #93ABAB;
	color: white;
	font-weight: bold;
	text-shadow: 0px 0px 3px black;
}

.mhnow-rare2 {
	background-color: #4ABB56;
	color: white;
	font-weight: bold;
	text-shadow: 0px 0px 3px black;
}

.mhnow-rare3 {
	background-color: #4B8ACA;
	color: white;
	font-weight: bold;
	text-shadow: 0px 0px 3px black;
}

.mhnow-rare4 {
	background-color: #C36AE2;
	color: white;
	font-weight: bold;
	text-shadow: 0px 0px 3px black;
}

.mhnow-rare5 {
	background-color: #F0B83A;
	color: white;
	font-weight: bold;
	text-shadow: 0px 0px 3px black;
}

.mhnow-rare6 {
	background-color: #FD6B6B;
	color: white;
	font-weight: bold;
	text-shadow: 0px 0px 3px black;
}

.mw-collapsible .mw-collapsible-toggle {
    float:right;
    font-weight:bold;
    font-size:1.15rem;
}