MediaWiki:Common.css: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 8: Line 8:
     text-decoration:none;
     text-decoration:none;
}
}
/* Hides the Main Page's title */
/* Hides the Main Page's title */
body.page-SkyrimLE_Wiki h1.firstHeading,
body.page-SkyrimLE_Wiki h1.firstHeading,
Line 17: Line 16:
}
}


/** Collapsible tables *********************************************************
/***** NavFrame example styles *****/
*
* Description: Allows tables to be collapsed, showing only the header. See
* https://www.mediawiki.org/wiki/Manual:Collapsible_tables.
* Maintainers: [[en:User:R. Koot]]
*/
table.collapsed tr.collapsible {
display: none;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
margin: 0px 5px;
}
 
 
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
div.NavFrame {
Line 88: Line 67:
font-weight: normal;
font-weight: normal;
font-size: 90%;
font-size: 90%;
}
.client-js .NavFrame.collapsed > .NavContent {
display: none;
}
/***** Step Tables on Project:Example_Collapsable_Elements *****/
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 .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.cat-Step_Guides .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;
}
}

Revision as of 20:24, December 23, 2020

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

/* prevent underscores in <a> links */
a:link {
     text-decoration:none;
}
a:visited {
     text-decoration:none;
}
/* Hides the Main Page's title */
body.page-SkyrimLE_Wiki h1.firstHeading,
body.page-SkyrimSE_Wiki h1.firstHeading,
body.page-NMS_Wiki h1.firstHeading,
body.page-Main_Page h1.firstHeading { 
     display:none; 
}

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