Difference between revisions of "MediaWiki:Monobook.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m (Amended Visual Layout)
 
(52 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the MonoBook skin */
 
 
 
/* set sidebar width */
 
/* set sidebar width */
 
#column-content { margin-left: -12em; }
 
#column-content { margin-left: -12em; }
Line 10: Line 8:
 
div#content { margin-left: 11em; }
 
div#content { margin-left: 11em; }
  
/* body */
+
div.pBody {
body
+
    background-color: rgba(0, 0, 0, 0.75);
{
+
    border: 1px solid #181818;
  font-size: 0.8125em;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  line-height: 1.5384615385em;
+
    line-height: 1em;
  background-color: #f3f3f3;
+
    padding: 5px;
  background-image: url("/images/8/8b/Skin_page_bg_gradient.jpg");
+
    width: 145px;
  background-repeat: repeat-x;
+
    top: 150px;
  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 */
+
#p-personal {
{
+
    background-color: rgba(0, 0, 0, 0.5);
  background-color: transparent !important;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  background-image: url("http://wiki.guildwars2.com/images/3/3c/Skin_footer.png");
+
    right: 0;
  background-position: top left;
+
    left: initial;
  background-repeat: repeat-x;
+
    width: 500px;
  margin: -15.5em 0 0 !important;
+
    padding-right: 0.55em;
  padding: 8em 1em 0.5em 13em !important;
+
    padding-bottom: 3px;
  position: relative;
+
    margin-right: 10px;
  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
+
#p-cactions li {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  margin: 0 14em 0 0;
+
    border: 1px solid #181818;
  padding: 0 88px 0 0;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  position: absolute;
 
 
}
 
}
  
#footer li
+
#p-cactions li:hover {
{
+
    border-top: 3px groove #FFFFFF;
  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
+
#p-cactions li a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  float: left;
+
    color: #FFFFFF
  margin-right: 1em !important;
 
  margin-top: 0.8333333333em !important;
 
 
}
 
}
  
#f-poweredbyico, #f-copyrightico
+
#p-cactions li a:hover {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  margin: 30px 6px 0px !important;
 
 
}
 
}
  
#footer #f-copyrightico
+
#p-cactions .new a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  background-image: url("/images/0/01/ArenaNet.png");
+
    color: #FFFFFF
  height: 36px;
 
  width: 90px;
 
 
}
 
}
  
#footer #f-copyrightico img
+
#p-cactions li.selected {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  display: none;
+
    border: 2px groove #888888;
 +
    border-radius: 0.5em 0.5em 0.5em 0.5em;
 
}
 
}
  
#f-copyrightico
+
#p-cactions li.selected a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  float: right;
+
    color: #AAAAAA
 
}
 
}
  
#f-poweredbyico a
+
#p-cactions li.selected a:hover {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  margin-left: 0.5em;
 
 
}
 
}

Latest revision as of 16:14, 14 July 2016

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

div.pBody {
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid #181818;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    line-height: 1em;
    padding: 5px;
    width: 145px;
    top: 150px;
}

#p-personal {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    right: 0;
    left: initial;
    width: 500px;
    padding-right: 0.55em;
    padding-bottom: 3px;
    margin-right: 10px;
}

#p-cactions li {
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid #181818;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
}

#p-cactions li:hover {
    border-top: 3px groove #FFFFFF;
}

#p-cactions li a {
    background-color: rgba(0, 0, 0, 0.75);
    color: #FFFFFF
}

#p-cactions li a:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

#p-cactions .new a {
    background-color: rgba(0, 0, 0, 0.75);
    color: #FFFFFF
}

#p-cactions li.selected {
    background-color: rgba(0, 0, 0, 0.75);
    border: 2px groove #888888;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
}

#p-cactions li.selected a {
    background-color: rgba(0, 0, 0, 0.75);
    color: #AAAAAA
}

#p-cactions li.selected a:hover {
    background-color: rgba(0, 0, 0, 0.75);
}