MediaWiki:Common.css

From WikiCorporates
Revision as of 23:29, 20 June 2017 by GrayanOne (talk | contribs)
Jump to navigation Jump to search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }


/* Sidebar: get rid of the div's top border image */
div#mw-panel div.portal {
  background-image: none;
}

/* Sidebar:
 * let's have a decent top space between groups
 * pad the h3 a bit more so is in line w/all text
 * we don't want any borders */
div#mw-panel div.portal h3 {
  margin: 0.5em 0 0 0;
  padding: 0.25em 0 0.25em 0.7em;
  border: 0;
}

/* Sidebar: give the div for the text links a top border image */
div#mw-panel div.portal div.body {
  margin-left: 0.6em;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
  background-repeat: no-repeat;
}


/* Timeline dl lists */
/* http://maxdesign.com.au/articles/definition/ */
dl.timeline-list {
  margin:0; padding:0;
}
.timeline-list dt {
  margin:0; padding:0; font-weight:bold; text-decoration:underline;
}
.timeline-list dd {
  margin: 0 0 1em 0; padding:0;
}

dl.timeline-table {
  float: left;
/*  width: 520px;*/ width: 820px;;
  margin: 1em 0;
  padding: 0;
  border-bottom: 1px solid #999;
}
.timeline-table dt {
  clear: left;
  float: left;
  /*width: 200px;*/ width:200px;;
  margin: 0;
  padding: 5px;
  border-top: 1px solid #999;
  font-weight: bold;
}
.timeline-table dd {
  float: left;
  /*width: 300px;*/ width:600px;
  margin: 0;
  padding: 5px;
  border-top: 1px solid #999;
}
.timeline-table dl:after {
  clear: both;
}