MediaWiki:Common.css: Difference between revisions
From Step Mods | Change The Game
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 */ | ||
/* Hides the Main Page's title */ | /* Hides the Main Page's title */ | ||
body.page- | 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 ********************************************************* | /** 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 { | table.collapsed tr.collapsible { | ||
display: none; | |||
} | } | ||
.collapseButton { | .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 | /* Standard Navigationsleisten, aka box hiding thingy | ||
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%; | ||
} | } |
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%;
}