Difference between revisions of "MediaWiki:Vector.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Undo revision 4858 by Lewp (talk))
Line 1: Line 1:
/* CSS placed here will affect users of the Hydra skin */
+
/* CSS placed here will affect users of the Vector skin */
 
 
/* For elements which display only in the mobile view */
 
.mobileonly {
 
display: none;
 
}
 
  
 +
/* Body Styling */
 
body {
 
body {
background-color: #1a1a1a;
+
background-color: #1a1a1a;
min-width: 500px;
 
 
}
 
}
  
#pageWrapper {
+
#mw-page-base {
margin-right: 10px;
+
  background:none;
 
}
 
}
  
div#content {
+
.mw-body {
 
background-color: #FFFFFF;
 
background-color: #FFFFFF;
 
background-image: none;
 
background-image: none;
Line 23: Line 18:
 
}
 
}
  
h1, h2, h3, h4, h5, h6 {
+
div#footer {
color: #2D2723;
+
  background: rgba(0, 0, 0, 0.8) none repeat scroll 0% 0%;
 +
  width: 100%;
 +
  padding: 0px !important;
 +
  margin-top: 20px !important;
 +
  bottom: 0px !important;
 +
  margin-left: auto !important;
 +
  margin-right: auto !important;
 +
  color: #FFFFFF;
 +
}
 +
 
 +
div#footer a {
 +
  color:white;
 +
}
 +
 
 +
div#footer ul {
 +
  padding-left: 15px;
 +
  padding-right: 15px;
 +
}
 +
 
 +
div#footer ul li {
 +
  color:#FFFFFF;
 +
}
 +
 
 +
.catlinks {
 +
    border: 1px solid #1FB61C;
 +
    background-color: rgba(199, 242, 254, 0.53);
 +
}
 +
 
 +
#toc, .toc {
 +
  background-color: rgba(255,255,255,0.58);
 +
}
 +
 
 +
.mw-body h1, .mw-body h2 {
 +
    font-family: 'Open Sans', sans-serif;
 +
}
 +
 
 +
div.thumbinner {
 +
  border: 1px solid #8DCAF0;
 +
  background-color: rgba(255,255,255,0.58);
 +
}
 +
 
 +
/* Mediawiki page tabs */
 +
div#mw-head div.vectorMenu h3, div.vectorTabs ul, div.vectorTabs li.selected, div.vectorTabs ul li, div.vectorTabs, div.vectorTabs span {
 +
  background:none;
 +
}
 +
 
 +
div.vectorTabs li a {
 +
  color: #000000;
 +
}
 +
 
 +
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
 +
  color: #000000;
 +
}
 +
 
 +
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
 +
  color: #000000;
 +
}
 +
 
 +
div.vectorMenu div.menu {
 +
  background-color: rgba(30, 17, 102, 0.67);
 +
}
 +
 
 +
div.vectorMenu div.menu a {
 +
  color: #000000;
 +
}
 +
 
 +
#p-personal a, #p-personal a.new, p-personal a:visited {
 +
  color: #000000;
 +
}
 +
 
 +
#p-personal a.hover, p-personal a:focus {
 +
  color: #000000;
 +
  text-decoration:none;
 +
}
 +
 
 +
/* Graphical borders */
 +
 
 +
div#mw-panel {
 +
    background-color: rgba(210, 255, 255, 0.7);
 +
    border: 1px solid #181818;
 +
    border-radius: 0.5em 0.5em 0.5em 0.5em;
 +
    line-height: 1em;
 +
    padding: 5px;
 +
    width: 145px;
 +
    top: 150px;
 +
}
 +
 
 +
/* Navboxstyling */
 +
#navbox {
 +
  margin:auto;
 +
  width:80%;
 +
  border: 1px solid rgb(132, 174, 236);
 +
  padding: 5px;
 +
  border-radius:11px;
 +
  clear: both;
 +
  margin-top: 15px;
 +
}
 +
 
 +
/* Table Styling */
 +
table.wikitable {
 +
  background-color: transparent;
 +
  border-collapse: separate;
 +
  border: none;
 +
}
 +
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
 +
  border: 1px solid #8DCAF0;
 +
  padding: 0.2em;
 +
  background-color: rgba(255, 255, 255, 0.58);
 +
}
 +
 
 +
table.wikitable > tr > th, table.wikitable > * > tr > th {
 +
  background-color: #2436A7;
 +
  text-align: center;
 +
  border-color: #007448;
 +
  box-shadow: 0px 1px rgba(0, 0, 0, 0.3);
 +
  color: white;
 +
  text-shadow: 0px 2px #00321f;
 +
}
 +
 
 +
