MediaWiki:Monobook.css

Revision as of 14:40, 20 October 2015 by Lewp (talk | contribs)

Revision as of 14:40, 20 October 2015 by Lewp (talk | contribs)

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 */
body
{
  font-size: 0.8125em;
  line-height: 1.5384615385em;
  background-color: #f3f3f3;
  background-image: url("/images/8/8b/Skin_page_bg_gradient.jpg");
  background-repeat: repeat-x;
  width: 100%;
  height: auto;
  min-height: inherit;
  position: absolute;
}

body div#globalWrapper{
  font-size: 100%;
}

div#column-content
{
  background-image: url("/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;
}

div#content
{
  margin-top: 4.54em !important;
  margin-left: 12.2em !important;
  box-shadow: rgba(0, 0, 0, 0.15) 0 0.1em 0.75em;
  border: 1px solid #ccc;
  border-radius: 0;
  padding-top: 1em;
  border-right-width: 0;
  position: relative;
}

#bodyContent
{
  padding-top: 0.1em;
}

#mw-dismissable-notice
{
  margin-bottom: 1em;
}

.pBody
{
  font-size: 0.9230769231em;
}

#p-personal
{
  text-align: right;
  z-index: 2;
}

#p-personal .pBody
{
  width: auto;
  display: inline-block;
  padding-right: 0.75em;
  border-radius: 0 0 0 0.5em;
  background-color: #fff;
  margin-left: 12em;
  z-index: 2;
}

#p-personal ul
{
  padding: 0;
  line-height: 1.6666666667em;
}

#p-personal li
{
  font-size: 1em;
  margin: 0.5em 0 0.5em 1em;
}

#p-personal li a
{
  color: #002BB8;
}

#p-personal li a:hover
{
  padding: 0;
  background-color: transparent;
}

li#pt-userpage
{
  background: none;
  padding-left: 0px !important;
}

/** Page tabs **/

#p-cactions
{
  position: absolute;
  top: 3em;
  left: 0;
  margin: 0 0 0 12.2em;
  font-size: 1em;
  width: 76%;
  height: 1.6em;
  line-height: 1.6em;
  padding: 0;
  z-index: 2;
}

#p-cactions .pBody
{
  font-size: 0.9230769231em;
  padding: 0;
  margin: 0;
  position: absolute;
  height: 1.6em;
  line-height: 1.6em;
  width: 100%;
}

#p-cactions ul
{
  margin: 0 0 0 1px;
  height: 1.6em;
  line-height: 1.6em;
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}

#p-cactions li.selected, #p-cactions li
{
  padding: 0;
  height: 2em;
  line-height: 2em;
  display: inline-block;
}

#p-cactions li
{
  border: 1px solid #aaa;
  border-bottom-color: #ccc;
  background-color: #eee;
  display: block;
  float: left;
  height: 1.6em;
  line-height: 1.6em;
  margin: 0 0 0 -1px;
}

#p-cactions li#ca-talk
{
  margin-right: 1.7em;
}

#p-cactions li#ca-watch, #p-cactions li#ca-unwatch, #p-cactions li#ca-varlang-0, #p-cactions li#ca-print
{
  margin-left: 1.7em;
}

#p-cactions li.selected
{
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-bottom-width: 0px;
  border-radius: 0;
  font-weight: normal;
  margin: 0 0 0 -1px;
  padding-bottom: 1px !important;
  overflow: visible;
}

#p-cactions li.istalk
{
  margin: 0 0 0 -1px;
}

#p-cactions li.istalk.selected
{
  margin: 0 -0.3em 0 0;
}

#p-cactions li + li.selected
{
  border-radius: 0;
}

#p-cactions li a, #p-cactions li a:hover, #p-cactions li.istalk a, #p-cactions #ca-addsection a
{
  padding: 0 1em;
  border-radius: 0.536em 0 0 0;
  height: 2em;
  line-height: 2em;
}

#p-cactions li a:hover
{
  background-color: transparent;
}

#p-cactions li.selected a, #p-cactions li.selected a:hover
{
  background-color: transparent;
  border-radius: 0;
  color: #000;
  height: 2em;
  padding: 0 1em 1em !important;
}

#p-cactions li a
{
  background-color: transparent;
}

#p-cactions li:hover
{
  background-color: #F8F8F8;
}

#p-cactions li.selected:hover
{
  background-color: #fff;
}

#p-cactions li:nth-child(-2n+3), #p-cactions li.selected:nth-child(-2n+3), #p-cactions li:nth-last-child(2)
{
  border-top-left-radius: 0.536em;
}

#p-cactions li:nth-child(2), #p-cactions li:nth-last-child(3),
#p-cactions li.selected:nth-child(2), #p-cactions li.selected:nth-last-child(3),
#p-cactions li:last-child, #p-cactions li.selected:last-child
{
  border-top-right-radius: 0.536em;
}

#p-cactions li:nth-child(3)
{
  border-top-right-radius: 0!important;
}

body.ns-subject #p-cactions li.new + li.new + li#ca-edit
{
  border-top-right-radius: 0.536em!important;
}

#p-cactions li a, #p-cactions li a:hover, #p-cactions li.istalk a, #p-cactions #ca-addsection a
{
  padding: 0 1em;
  border-radius: 0;
  line-height: 1.6em;
}

#p-cactions li.selected a, #p-cactions li.selected a:hover, #p-cactions li.selected, #p-cactions li
{
  height: 1.6em;
  line-height: 1.6em;
}

/* Footer */
{
  background-color: transparent !important;
  background-image: url("/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;
}

#footer #f-list
{
  margin: 0 14em 0 0;
  padding: 0 88px 0 0;
  position: absolute;
}

#footer li
{
  display: block !important;
  font-size: 0.9230769231em;
  line-height: 1.6666666667em;
  margin: 0 !important;
  padding: 0;
}

#footer #f-list #privacy, #footer #f-list #about, #footer #f-list #disclaimer
{
  float: left;
  margin-right: 1em !important;
  margin-top: 0.8333333333em !important;
}

#f-poweredbyico, #f-copyrightico
{
  margin: 30px 6px 0px !important;
}

#footer #f-copyrightico
{
  background-image: url("/images/0/01/ArenaNet.png");
  height: 36px;
  width: 90px;
}

#footer #f-copyrightico img
{
  display: none;
}

#f-copyrightico
{
  float: right;
}

#f-poweredbyico a
{
  margin-left: 0.5em;
}