Difference between revisions of "MediaWiki:Vector.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Undo revision 4976 by Lewp (talk))
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
 
 
 
body {
 
body {
background-color: #1a1a1a;
+
    background-image: url("https://dungeondefenders.com/2/images/backgrounds/Duxter-BG1-DD2.jpg");
min-width: 500px;
 
 
}
 
}
  
 
#pageWrapper {
 
#pageWrapper {
margin-right: 10px;
+
    padding-right: 1em;
 
}
 
}
  
div#content {
+
#p-logo a {
background-color: #FFFFFF;
+
width: auto;
background-image: none;
 
border-left: 1px solid #1a1a1a;
 
        border-top: 1px solid #1a1a1a;
 
        box-sizing: border-box;
 
color: #000000;
 
 
}
 
}
 
+
#p-logo {
h1, h2, h3, h4, h5, h6 {
+
    left: -5px;
color: #2D2723;
+
    margin: 22px 0 0;
 +
    position: absolute;
 +
    width: 204px;
 
}
 
}
  
 
div#mw-page-base {
 
div#mw-page-base {
background: transparent;
+
    background: #262626;
 +
    height: 82px;
 +
    margin-bottom: 0;
 +
    border-bottom: 3px solid #e04a40;
 
}
 
}
  
div#mw-head-base {
+
div#mw-head {
background: transparent;
+
    height: 82px;
 
}
 
}
  
div#mw-panel div.portal {
+
#mw-head-base {
     background-image: url("http://i.imgur.com/VNxqRL2.png");
+
     display: none;
    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,
+
#left-navigation {
#mw-panel.collapsible-nav .portal h3 a,
+
    position: absolute;
#mw-panel.collapsible-nav .portal.collapsed h3 a {
+
    top: 2px;
     color: #ffffcc;
+
    left: 204px;
 +
    margin: 0;
 +
     margin-left: 2em;
 
}
 
}
  
div#mw-panel div.portal div.body ul li a:visited {
+
#right-navigation {
     color: #FFFFFF;
+
    position: absolute;
 +
    top: 2px;
 +
    right: 0;
 +
     margin: 0;
 
}
 
}
  
div#mw-panel div.portal div.body ul li a {
+
div.vectorTabs {
     color: #FFFFFF;
+
     padding-left: 0;
 
}
 
}
  
div#mw-panel div.portal div.body,
+
div.vectorTabs span,
#mw-panel.collapsible-nav .portal {
+
div.vectorTabs ul,
     border-bottom:;
+
div.vectorTabs ul li,
 +
div.vectorTabs ul li.selected,
 +
div.vectorTabs,
 +
div#mw-head div.vectorMenu h3 {
 +
     background: none;
 
}
 
}
  
div#footer ul li {
+
div.vectorTabs li a,
     color: #eae8d3;
+
div.vectorTabs li a:visited,
 +
div.vectorMenu h3 span,
 +
div#mw-head li.new a {
 +
     color: #ffffff;
 +
    text-transform: uppercase;
 
}
 
}
  
div#footer a {
+
div.vectorTabs li a {
     color: #E4C62E;  
+
     padding: 0 1em;
 +
    height: 80px;
 +
    line-height: 80px;
 
}
 
}
  
table {
+
div.vectorTabs li:not(.new) a:hover,
    font-size: 100%;
+
div.vectorTabs li.selected a,
     color: #2D2723;
+
div.vectorTabs li.selected a:visited {
    background-color: transparent;
+
     color: #ffffff;
 
}
 
}
  
/* tabs */
+
div.vectorTabs li.new a {
div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorMenu li a, #p-cactions-label
+
    color: #ffffff;
{
 
  text-decoration: none;
 
  font-size: .85em;
 
 
 
 
}
 
}
  
div.vectorTabs
+
div.vectorTabs li.selected a,
{
+
div.vectorTabs li.selected a:visited {
  padding: 1px;
+
    background: #e04a40;
  background-color:transparent;
 
  background-image: none;
 
 
}
 
}
  
div.vectorTabs span
+
div.vectorMenu {}
{
 
overflow: hidden;
 
height: 1.875em;
 
background: transparent;
 
}
 
  
div.vectorMenu
+
div#mw-head div.vectorMenu h3 {
{
+
background-image: none;
  margin-top: .1em;
 
  background-color: #eee;
 
  border: 1px solid #ccc;
 
}
 
 
 
#mw-navigation div.vectorMenu h3 span
 
{
 
  display: inline-block;
 
  height: 100%;
 
  line-height: 2.7em;
 
  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: 0px;
 
  background-color: #eee;
 
  border: solid 1px #ccc;
 
}
 
 
 
div.vectorMenu li a
 
{
 
  height: 1em;
 
  line-height:1em;
 
}
 
 
 
div.vectorTabs ul li
 
{
 
  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#left-navigation div.vectorTabs ul li:last-child
 
{
 
  border-top-right-radius:0.5em;
 
}
 
 
 
div.vectorTabs ul li:hover, div.vectorMenu ul li:hover, div.vectorMenu:hover
 
{
 
  background-color:#f8f8f8;
 
}
 
 
 
div.vectorTabs li a
 
{
 
  padding-left: 0.8em;
 
  padding-right: 0.8em;
 
  background-image: none;
 
 
}
 
}
  
div.vectorTabs li.selected
+
div.vectorMenu h3 a {
{
+
    height: 80px;
  background-color: #fff;
+
    background-position: 100% 50%;
  border: 1px solid #ccc;
 
  border-bottom-width: 0;
 
  padding-bottom: 2px;
 
  margin: 0 -1px 0 0;
 
 
}
 
}
  