table.wikitable > tr > th a, table.wikitable > * > tr > th a {
 +
  color:white;
 +
}
 +
 
 +
#cellstretch {
 +
  width:100%;
 +
}
 +
 
 +
#cellcenter {
 +
  text-align:center;
 +
}
 +
 
 +
#roundedborder {
 +
  border:1px solid rgb(132,174,236);
 +
  padding:5px;
 +
  border-radius:11px;
 +
  margin-top:15px;
 +
}
 +
 
 +
#roundedborderfull {
 +
  border:1px solid rgb(132,174,236);
 +
  padding:5px;
 +
  border-radius:11px;
 +
  margin-top:15px;
 +
  width:100%;
 
}
 
}
  
div#mw-page-base {
+
/* Infobox Styling */
background: transparent;
+
 
 +
#infoboxtable {
 +
  max-width:350px;
 +
  width:100%;
 
}
 
}
  
div#mw-head-base {
+
#infoboxheader {
background: transparent;
+
  text-align:center;
 +
  font-size:24px;
 +
  padding-top:5px;
 +
  padding-bottom:5px;
 +
  text-shadow: 0px 1.5px 0px rgba(0,0,0,0.2);
 
}
 
}
  
div#mw-panel div.portal {
+
#infoboxsection {
    background-image: url("https://hydra-media.cursecdn.com/dota2.gamepedia.com/0/0f/Portal-break.png");
+
  background-color:#03A007;
    background-position: left top;
+
  vertical-align:top;
    background-repeat: no-repeat;
+
  padding-left:15px;
    direction: ltr;
+
  padding-right:5px;
    margin: 0 0.6em 0 0.7em;
+
  width:105px;
    padding: 0.25em 0;
+
  border-color:#007448;
 +
  box-shadow: 0px 1px rgba(0,0,0,0.3);
 +
  color: white;
 +
  text-shadow: 0px 2px #00321f;
 +
}
 +
 
 +
#infoboxdetail {
 +
  vertical-align:top;
 +
  padding-left:3px;
 +
  padding-right:12px;
 +
}
 +
 
 +
#infoboxdetail p {
 +
  margin:0px;
 +
}
 +
 
 +
#infoboxfooter {
 +
  width:100%;
 +
  padding-top:5px;
 +
}
 +
 
 +
#infoboxdetail ul {
 +
  margin: 0em 0px 0px 0.9em;
 
}
 
}
  
div#mw-panel div.portal h3,
+
#infoboxsep {
#mw-panel.collapsible-nav .portal h3 a,
+
  text-align:center;
#mw-panel.collapsible-nav .portal.collapsed h3 a {
+
  background-color:#03A007;
    color: #ffffcc;
+
  vertical-align:top;
 +
  border-color:#007448;
 +
  box-shadow: 0px 1px rgba(0,0,0,0.3);
 +
  color: white;
 +
  text-shadow: 0px 2px #00321f;
 
}
 
}
  
div#mw-panel div.portal div.body ul li a:visited {
+
/* Text */
     color: #DDDDDD;
+
a {
 +
     color: #2252A4;
 +
    cursor: pointer;
 +
    text-decoration: none;
 
}
 
}
  
div#mw-panel div.portal div.body ul li a {
+
a:visited {
     color: #DDDDDD;
+
     color: #2252A4;
 
}
 
}
  
div#mw-panel div.portal div.body,
+
a#title {
#mw-panel.collapsible-nav .portal {
+
     display: none;
     border-bottom:;
 
 
}
 
}
  
div#mw-panel.collapsible-nav div#p-socialProfiles.portal,
+
a#title:hover {
#mw-panel.collapsible-nav #p-sitePromos.portal {
+
     display: none;
     background-image: none;
 
 
}
 
}
  
div#footer ul li {
+
a:active {
     color: #eae8d3;
+
     color: #2252A4;
 
}
 
}
  
div#footer a {
+
a:hover {
     color: #E4C62E;  
+
     color: #0F2C5D;
 
}
 
}
  
table {
+
a.stub {
    font-size: 100%;
+
     color: #cc0000;
     color: #2D2723;
 
/* we don't want the bottom borders of <h2>s to be visible through
 
* floated tables */
 
    background-color: transparent;
 
 
}
 
}
  
