Difference between revisions of "MediaWiki:Vector.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 80: Line 80:
  
 
/* tabs */
 
/* tabs */
#left-navigation {
+
div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorMenu li a, #p-cactions-label
    background: url("http://i.imgur.com/a5a6S06.png");
+
{
    margin-top: 39px;
+
  text-decoration: none;
 +
  font-size: 0.75em;
 +
 
 
}
 
}
  
#right-navigation {
+
div.vectorTabs
    background: url("http://i.imgur.com/a5a6S06.png");
+
{
    margin-right: 10px;
+
  padding: 0;
    margin-top: 39px;
+
  background-color:transparent;
 +
  background-image: none;
 
}
 
}
  
div.vectorTabs,
+
div.vectorTabs span
div.vectorTabs ul li {
+
{
    background-color: rgba(0, 0, 0, 0);
+
overflow: hidden;
    background-image: none;
+
height: 1.875em;
 +
background: transparent;
 
}
 
}
  
div.vectorTabs ul {
+
#right-navigation, #left-navigation
    background-color: rgba(0, 0, 0, 0);
+
{
    background-image: none;
+
  padding: 1px 0 0;
 +
  z-index: 3;
 
}
 
}
  
div.vectorTabs span {
+
#right-navigation div.vectorTabs
    background-color: rgba(0, 0, 0, 0);
+
{
    background-image: none;
+
  margin: 0px;
 
}
 
}
  
div#mw-head div.vectorMenu h4,
+
div.vectorMenu
div#p-variants.vectorMenu #mw-vector-current-variant {
+
{
    color: #ffffff;
+
  height: 1.875em;
    padding-top: 1.375em !important;
+
  margin-top: 0;
    text-transform: uppercase;
+
  background-color: #eee;
 +
  border: 1px solid #ccc;
 
}
 
}
  
div.vectorTabs li a,
+
#mw-navigation #mw-head div.vectorMenu h3
div.vectorTabs li a:visited {
+
{
    color: #ffffff;
+
  height: 1.875em;
    text-transform: uppercase;
 
 
}
 
}
  
div.vectorTabs li.selected {
+
#mw-navigation div.vectorMenu h3 a
    background: rgba(0, 0, 0, 0) url("http://i.imgur.com/bkDHNL7.png") repeat-x scroll center bottom;
+
{
 +
  background-position: 100% 50%;
 
}
 
}
  
div.vectorTabs li.selected a,
+
#mw-navigation div.vectorMenu h3 span
div.vectorTabs li.selected a:visited {
+
{
    color: #ffffff !important;
+
  display: inline-block;
 +
  height: 100%;
 +
  line-height: 2.3em;
 +
  padding: 0 0.25em 0 0.8em;
 
}
 
}
  
div#mw-head div.vectorMenu h3,
+
#mw-navigation div.vectorMenu div.menu
div.vectorMenu h3 > a {
+
{
    background-image: none;
+
  top: 1.875em;
 +
  border: none;
 +
  left: 0;
 
}
 
}
  
div.vectorMenu h3 span {
+
div.vectorMenu ul
    color: #ffffff;
+
{
    text-transform: uppercase;
+
  margin-left: -1px;
 +
  background-color: #eee;
 +
  border: solid 1px #ccc;
 
}
 
}
  
.htmlform-tip {
+
div.vectorMenu li a
    padding-left: 20%;
+
{
 +
  height: 1.4em;
 +
  line-height:1.53846em;
 
}
 
}
  
div.vectorTabs li a {
+
div.vectorTabs ul li
   color: #FFFFFF;
+
{
 +
   height: 1.875em;
 +
  line-height: 0;
 +
  margin: 0 -1px 0 0;
 +
  background-image: none;
 +
  background-color:#eee;
 +
  border:1px solid #ccc;
 
}
 
}
  
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
+
div.vectorTabs ul li:first-child
   color: #FFFFFF;
+
{
 +
   border-top-left-radius:0.5em;
 
}
 
}
  
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
+
div.vectorTabs ul li:hover, div.vectorMenu ul li:hover, div.vectorMenu:hover
   color: #FFFFFF;
+
{
 +
   background-color:#f8f8f8;
 
}
 
}
  
div.vectorMenu div.menu a {
+
div.vectorTabs li a
   color: #FFFFFF;
+
{
 +
   height: 1.4em;
 +
  padding-left: 0.8em;
 +
  padding-right: 0.8em;
 +
  background-image: none;
 
}
 
}
  
