MediaWiki:Common.css

From iPi Docs
Revision as of 10:25, 31 October 2014 by Ipiadmin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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: Clear the cache in Tools → Preferences
/* Remove the arrow next to external links */
a.external {
  background: none !important;
  padding-right: 0px !important;
}
 
a:visited {
  color: #0747AF !important;
}
 
/* Dotted border around div with source code */
/* http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/ru#.D0.9C.D0.B5.D1.82.D0.BE.D0.B4_1:_CSS_.D1.84.D0.B0.D0.B9.D0.BB */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}
 
/* No title on main page */
/* http://www.sciencemedianetwork.org/wiki/Mediawiki/Hiding_the_main_page_title */
body.page-Main_Page h1.firstHeading { display:none; }
 
/* Editions notes on main page */
div.editionsNote {
  margin: 8px;
  font-size: 95%;
  border: 1px dashed #a3bfb1;
  color: #000066;
  padding: 0.2em 0.4em;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
 
/* Config panel on main page */
div.configPanel {
  vertical-align: top;
  color: #000;
  padding: 8px;
  display: table-cell;
  width: 32%;
  vertical-align: top;
  position: relative;
  border: 1px solid;
}
 
/* Header of config panel on main page */
div.configPanelHeader {
  margin: 3px 3px 12px 3px;
  font-size: 120%;
  font-weight: bold;
  text-align: center;
  color: #444444;
  padding: 0.2em 0.4em;
  border: 1px solid;
}
 
/* Side panel for info */
div.sideInfoPanel {
  float: right;
  clear: right;
  border: 1px solid #AAA;
  background-color: #F9F9F9;
  padding: 0.4em;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
  width: 21em;
  font-size:90%;
}