/* tabs */
+
a.new {
#left-navigation {
+
     color: #cc0000;
     background: url("https://hydra-media.cursecdn.com/dota2.gamepedia.com/2/2e/Skin_tabs_background.png");
 
    margin-top: 39px;
 
 
}
 
}
  
#right-navigation {
+
a.new:visited {
    background: url("https://hydra-media.cursecdn.com/dota2.gamepedia.com/2/2e/Skin_tabs_background.png");
+
     color: #cc0000;
    margin-right: 10px;
 
     margin-top: 39px;
 
 
}
 
}
  
div.vectorTabs,
+
div#content a.external {
div.vectorTabs ul li {
+
     color: #2252A4;
     background-color: rgba(0, 0, 0, 0);
+
     cursor: pointer;
     background-image: none;
 
 
}
 
}
  
div.vectorTabs ul {
+
div#content a.external:visited {
     background-color: rgba(0, 0, 0, 0);
+
     color: #2252A4;
    background-image: none;
 
 
}
 
}
  
div.vectorTabs span {
+
div#content a.external#title {
     background-color: rgba(0, 0, 0, 0);
+
     display: none;
    background-image: none;
 
 
}
 
}
  
div#mw-head div.vectorMenu h4,
+
div#content a.external#title:hover {
div#p-variants.vectorMenu #mw-vector-current-variant {
+
     display: #0F2C5D;
     color: #ffffff;
 
    padding-top: 1.375em !important;
 
    text-transform: uppercase;
 
 
}
 
}
  
div.vectorTabs li a,
+
div#content a.external:active {
div.vectorTabs li a:visited {
+
     color: #2252A4;
     color: #ffffff;
 
    text-transform: uppercase;
 
 
}
 
}
  
div.vectorTabs li.selected {
+
div#content a.external:hover {
     background: rgba(0, 0, 0, 0) url("https://hydra-media.cursecdn.com/dota2.gamepedia.com/7/79/Skin_tab_background.png") repeat-x scroll center bottom;
+
     color: #0F2C5D;
 
}
 
}
  
div.vectorTabs li.selected a,
+
div#content a.external.stub {
div.vectorTabs li.selected a:visited {
+
     color: #cc0000;
     color: #ffffff !important;
 
 
}
 
}
  
div.vectorMenu {
+
div#mw-panel div.portal h5 {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9QTFRFsbGxmpqa3d3deXl58/n79CzHcQAAAAV0Uk5T/////wD7tg5TAAAAMklEQVR42mJgwQoYBkqYiZEZAhiZUFRDxWGicEPA4nBRhNlAcYQokpVMDEwD6kuAAAMAyGMFQVv5ldcAAAAASUVORK5CYII=");
+
    background: none repeat scroll 0 0 rgba(37, 53, 74, 0.5);
border: medium none;
+
    color: #000000;
 
}
 
}
  
div#mw-head div.vectorMenu h3,
+
div#mw-panel div.portal div.body {
div.vectorMenu h3 > a {
 
 
     background-image: none;
 
     background-image: none;
 +
    background-position: left top;
 +
    background-repeat: no-repeat;
 +
    margin: 0 0 0 .75em;
 
}
 
}
  
div.vectorMenu h3 span {
+
div#mw-panel div.portal div.body ul li a {
     color: #ffffff;
+
     color: #0F2C5D;
     text-transform: uppercase;
+
     display: block;
 +
    padding: 3px 3px 3px 3px;
 +
}
 +
 
 +
div#mw-panel div.portal div.body ul li a:hover {
 +
    padding: 3px 3px 3px 3px;
 +
}
 +
 
 +
div#mw-panel div.portal div.body ul li a:visited {
 +
    color: #0F2C5D;
 +
    display: block;
 +
    padding: 3px 3px 3px 3px;
 
}
 
}
  
.htmlform-tip {
+
div#mw-panel div.portal div.body ul li {
     padding-left: 20%;
+
     line-height: 0.5em;
 
}
 
}

Revision as of 20:43, 5 July 2016

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

/* Body Styling */
body {
 	background-color: #1a1a1a;
}

#mw-page-base {
  background:none;
}

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

div#footer {
  background: rgba(0, 0, 0, 0.8) none repeat scroll 0% 0%;
  width: 100%;
  padding: 0px !important;
  margin-top: 20px !important;
  bottom: 0px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #FFFFFF;
}

div#footer a {
  color:white;
}

div#footer ul {
  padding-left: 15px;
  padding-right: 15px;
}

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

.catlinks {
    border: 1px solid #1FB61C;
    background-color: rgba(199, 242, 254, 0.53);
}