#p-personal a, #p-personal a.new, p-personal a:visited {
+
div.vectorTabs li.selected
  color: #FFFFFF;
+
{
 +
  background-color:  #fff;
 +
  border: 1px solid #ccc;
 +
  border-bottom-width: 0;
 +
  padding-bottom: 1px;
 +
  margin: 0 -1px 0 0;
 
}
 
}
  
#p-personal a.hover, p-personal a:focus {
+
div.vectorTabs li.selected a span
  color: #FFFFFF;
+
{
  text-decoration:none;
+
  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;
 +
}
 +
 
 +
#left-navigation
 +
{
 +
  top: 2.5em;
 +
  left: 10em !important;
 +
  margin: -1px 0 0 !important;
 +
  position: absolute;
 +
}
 +
 
 +
#right-navigation
 +
{
 +
  top: 2.5em;
 +
  margin-top: -1px;
 +
  position: absolute;
 +
  right: 0;
 
}
 
}

Revision as of 21:48, 5 July 2016

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

body {
	background-color: #1a1a1a;
	min-width: 500px;
}

#pageWrapper {
	margin-right: 10px;
}

div#content {
	background-color: #FFFFFF;
	background-image: none;
	border-left: 1px solid #1a1a1a;
        box-sizing: border-box;
	color: #000000;
}

h1, h2, h3, h4, h5, h6 {
	color: #2D2723;
}

div#mw-page-base {
	background: transparent;
}

div#mw-head-base {
	background: transparent;
}

div#mw-panel div.portal {
    background-image: url("http://i.imgur.com/VNxqRL2.png");
    background-position: left top;
    background-repeat: no-repeat;
    direction: ltr;
    margin: 0 0.6em 0 0.7em;
    padding: 0.25em 0;
}

div#mw-panel div.portal h3,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a {
    color: #ffffcc;
}

div#mw-panel div.portal div.body ul li a:visited {
    color: #DDDDDD;
}

div#mw-panel div.portal div.body ul li a {
    color: #DDDDDD;
}

div#mw-panel div.portal div.body,
#mw-panel.collapsible-nav .portal {
    border-bottom:;
}

div#mw-panel.collapsible-nav div#p-socialProfiles.portal,
#mw-panel.collapsible-nav #p-sitePromos.portal {
    background-image: none;
}

div#footer ul li {
    color: #eae8d3;
}

div#footer a {
    color: #E4C62E; 
}

table {
    font-size: 100%;
    color: #2D2723;
	/* we don't want the bottom borders of <h2>s to be visible through
	 * floated tables */
    background-color: transparent;
}

/* tabs */
div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorMenu li a, #p-cactions-label
{
  text-decoration: none;
  font-size: 0.75em;
  
}

div.vectorTabs
{
  padding: 0;
  background-color:transparent;
  background-image: none;
}

div.vectorTabs span
{
 overflow: hidden;
 height: 1.875em;
 background: transparent;
}

#right-navigation, #left-navigation
{
  padding: 1px 0 0;
  z-index: 3;
}

#right-navigation div.vectorTabs
{
  margin: 0px;
}

div.vectorMenu
{
  height: 1.875em;
  margin-top: 0;
  background-color: #eee;
  border: 1px solid #ccc;
}

#mw-navigation #mw-head div.vectorMenu h3
{
  height: 1.875em;
}

#mw-navigation div.vectorMenu h3 a
{
  background-position: 100% 50%;
}

#mw-navigation div.vectorMenu h3 span
{
  display: inline-block;
  height: 100%;
  line-height: 2.3em;
  padding: 0 0.25em 0 0.8em;
}

#mw-navigation div.vectorMenu div.menu
{
  top: 1.875em;
  border: none;
  left: 0;
}

div.vectorMenu ul
{
  margin-left: -1px;
  background-color: #eee;
  border: solid 1px #ccc;
}

div.vectorMenu li a
{
  height: 1.4em;
  line-height:1.53846em;
}

div.vectorTabs ul li
{
  height: 1.875em;
  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
{
  height: 1.4em;
  padding-left: 0.8em;
  padding-right: 0.8em;
  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;
}

#left-navigation
{
  top: 2.5em;
  left: 10em !important;
  margin: -1px 0 0 !important;
  position: absolute;
}

#right-navigation
{
  top: 2.5em;
  margin-top: -1px;
  position: absolute;
  right: 0;
}