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; }
 +
 +
 +
#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;
 +
}

Revision as of 15:28, 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; }


#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;
}