Difference between revisions of "MediaWiki:Vector.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Replaced content with "CSS placed here will affect users of the Vector skin: set sidebar width: div#mw-panel { width: 11em; } div#footer, #mw-head-base, div#content { margin-left: 11e...")
Line 8: Line 8:
  
 
div.testdiv { background-color: yellow; }
 
div.testdiv { background-color: yellow; }
 
div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorMenu li a { text-decoration: none; }
 
 
div.vectorTabs
 
{
 
  padding: 0;
 
  background-color:transparent;
 
  background-image: none;
 
}
 
 
div.vectorTabs span
 
{
 
overflow: hidden;
 
height: 2.3em;
 
background: transparent;
 
}
 
 
#right-navigation, #left-navigation
 
{
 
  padding: 1px 0 0;
 
  z-index: 3;
 
}
 
 
#right-navigation div.vectorTabs
 
{
 
  margin: 0px;
 
}
 
 
div.vectorMenu
 
{
 
  height: 2.3em;
 
  margin-top: 0;
 
  background-color: #eee;
 
  border: 1px solid #ccc;
 
}
 
 
#mw-navigation #mw-head div.vectorMenu h3
 
{
 
  height: 2.3em;
 
}
 
 
#mw-navigation div.vectorMenu h3 a
 
{
 
  background-position: 100% 50%;
 
}
 
 
#mw-navigation div.vectorMenu h3 span
 
{
 
  display: inline-block;
 
  height: 100%;
 
  line-height: 30px;
 
  padding: 0 0.3em 0 0.9em;
 
  font-size: 0.9em;
 
}
 
 
#mw-navigation div.vectorMenu div.menu
 
{
 
  top: 2.3em;
 
  border: none;
 
  left: 0;
 
}
 
 
div.vectorMenu ul
 
{
 
  margin-left: -1px;
 
  background-color: #eee;
 
  border: solid 1px #ccc;
 
}
 
 
div.vectorMenu li a
 
{
 
  font-size: 0.9230769231em;
 
  height: 1.4em;
 
  line-height:1.53846em;
 
}
 
 
div.vectorTabs ul li
 
{
 
  height: 2.3em;
 
  line-height: 0;
 
  margin: 0 -1px 0 0;
 
  background-image: none;
 
  background-color:#eee;
 
  border:1px solid #ccc;
 
}
 
 
div.vectorTabs ul li:first-child
 
{
 
  border-top-left-radius:0.5em;
 
}
 
 
div.vectorTabs ul li:hover, div.vectorMenu ul li:hover, div.vectorMenu:hover
 
{
 
background-color:#f8f8f8;
 
}
 
 
div.vectorTabs li a
 
{
 
  font-size: 12px
 
  height: 1.4em;
 
  padding-left: 0.9em;
 
  padding-right: 0.9em;
 
  background-image: none;
 
}
 
 
div.vectorTabs li.selected
 
{
 
  background-color:  #fff;
 
  border: 1px solid #ccc;
 
  border-bottom-width: 0;
 
  padding-bottom: 1px;
 
  margin: 0 -1px 0 0;
 
}
 
 
div.vectorTabs li.selected a span
 
{
 
  margin-top: 0px;
 
}
 
 
div#left-navigation div.vectorTabs li.selected
 
{
 
  border-radius: 0.5em 0 0 0;
 
}
 
 
div#left-navigation div.vectorTabs li + li.selected
 
{
 
  border-radius: 0;
 
}
 
 
div#left-navigation div.vectorTabs ul li:last-child
 
{
 
  border-top-right-radius:0.5em;
 
}
 
 
div.vectorTabs a span
 
{
 
  padding-top: 0;
 
  line-height: 2.5em;
 
}
 
 
div.vectorTabs li a span
 
{
 
  font-size: 0.9230769231em;
 
}
 
 
div.vectorTabs span > a
 
{
 
  font-size: 12px !important;
 
}
 
 
#left-navigation
 
{
 
  top: 3em;
 
  left: 12em !important;
 
  margin: -1px 0 0 !important;
 
  position: absolute;
 
}
 
 
#right-navigation
 
{
 
  top: 3em;
 
  margin-top: -1px;
 
  position: absolute;
 
  right: 0;
 
}
 
 
#mw-page-base
 
{
 
  background-image: url("/images/0/00/Skin_header.png");
 
  height: 228px;
 
  background-position: top left;
 
  background-repeat: no-repeat;
 
  background-color:transparent;
 
  position: absolute;
 
  top: 0;
 
  left: 0;
 
  z-index: 0;
 
  width: 100%;
 
}
 
 
#mw-head-base
 
{
 
  margin: 0 0 -1px 12em;
 
  height: 5.3em;
 
  padding: 2px 0 0 0;
 
  background-color:transparent;
 
  background-image: none;
 
  border-radius: 0.5em 0 0 0;
 
  background-image: none;
 
  position: relative;
 
  z-index:2;
 
}
 

Revision as of 15:44, 20 October 2015

/* CSS placed here will affect users of the Vector skin */

/* set sidebar width */
div#mw-panel { width: 11em; }
div#footer, #mw-head-base, div#content { margin-left: 11em; }
#left-navigation { margin-left: 11em; }


div.testdiv { background-color: yellow; }