MediaWiki:Monobook.css

From Dungeon Defenders 2 Wiki
Revision as of 15:05, 20 October 2015 by Lewp (talk | contribs)

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: 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 affect users of the MonoBook skin */

/* set sidebar width */
#column-content { margin-left: -12em; }
#column-content #content { margin-left: 12em; }
#p-logo a, #p-logo a:hover { width: 12em; }
#p-cactions { left: 11.5em; }
.portlet { width: 11em; }
div#column-content { margin-left: -11em; }
div#content { margin-left: 11em; }

body
{
  font-size: 0.8125em;
  line-height: 1.5384615385em;
  background-color: #f3f3f3;
  background-image: url("http://wiki.guildwars2.com/images/8/8b/Skin_page_bg_gradient.jpg");
  background-repeat: repeat-x;
  width: 100%;
  height: auto;
  min-height: inherit;
  position: absolute;
}
div#column-content
{
  background-image: url("http://wiki.guildwars2.com/images/0/00/Skin_header.png");
  background-position: top left;
  background-repeat: no-repeat;
  background-color: transparent;
  z-index: 1;
  width: 100%;
  margin-bottom: -7em;
  position: static;
  min-height: 249px;
}
.portlet
{
  width: 11em;
  z-index: 1;
  position: relative;
  font-size: 1em;
  margin: 0.8333333333em 0.5em 0.8333333333em;
}

.portlet .pBody, #p-search .pBody
{
  border: 0;
  padding: 0.333em;
  line-height: 1.4285714286em;
  background-color: transparent;
}

.portlet .pBody
{
  margin: 0 0.5em;
  padding: 0 0.333em;
}

#p-search .pBody
{
  margin: 0;
  padding: 0.333em 0.333em 0;
}

.pBody ul, .pBody li
{
  line-height: 1.6666666667em;
}

.portlet h5, .portlet h3
{
  color: #000;
  font-size: 1em;
  font-weight: normal;
  padding: 0 1em 5px;
  line-height: 1.3333333333em;
  margin: 0 -0.5em;
  background-image: url("http://wiki.guildwars2.com/images/4/45/Shadow_after.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 90% 3px;
  display: block;
  width: 9.2em;
  text-transform: none;
  font-size-adjust: 0.43;
  height: 100%;
}

.portlet ul
{
  font-size: 1em;
  line-height: 1.6666666667em;
  margin: 0 0 0 1em;
}