Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Jenny Hill (talk | contribs) |
Jenny Hill (talk | contribs) |
||
Line 33: | Line 33: | ||
color: white; | color: white; | ||
font-variant: small-caps;} | font-variant: small-caps;} | ||
+ | |||
+ | /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). | ||
+ | */ | ||
+ | .toclimit-2 .toclevel-1 ul, | ||
+ | .toclimit-3 .toclevel-2 ul, | ||
+ | .toclimit-4 .toclevel-3 ul, | ||
+ | .toclimit-5 .toclevel-4 ul, | ||
+ | .toclimit-6 .toclevel-5 ul, | ||
+ | .toclimit-7 .toclevel-6 ul { | ||
+ | display: none;} | ||
/*This mess is the menu on the left*/ | /*This mess is the menu on the left*/ | ||
− | |||
/* increase Vector sidebar width */ | /* increase Vector sidebar width */ | ||
div#mw-panel { width: 12em; } | div#mw-panel { width: 12em; } |
Revision as of 16:14, 11 August 2017
/*Page background*/
#mw-page-base, body {
background-image: none;
background-color: #4f4f4f;}
/*Fonts for everyone*/
{font-family: sans-serif;
font-weight: 300;}
/*STEP logo bit*/
#p-logo {
border-radius: 5px;
background-color: white;}
/*Header*/
div#mw-head {
position: absolute;
top: 0;
right: 0;
width: 100%;
background-color: #e6e6e6;}
/*These are the wiki tabs*/
div.vectorTabs ul li {
border-radius: 5px 5px 0 0;
background-image: none;
background-color: #e6e6e6;}
div.vectorTabs li a,
div.vectorTabs li.new a,
div.vectorTabs li.new a:visited {
background-image: none;
color: white;
font-variant: small-caps;}
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;}
/*This mess is the menu on the left*/
/* increase Vector sidebar width */
div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { margin-left: 12em; }
div#mw-panel div.portal div.body ul li,
div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited,
div#mw-panel div.portal h3 {
list-style-type: none;
color: white;
font-weight: bold;
font-size: 1em;
font-variant: small-caps;}
/*FOOTER STUFF*/
/*This is your feedback widget*/
.articleFeedbackv5-panel .articleFeedbackv5-title {
font-weight: normal;}
.articleFeedbackv5-panel{
background: none;
border: 1px solid teal;}
/*Last updated box*/
div#footer #footer-info li {
background-color: white;}
div#footer ul li {
padding: 0.75em;}
/*These are your main headings, which have underlines*/
.mw-body h1, .mw-body h2 {
font-family: sans-serif;
font-size: 1.8em;
color: Gray;
border-bottom: 2px solid darkcyan;}
/*These are your subheadings*/
h3,h4, h5, h6 {
font-size: 1.8em;
color: Gray;}
/*This is your default photoframe*/
div.thumbinner {
border: 2px solid orange;
padding: 3px;
text-align: center;
overflow: hidden;}
/* wiki looking bit
div.vectorTabs span a,
div.vectorMenu h3 span {
padding-top: 4em;
}
div.vectorMenu h3 a {
height: 1em;
}
#ca-unwatch.icon a, #ca-watch.icon a { padding-top: 1em; }
div#simpleSearch { margin-top: 0; }
#left-navigation, #right-navigation { margin-top:1.5em; }
*/