MediaWiki:Common.css: Difference between revisions

From Step Mods | Change The Game
m (Undo revision 131307 by Z929669 (talk))
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 */
/*
 
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap');
</style>
*/
/* prevent underscores in <a> links */
a:link {text-decoration:none;}
a:visited {text-decoration:none;}


/* Hides the Main Page's title */
/* Hides the Main Page's title */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-SkyrimLE_Wiki h1.firstHeading,
 
body.page-SkyrimSE_Wiki h1.firstHeading,
/* When <div class="nonumtoc"> is used on the table of contents,
body.page-NMS_Wiki h1.firstHeading,
  the ToC will display without numbers */
body.page-Main_Page h1.firstHeading {  
.nonumtoc .tocnumber { display: none; }
    display:none;  
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul,  
.nonumtoc .toc ul ul {  
    margin: 0 0 0 2em;  
}
}




/** Collapsible tables *********************************************************
/** Collapsible tables *********************************************************
*
*
* Description: Allows tables to be collapsed, showing only the header. See
* Description: Allows tables to be collapsed, showing only the header. See
*                         https://www.mediawiki.org/wiki/Manual:Collapsible_tables.
* https://www.mediawiki.org/wiki/Manual:Collapsible_tables.
* Maintainers: [[en:User:R. Koot]]
* Maintainers: [[en:User:R. Koot]]
*/
*/
table.collapsed tr.collapsible {
table.collapsed tr.collapsible {
        display: none;
display: none;
}
}
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the             */
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;   /* are styled here so they can be customised.             */
font-weight: normal; /* are styled here so they can be customised. */
        text-align: right;
text-align: right;
        width: auto;
width: auto;
        margin: 0px 5px;
margin: 0px 5px;
}
}




/* Standard Navigationsleisten, aka box hiding thingy
/* Standard Navigationsleisten, aka box hiding thingy
  from .de. Documentation at [[Wikipedia:NavFrame]]. */
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
div.NavFrame {
margin: 0;
margin: 0;
Line 59: Line 41:
font-size: 95%;
font-size: 95%;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: none;
border-top-style: hidden;
border-top-style: hidden;
}
}
div.NavPic {
div.NavPic {
background-color: #aaaaaa;
background-color: #aaaaaa;
Line 70: Line 54:
float: left;
float: left;
}
}
div.NavFrame div.NavHead {
div.NavFrame div.NavHead {
line-height: 1.6em;
line-height: 1.6em;
Line 76: Line 61:
position: relative;
position: relative;
}
}
div.NavFrame p,
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent,
Line 81: Line 67:
font-size: 100%;
font-size: 100%;
}
}
div.NavEnd {
div.NavEnd {
margin: 0;
margin: 0;
Line 87: Line 74:
clear: both;
clear: both;
}
}
a.NavToggle {
a.NavToggle {
position: absolute;
position: absolute;
Line 94: Line 82:
font-weight: normal;
font-weight: normal;
font-size: 90%;
font-size: 90%;
}
.client-js .NavFrame.collapsed > .NavContent {
display: none;
}
}

Revision as of 21:26, December 11, 2020

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


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


/** Collapsible tables *********************************************************
*
* 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]]. */
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%;
}