#toc, .toc {
  background-color: rgba(255,255,255,0.58);
}

.mw-body h1, .mw-body h2 {
    font-family: 'Open Sans', sans-serif;
}

div.thumbinner {
   border: 1px solid #8DCAF0;
   background-color: rgba(255,255,255,0.58);
}

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

div.vectorTabs li a {
  color: #000000;
}

div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
  color: #000000;
}

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
  color: #000000;
}

div.vectorMenu div.menu {
  background-color: rgba(30, 17, 102, 0.67);
}

div.vectorMenu div.menu a {
  color: #000000;
}

#p-personal a, #p-personal a.new, p-personal a:visited {
   color: #000000;
}

#p-personal a.hover, p-personal a:focus {
   color: #000000;
   text-decoration:none;
}

/* Graphical borders */

div#mw-panel {
    background-color: rgba(210, 255, 255, 0.7);
    border: 1px solid #181818;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    line-height: 1em;
    padding: 5px;
    width: 145px;
    top: 150px;
}

/* Navboxstyling */
#navbox {
   margin:auto;
   width:80%;
   border: 1px solid rgb(132, 174, 236);
   padding: 5px; 
   border-radius:11px;
   clear: both;
   margin-top: 15px;
}

/* Table Styling */
table.wikitable {
  background-color: transparent;
  border-collapse: separate;
  border: none;
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
   border: 1px solid #8DCAF0;
   padding: 0.2em;
   background-color: rgba(255, 255, 255, 0.58);
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
   background-color: #2436A7;
   text-align: center;
   border-color: #007448;
   box-shadow: 0px 1px rgba(0, 0, 0, 0.3);
   color: white;
   text-shadow: 0px 2px #00321f;
}

table.wikitable > tr > th a, table.wikitable > * > tr > th a {
   color:white;
}

#cellstretch {
   width:100%;
}

#cellcenter {
   text-align:center;
}

#roundedborder {
   border:1px solid rgb(132,174,236);
   padding:5px;
   border-radius:11px;
   margin-top:15px;
}

#roundedborderfull {
   border:1px solid rgb(132,174,236);
   padding:5px;
   border-radius:11px;
   margin-top:15px;
   width:100%;
}

/* Infobox Styling */

#infoboxtable {
   max-width:350px;
   width:100%;
}

#infoboxheader {
   text-align:center;
   font-size:24px;
   padding-top:5px;
   padding-bottom:5px;
   text-shadow: 0px 1.5px 0px rgba(0,0,0,0.2);
}

#infoboxsection {
   background-color:#03A007;
   vertical-align:top;
   padding-left:15px;
   padding-right:5px;
   width:105px;
   border-color:#007448;
   box-shadow: 0px 1px rgba(0,0,0,0.3);
   color: white;
   text-shadow: 0px 2px #00321f;
}

#infoboxdetail {
   vertical-align:top;
   padding-left:3px;
   padding-right:12px;
}

#infoboxdetail p {
   margin:0px;
}

#infoboxfooter {
   width:100%;
   padding-top:5px;
}

#infoboxdetail ul {
   margin: 0em 0px 0px 0.9em;
}

#infoboxsep {
   text-align:center;
   background-color:#03A007;
   vertical-align:top;
   border-color:#007448;
   box-shadow: 0px 1px rgba(0,0,0,0.3);
   color: white;
   text-shadow: 0px 2px #00321f;
}

/* Text */
a {
    color: #2252A4;
    cursor: pointer;
    text-decoration: none;
}

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 {
    display: #0F2C5D;
}

div#content a.external:active {
    color: #2252A4;
}

div#content a.external:hover {
    color: #0F2C5D;
}

div#content a.external.stub {
    color: #cc0000;
}

div#mw-panel div.portal h5 {
    background: none repeat scroll 0 0 rgba(37, 53, 74, 0.5);
    color: #000000;
}

div#mw-panel div.portal div.body {
    background-image: none;
    background-position: left top;
    background-repeat: no-repeat;
    margin: 0 0 0 .75em;
}

div#mw-panel div.portal div.body ul li a {
    color: #0F2C5D;
    display: block;
    padding: 3px 3px 3px 3px;
}

div#mw-panel div.portal div.body ul li a:hover {
    padding: 3px 3px 3px 3px;
}

div#mw-panel div.portal div.body ul li a:visited {
    color: #0F2C5D;
    display: block;
    padding: 3px 3px 3px 3px;
}

div#mw-panel div.portal div.body ul li {
    line-height: 0.5em;
}