Difference between revisions of "MediaWiki:Vector.css"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(margin for h2)
(adjust)
Line 66: Line 66:
 
}
 
}
   
h2 {
+
.mw-body h2 {
margin-bottom: 10px;
+
margin-bottom: 1em;
  +
padding-bottom: 0.25em;
 
}
 
}
   

Revision as of 06:27, 15 July 2017

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600');

/* 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;
  font-weight: 300 !important;
}

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:10px;
   padding-top:10px !important;
   padding-left:0;
   font-size: 2.4em !important;
   width:100%;
   margin:auto;
   border-collapse:collapse;
   vertical-align:top;
   line-height:100%;
  font-weight: 600;
}

.mw-body h2 {
  margin-bottom: 1em;
  padding-bottom: 0.25em;
}

div#mw-panel div.portal#p-navigation div.body {
  background-image:none;
}