Difference between revisions of "MediaWiki:Monobook.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m (Amended Visual Layout)
 
(60 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; }
  
 
+
div.pBody {
#p-cactions
+
    background-color: rgba(0, 0, 0, 0.75);
{
+
    border: 1px solid #181818;
  position: absolute;
+
    border-radius: 0.5em 0.5em 0.5em 0.5em;
  top: 3em;
+
    line-height: 1em;
  left: 0;
+
    padding: 5px;
  margin: 0 0 0 12.2em;
+
    width: 145px;
  font-size: 1em;
+
    top: 150px;
  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
+
#p-personal {
{
+
    background-color: rgba(0, 0, 0, 0.5);
  background-color: transparent;
+
    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:hover
+
#p-cactions li {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  background-color: #F8F8F8;
+
    border: 1px solid #181818;
 +
    border-radius: 0.5em 0.5em 0.5em 0.5em;
 
}
 
}
  
#p-cactions li.selected:hover
+
#p-cactions li:hover {
{
+
    border-top: 3px groove #FFFFFF;
  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)
+
#p-cactions li a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  border-top-left-radius: 0.536em;
+
    color: #FFFFFF
 
}
 
}
  
#p-cactions li:nth-child(2), #p-cactions li:nth-last-child(3),
+
#p-cactions li a:hover {
#p-cactions li.selected:nth-child(2), #p-cactions li.selected:nth-last-child(3),
+
    background-color: rgba(0, 0, 0, 0.75);
#p-cactions li:last-child, #p-cactions li.selected:last-child
 
{
 
  border-top-right-radius: 0.536em;
 
 
}
 
}
  
#p-cactions li:nth-child(3)
+
#p-cactions .new a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  border-top-right-radius: 0!important;
+
    color: #FFFFFF
 
}
 
}
  
body.ns-subject #p-cactions li.new + li.new + li#ca-edit
+
#p-cactions li.selected {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  border-top-right-radius: 0.536em!important;
+
    border: 2px groove #888888;
 +
    border-radius: 0.5em 0.5em 0.5em 0.5em;
 
}
 
}
  
#p-cactions li a, #p-cactions li a:hover, #p-cactions li.istalk a, #p-cactions #ca-addsection a
+
#p-cactions li.selected a {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  padding: 0 1em;
+
    color: #AAAAAA
  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
+
#p-cactions li.selected a:hover {
{
+
    background-color: rgba(0, 0, 0, 0.75);
  height: 1.6em;
 
  line-height: 1.6em;
 
 
}
 
}

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