MediaWiki:Common.css: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* ADD TO SITE CSS */
.ui-tabs .ui-tabs-nav li a {
padding: 0.5em;
}
.mpcode {
color: var(--text-dim) !important;
background-color: var(--bg-code);
border: 1px solid var(--bd-mid);
box-shadow: 0 0 2px var(--bd-code-shd) inset;
border-radius: 1px;
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
font-size: 87.5%;
padding: 0.5rem;
margin-left: 1.6rem;
margin-bottom: 0.5rem;
white-space: pre
}
.detailed > .mpcode {
white-space: pre;
line-height: 1rem
}
.mpheading {
color: var(--text-sec) !important;
font-weight: 600;
line-height: 1.2;
text-transform: uppercase;
margin-top: 1.5rem;
margin-bottom: 0.5rem
}


/***** NavFrame example styles *****/
/***** NavFrame example styles *****/

Revision as of 17:17, July 3, 2021

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


/***** NavFrame example styles *****/
/*	from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #161619;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%
}

div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden
}

div.NavPic {
	background-color: #aaaaaa;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left
}

div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #262629;
	position: relative
}

div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%
}

div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both
}

a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%
}

.client-js .NavFrame.collapsed > .NavContent {
	display: none
}

/***** Step Tables on Project:Example_Collapsable_Elements *****/
.mw-collapsible-toggle-default,
.mw-collapsible-toggle-default::before,
.mw-collapsible-toggle-default::after {
	color: var(--bd-dim);
	font-size: 0.8rem;
	font-weight: normal
}

.mw-collapsible-toggle-default::before {
	padding-left: 0.3em
}

.mw-customtoggle, .mw-collapsible-toggle {
	cursor: pointer
}

body.page-Project_Example_Collapsable_Elements .steptable {
	border: none;
	background-color: transparent;
	width: 100%;
	font-size: 0.9em;
	line-height: 1.6em
}

body.page-Project_Example_Collapsable_Elements .steptablerow {
	border-bottom: 1px solid #666
}

body.page-Project_Example_Collapsable_Elements .steptable .detailed {
	text-align: left;
	padding-left: 0.5em 1.5em;
	background-color: var(--bg-pri-emph)
}

body.page-Project_Example_Collapsable_Elements .steptable th {
	background-color: var(--bg-sec-hd);
	border-bottom: 2px solid var(--bd-dims);
	border-left: 1px solid var(--bd-mid);
	padding: 0.5rem 0.5rem;
	text-align: center;
	vertical-align: middle
}

body.page-Project_Example_Collapsable_Elements .steptable td {
	padding: 0.1rem 0.5rem;
	text-align: center;
	vertical-align: middle;
	border-left: 1px solid var(--bd-dims)
}

body.page-Project_Example_Collapsable_Elements .steptable th.first {
	border-left: none;
	width: 0.25rem;
	padding: 0;
	background-color: var(--bg-sec-hd)
}

body.page-Project_Example_Collapsable_Elements .steptable th.core {
	border-left: none;
	width: 0.25rem;
	padding: 0;
	background-color: var(--clr-chartreuse)
}
body.page-Project_Example_Collapsable_Elements .steptable th.modname,
body.page-Project_Example_Collapsable_Elements .steptable td.modname {
	border-left: none;
	text-align: left;
	width: 25%
}

body.page-Project_Example_Collapsable_Elements .steptable th.baseline,
body.page-Project_Example_Collapsable_Elements .steptable td.baseline {
	width: 9%
}

body.page-Project_Example_Collapsable_Elements .steptable th.notes,
body.page-Project_Example_Collapsable_Elements .steptable td.notes {
	text-align: left
}

body.page-Project_Example_Collapsable_Elements .steptable tr.stepborder02-Extenders td, 
body.page-Project_Example_Collapsable_Elements .steptable tr.stepborder02-Extenders th {
	border-bottom: 1px solid #888888
}