MediaWiki:Monobook.css

From Paragon Wiki
Revision as of 02:27, 20 December 2014 by Sekoia (Talk | contribs) (another attempt)

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
body {
  background: #283C71 url("skins/assets/headbg.png") 0 0 repeat-y;
}

#content {
  font-family: sans-serif;
}

.pBody {
  background-color: #ccdaff;
  background-image: url("skins/assets/portletbg.png");
  background-repeat: repeat-x;
  border-top: 1px solid white;
  border-right: 1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
}

.portlet ul {
  list-style-image: url("skins/assets/bullet.gif");
}

.portlet h5, body div div.portlet h3 {
  color: white;
  font-size: 105%;
  text-transform: capitalize;
  font-weight: bold;
}

#p-cactions .pBody {
  background-image: none;
}

#p-cactions ul {
  list-style-type: none;
}

#p-cactions li {
  border-bottom: white;
}

#p-cactions li a {
  background: #01387e url("skins/assets/unselectbg.jpg") repeat-x scroll top left;
  color: white;
  z-index: 0;
}

/* For some reason, this isn't working in IE 7.  Probably the result of a crappy browser, or it
   might be defined as ! important or something in the IE-specific templates.  I'll check later,
   it's not that big a deal.  --TonyV */
#p-cactions li.selected {
  border-color: #ffffff;
}

#p-cactions li.selected a {
  background: #007f28 url("skins/assets/selectbg.jpg") 0 0 repeat-x;
  color: #002bb8;
  z-index: 0;
}

#p-cactions .new a {
  color: #bed0ff;
}

#p-cactions li a:hover {
  background: white url("skins/assets/hoverbg.jpg") repeat-x scroll top left;
  overflow: hidden;
  z-index: 0;
}

#p-personal li a {
  color: white;
}

#p-personal li a:hover {
  /* color: #283c71; -- Old-style color without the background below */
  background: #01387e url("skins/assets/hoverbg.jpg") repeat-x scroll top left;
}

h4 { font-size: 122%; }
h4 .editsection { font-size: 82%; font-weight: normal; }
h5 { font-size: 112%; }
h5 .editsection { font-size: 89%; font-weight: normal; }
h6 { font-size: 100%;  }
h6 .editsection { font-size: 100%; font-weight: normal; }