MediaWiki:Vector.css

From m204wiki
Revision as of 23:00, 22 January 2016 by Admin (talk | contribs) (adjust top position of logo and top links and change top-link font)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Vector skin */


/* needed to keep content border top from extending too far left  */
div#mw-head-base { 
   margin-left: 11.5em; /* for Vector centering project  */
}

/* for view history items - less wrapping from Vector centering */
ul#pagehistory  {
   font-size: .8em;
}

/* line height of items in diff of history pg    */
table.diff  {
   line-height: 1.2;   /* was 1.6  */
}

/* needed to keep content border bottom from extending too far left  */
div#footer  {   
   margin-left: 11em;   
}

/* move sidebar items to left */ 
div#mw-panel.collapsible-nav .portal {
   margin-left: 1px;
}

#p-logo  { 
   width: 11em; 
}

/* next 2 to give headings greater distinction -- slightly bolder, slightly larger  */ 

div#mw-panel.collapsible-nav .portal.expanded h3 a {
   font-weight: 600;
}
div#mw-panel.collapsible-nav .portal h3  { 
   font-size: .80em;
}


/* ************************************************* */
/* add origami bar for h1 and make room for new logo */
h1  {
    color: #050D9E;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(images/4/4c/OrigamiBar_87.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    border-bottom: none;
    height: 100%;
}

div#content #firstHeading  {
        padding-bottom: .75em;
        margin-bottom: 1em;
}

/* prep for new logo  */
div#mw-panel  {
   top: 100px;
}

div#p-logo  {
   top:-125px;
   left:-15px;
}

/* change/move logo (LocalSettings.php names logo file)  */
div#p-logo a  {
   height:110px;
   width:11em;
}

/* ************************************************* */
/* Web team changes   */

/* move, enlarge, change color & font of top row of links  */
div#p-personal  {
   top:9px;
   font-family: 'Open Sans', sans-serif;
}

div#p-personal ul li {
   font-size:1em;
   margin-left:2em;
}

div#p-personal ul li a, 
div#p-personal ul li a:visited, 
div#p-personal ul li a.new, 
div#p-personal ul li a.new.visited {
   color:#000000;
}

div#mw-head    {
   top:1em;
}

div#mw-head-base    {
   height:7em;
}

/* space bet top links and row of tabs below  */
#left-navigation    {
   margin-top:3.5em;
}

#right-navigation    {
   margin-top:3.5em;
}

/* ************************************************* */