Difference between revisions of "MediaWiki:Monobook.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 9: Line 9:
 
div#column-content { margin-left: -11em; }
 
div#column-content { margin-left: -11em; }
 
div#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;
 
−
}
 
−
#footer
 
−
{
 
−
  background-color: transparent !important;
 
−
  background-image: url("http://wiki.guildwars2.com/images/3/3c/Skin_footer.png");
 
−
  background-position: top left;
 
−
  background-repeat: repeat-x;
 
−
  margin: -15.5em 0 0 !important;
 
−
  padding: 8em 1em 0.5em 13em !important;
 
−
  position: relative;
 
−
  right: 0;
 
−
  left: 0;
 
−
  bottom: 0;
 
−
  top: 0;
 
−
  width: auto;
 
−
  height: 7em !important;
 
−
  z-index: 0;
 
−
  border-width: 0 !important;
 
−
  text-align: left !important;
 
−
  font-size: 1em !important;
 
−
}
 
−
.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;
 
−
}
 

Revision as of 15:07, 20 October 2015

/* 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; }