Difference between revisions of "MediaWiki:Monobook.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m (Amended Visual Layout)
 
(64 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 {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  font-size: 0.8125em;
+
    border: 1px solid #181818;
  line-height: 1.5384615385em;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  background-color: #f3f3f3;
+
    line-height: 1em;
  background-image: url("http://wiki.guildwars2.com/images/8/8b/Skin_page_bg_gradient.jpg");
+
    padding: 5px;
  background-repeat: repeat-x;
+
    width: 145px;
  width: 100%;
+
    top: 150px;
  height: auto;
 
  min-height: inherit;
 
  position: absolute;
 
 
}
 
}
div#column-content
+
 
{
+
#p-personal {
  background-image: url("http://wiki.guildwars2.com/images/0/00/Skin_header.png");
+
    background-color: rgba(0, 0, 0, 0.5);
  background-position: top left;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  background-repeat: no-repeat;
+
    right: 0;
  background-color: transparent;
+
    left: initial;
  z-index: 1;
+
    width: 500px;
  width: 100%;
+
    padding-right: 0.55em;
  margin-bottom: -7em;
+
    padding-bottom: 3px;
  position: static;
+
    margin-right: 10px;
  min-height: 249px;
 
 
}
 
}
.portlet
+
 
{
+
#p-cactions li {
  width: 11em;
+
    background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
+
    border: 1px solid #181818;
  position: relative;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  font-size: 1em;
+
}
  margin: 0.8333333333em 0.5em 0.8333333333em;
+
 
 +
#p-cactions li:hover {
 +
    border-top: 3px groove #FFFFFF;
 
}
 
}
  
.portlet .pBody, #p-search .pBody
+
#p-cactions li a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  border: 0;
+
    color: #FFFFFF
  padding: 0.333em;
 
  line-height: 1.4285714286em;
 
  background-color: transparent;
 
 
}
 
}
  
.portlet .pBody
+
#p-cactions li a:hover {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  margin: 0 0.5em;
 
  padding: 0 0.333em;
 
 
}
 
}
  
#p-search .pBody
+
#p-cactions .new a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  margin: 0;
+
    color: #FFFFFF
  padding: 0.333em 0.333em 0;
 
 
}
 
}
  
.pBody ul, .pBody li
+
#p-cactions li.selected {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  line-height: 1.6666666667em;
+
    border: 2px groove #888888;
 +
    border-radius: 0.5em 0.5em 0.5em 0.5em;
 
}
 
}
  
.portlet h5, .portlet h3
+
#p-cactions li.selected a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  color: #000;
+
    color: #AAAAAA
  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
+
#p-cactions li.selected a:hover {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  font-size: 1em;
 
  line-height: 1.6666666667em;
 
  margin: 0 0 0 1em;
 
 
}
 
}

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