div#simpleSearch
+
div.vectorMenu h3 span {
{
+
color: #fff;
  border: 1px solid #ccc !important;
+
text-transform: uppercase;
  height: 2.5em !important;
+
padding: 0;
  width: 11em !important;
+
    height: 80px;
  margin-top: 0px !important;
+
    line-height: 80px;
 
}
 
}
  
#p-search
+
div.vectorMenu div.menu {
{
+
top: 5em;
  margin: 0 0 0 -1px;
 
  margin-top: .1em;
 
 
}
 
}
  
#p-search form, #p-search input
+
div.vectorMenu div.menu {
{
+
    background: none;
  margin: 0;
+
border: 3px solid #e04a40;
 +
border-top: none;
 
}
 
}
  
div#simpleSearch input#searchInput
+
div.vectorMenu ul {
{
+
    background: #262626;
  height:100% !important;
+
    border: none;
  padding: 0.2em 0px 0px 0.2em;
 
 
}
 
}
  
#p-personal a, #p-personal a.new, p-personal a:visited {
+
div.vectorMenu#p-cactions ul {
  color: #FFFFFF;
+
    left: auto;
 +
    right: 0;
 
}
 
}
  
#p-personal a.hover, p-personal a:focus {
+
div.vectorMenu li a {
  color: #FFFFFF;
+
     color: #ffffff;
  text-decoration:none;
 
}
 
 
 
#right-navigation, #left-navigation
 
{
 
  margin-top: 2.27em;
 
}
 
 
 
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;
 
}
 
 
 
a:visited {
 
    color: #2252A4;
 
}
 
 
 
a#title {
 
    display: none;
 
}
 
 
 
a#title:hover {
 
    display: none;
 
}
 
 
 
a:active {
 
    color: #2252A4;
 
}
 
 
 
a:hover {
 
    color: #0F2C5D;
 
}
 
 
 
a.stub {
 
    color: #cc0000;
 
}
 
 
 
a.new {
 
    color: #cc0000;
 
}
 
 
 
a.new:visited {
 
    color: #cc0000;
 
}
 
 
 
div#content a.external {
 
    color: #2252A4;
 
    cursor: pointer;
 
}
 
 
 
div#content a.external:visited {
 
     color: #2252A4;
 
}
 
 
 
div#content a.external#title {
 
    display: none;
 
 
}
 
}
  
div#content a.external#title:hover {
+
div#mw-head div.vectorMenu h3 {
     display: #0F2C5D;
+
    height: 80px;
 +
    line-height: 80px;
 +
    padding: 0 0 0 1em;
 +
     margin: 0;
 
}
 
}
  
div#content a.external:active {
+
#ca-unwatch.icon a,
     color: #2252A4;
+
#ca-watch.icon a {
 +
     margin-top: 17px;
 
}
 
}
  
div#content a.external:hover {
+
#p-search input,
     color: #0F2C5D;
+
div#simpleSearch {
 +
     margin-top: 0;
 
}
 
}
  
div#content a.external.stub {
+
#p-search form {
     color: #cc0000;
+
     margin-top: 26px;
 
}
 
}

Revision as of 15:56, 6 July 2016

body {
    background-image: url("https://dungeondefenders.com/2/images/backgrounds/Duxter-BG1-DD2.jpg");
}

#pageWrapper {
    padding-right: 1em;
}

#p-logo a {
	width: auto;
}
#p-logo {
    left: -5px;
    margin: 22px 0 0;
    position: absolute;
    width: 204px;
}

div#mw-page-base {
    background: #262626;
    height: 82px;
    margin-bottom: 0;
    border-bottom: 3px solid #e04a40;
}

div#mw-head {
    height: 82px;
}

#mw-head-base {
    display: none;
}

#left-navigation {
    position: absolute;
    top: 2px;
    left: 204px;
    margin: 0;
    margin-left: 2em;
}

#right-navigation {
    position: absolute;
    top: 2px;
    right: 0;
    margin: 0;
}

div.vectorTabs {
    padding-left: 0;
}

div.vectorTabs span,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs ul li.selected,
div.vectorTabs,
div#mw-head div.vectorMenu h3 {
    background: none;
}

div.vectorTabs li a,
div.vectorTabs li a:visited,
div.vectorMenu h3 span,
div#mw-head li.new a {
    color: #ffffff;
    text-transform: uppercase;
}

div.vectorTabs li a {
    padding: 0 1em;
    height: 80px;
    line-height: 80px;
}

div.vectorTabs li:not(.new) a:hover,
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    color: #ffffff;
}

div.vectorTabs li.new a {
    color: #ffffff;
}

div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    background: #e04a40;
}

div.vectorMenu {}

div#mw-head div.vectorMenu h3 {
	background-image: none;
}

div.vectorMenu h3 a {
    height: 80px;
    background-position: 100% 50%;
}

div.vectorMenu h3 span {
	color: #fff;
	text-transform: uppercase;
	padding: 0;
    height: 80px;
    line-height: 80px;
}

div.vectorMenu div.menu {
	top: 5em;
}

div.vectorMenu div.menu {
    background: none;
	border: 3px solid #e04a40;
	border-top: none;
}

div.vectorMenu ul {
    background: #262626;
    border: none;
}

div.vectorMenu#p-cactions ul {
    left: auto;
    right: 0;
}

div.vectorMenu li a {
    color: #ffffff;
}

div#mw-head div.vectorMenu h3 {
    height: 80px;
    line-height: 80px;
    padding: 0 0 0 1em;
    margin: 0;
}

#ca-unwatch.icon a,
#ca-watch.icon a {
    margin-top: 17px;
}

#p-search input,
div#simpleSearch {
    margin-top: 0;
}

#p-search form {
    margin-top: 26px;
}