Difference between revisions of "MediaWiki:Vector.css"
Jump to navigation
Jump to search
James Hare (talk | contribs) (Using wgVectorResponsive setting so mobile-specific code no longer needed; darker background in general) |
James Hare (talk | contribs) (Replacing third-party webfont with extension) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Adjusted Vector Appearance */ |
/* Adjusted Vector Appearance */ |
||
body { |
body { |
||
− | background-color: # |
+ | background-color: #f8f9fa; |
} |
} |
||
#mw-page-base { |
#mw-page-base { |
||
− | background-color: # |
+ | background-color: #f8f9fa; |
background-image: none; |
background-image: none; |
||
} |
} |
||
Line 30: | Line 30: | ||
.vectorTabs ul li { |
.vectorTabs ul li { |
||
− | background-color: # |
+ | background-color: #f8f9fa !important; |
} |
} |
||
Line 37: | Line 37: | ||
padding:14px; |
padding:14px; |
||
} |
} |
||
+ | |||
+ | /* Typography */ |
||
+ | /* Makes site-wide what has been implemented on a page-by-page basis */ |
||
+ | |||
+ | body { |
||
+ | font-family:'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; |
||
+ | } |
||
+ | |||
+ | div#content h1, div#content h2, div#content, #firstHeading { |
||
+ | font-family:'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif !important; |
||
+ | } |
||
+ | |||
+ | .firstHeading { |
||
+ | border-bottom: none; |
||
+ | margin-bottom:0.5em !important; |
||
+ | padding-left:0; |
||
+ | font-size: 2.4em !important; |
||
+ | width:100%; |
||
+ | margin:auto; |
||
+ | border-collapse:collapse; |
||
+ | vertical-align:top; |
||
+ | line-height:100%; |
||
+ | font-weight: 700; |
||
+ | } |
||
+ | |||
+ | .mw-body h2 { |
||
+ | margin-bottom: 1em; |
||
+ | } |
||
+ | |||
+ | div#mw-panel div.portal#p-navigation div.body { |
||
+ | background-image:none; |
||
+ | } |
||
+ | |||
+ | div#content { |
||
+ | border: 1px solid #c8ccd1; |
||
+ | } |
||
+ | |||
+ | #mw-head-base { |
||
+ | border-bottom: 1px solid #c8ccd1; |
Latest revision as of 17:20, 10 May 2018
/* Adjusted Vector Appearance */
body {
background-color: #f8f9fa;
}
#mw-page-base {
background-color: #f8f9fa;
background-image: none;
}
div#content {
border: 1px solid #fff;
}
div.vectorTabs ul li {
background-image: none;
background-color: #fff;
}
#p-views, #p-views *, #p-namespaces, #p-namespaces * {
background-image: none;
}
div.vectorTabs ul li.selected {
font-weight:bold;
}
div.vectorTabs ul li span a:hover {
text-decoration: none;
}
#catlinks {
border:none;
padding:10px;
}
.vectorTabs ul li {
background-color: #f8f9fa !important;
}
#toc {
border:none;
padding:14px;
}
/* Typography */
/* Makes site-wide what has been implemented on a page-by-page basis */
body {
font-family:'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
div#content h1, div#content h2, div#content, #firstHeading {
font-family:'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
.firstHeading {
border-bottom: none;
margin-bottom:0.5em !important;
padding-left:0;
font-size: 2.4em !important;
width:100%;
margin:auto;
border-collapse:collapse;
vertical-align:top;
line-height:100%;
font-weight: 700;
}
.mw-body h2 {
margin-bottom: 1em;
}
div#mw-panel div.portal#p-navigation div.body {
background-image:none;
}
div#content {
border: 1px solid #c8ccd1;
}
#mw-head-base {
border-bottom: 1px solid #c8ccd1;