Difference between revisions of "MediaWiki:Vector.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
 
(261 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
/* CSS placed here will affect users of the Vector skin */
 
/* CSS placed here will affect users of the Vector skin */
 +
@import 'https://fonts.googleapis.com/css?family=Montserrat|Noto+Sans';
  
/* Body Styling */
+
div#mw-head {
body {
+
    #top: 110px;
background-color: #1a1a1a;
 
 
}
 
}
  
#mw-page-base {
+
#contentSub {
  background:none;
+
margin: 0px;
 
}
 
}
  
div#content {
+
#mw-content-text {
background-color: #FFFFFF;
+
font-family:Noto Sans, sans-serif;
background-image: none;
+
color:rgba(244,244,244,.84);
border-left: 1px solid #1a1a1a;
 
        box-sizing: border-box;
 
color: #000000;
 
 
}
 
}
  
div#footer {
+
#firstHeading {
  background: rgba(0, 0, 0, 0.8) none repeat scroll 0% 0%;
+
font-family:Noto Sans, sans-serif;
  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 {
+
#mw-content-text a {
  color:white;
+
color:rgba(255,167,0,.96);
 
}
 
}
  
div#footer ul {
+
#mw-head-base {
  padding-left: 15px;
+
    background-image: none;
  padding-right: 15px;
+
    background-color: rgba(0, 0, 0, .97);
 +
    border-left: 1px solid #181818;
 +
    border-right: 1px solid #181818;
 +
    border-bottom: 0px solid #181818;
 +
    border-top: 1px solid #181818;
 +
    border-top-left-radius: 0.5em;
 +
    border-top-right-radius: 0.5em;
 +
    bottom: 0;
 +
    height: 48px;
 +
    margin-top: -40px;  
 
}
 
}
  
div#footer ul li {
+
#p-personal {
  color:#FFFFFF;
+
     background-color: rgba(0, 0, 0, 1);
}
+
     border: 1px solid #181818;
 
+
    border-radius: 4px 4px 4px 4px;
.catlinks {
+
    right: 0;
    border: 1px solid #1FB61C;
+
    padding-right: 0.55em;
     background-color: rgba(199, 242, 254, 0.53);
+
     padding-bottom: 3px;
}
+
    #top: -100px;
 
 
#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 */
 
 
 
#left-navigation {
 
    background: url("https://hydra-media.cursecdn.com/dota2.gamepedia.com/2/2e/Skin_tabs_background.png");
 
     margin-top: 39px;
 
}
 
 
 
#right-navigation {
 
    background: url("https://hydra-media.cursecdn.com/dota2.gamepedia.com/2/2e/Skin_tabs_background.png");
 
 
     margin-right: 10px;
 
     margin-right: 10px;
    margin-top: 39px;
 
 
}
 
}
  
div.vectorTabs,
+
#p-personal #pt-mytalk,  
div.vectorTabs ul li {
+
#p-personal #pt-preferences,
    background-color: rgba(0, 0, 0, 0);
+
#p-personal #pt-watchlist,  
     background-image: none;
+
#p-personal #pt-mycontris,  
 +
#p-personal #pt-logout {
 +
     text-transform: lowercase;
 
}
 
}
  
div.vectorTabs ul {
+
div.vectorTabs {
    background-color: rgba(0, 0, 0, 0);
+
     background-image: none;
     background-image: none;
 
 
}
 
}
  
 
div.vectorTabs span {
 
div.vectorTabs span {
    background-color: rgba(0, 0, 0, 0);
+
     background-image: none;
     background-image: none;
 
 
}
 
}
  
 
+
div.vectorTabs ul {
/* Graphical borders */
+
     background-image: none;
 
 
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 */
+
div.vectorTabs li a {
#navbox {
+
    background-image: none;
  margin:auto;
 
  width:80%;
 
  border: 1px solid rgb(132, 174, 236);
 
  padding: 5px;
 
  border-radius:11px;
 
  clear: both;
 
  margin-top: 15px;
 
 
}
 
}
  
/* Table Styling */
+
div.vectorTabs li.selected {
table.wikitable {
+
    background-color: transparent;
  background-color: transparent;
+
    background-image: none;
  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 {
+
div.vectorTabs ul li {
  background-color: #2436A7;
+
    background-color:transparent;
  text-align: center;
+
    background-image: none;
  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 {
+
#mw-head div.vectorMenu h5 {
  color:white;
+
    background-image: none;
 
}
 
}
  
#cellstretch {
+
div.vectorMenu h5 a {
  width:100%;
+
    background-image: none;
 
}
 
}
  
#cellcenter {
+
div.vectorTabs li a, div.vectorTabs li a span {
  text-align:center;
+
    color: #FFFFFF;
 +
    cursor: pointer;
 +
    font-weight: bold;
 +
    text-transform: uppercase;
 
}
 
}
  
#roundedborder {
+
div.vectorTabs li.selected a,
  border:1px solid rgb(132,174,236);
+
div.vectorTabs li.selected a span,
  padding:5px;
+
div.vectorTabs li.selected a:visited,
  border-radius:11px;
+
div.vectorTabs li.selected a:visited span {
  margin-top:15px;
+
    color: white !important;
 +
    font-weight: bold;
 +
    text-decoration: none;
 +
    text-shadow: -1px -1px 1px black;
 
}
 
}
 
+
div.vectorTabs li.new a,
#roundedborderfull {
+
div.vectorTabs li.new a span,
  border:1px solid rgb(132,174,236);
+
div.vectorTabs li.new a:visited,  
  padding:5px;
+
div.vectorTabs li.new a:visited span {
  border-radius:11px;
+
    color: #FFFFFFF;
  margin-top:15px;
+
    font-weight: bold;
  width:100%;
 
 
}
 
}
  
/* Infobox Styling */
+
div.vectorTabs li a {
 
+
    background-image: none;
#infoboxtable {
 
  max-width:350px;
 
  width:100%;
 
}
 
 
 
#pageWrapper {
 
margin-right: 10px;
 
}
 
 
 
#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 {
+
ul.tabbernav {
  width:100%;
+
    margin: 0;
  padding-top:5px;
+
    padding: 3px 0;
 +
    border-bottom: 1px solid rgba(255,255,255,.30);
 +
    font: bold 12px Verdana, sans-serif;
 
}
 
}
  
#infoboxdetail ul {
+
ul.tabbernav li {
  margin: 0em 0px 0px 0.9em;
+
    list-style: none;
 +
    margin: 0;
 +
    display: inline;
 
}
 
}
  
#infoboxsep {
+
ul.tabbernav li a {
  text-align:center;
+
    padding: 3px .5em;
  background-color:#03A007;
+
    margin-left: 3px;
  vertical-align:top;
+
    border: 1px solid #CCC;
  border-color:#007448;
+
    border-bottom: none;
  box-shadow: 0px 1px rgba(0,0,0,0.3);
+
    background: rgba(21,2,30,.94);
  color: white;
 
  text-shadow: 0px 2px #00321f;
 
}
 
 
 
/* Text */
 
a {
 
    color: #2252A4;
 
    cursor: pointer;
 
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
  
a:visited {
+
ul.tabbernav li a:link {
     color: #2252A4;
+
     color: #448;
 
}
 
}
  
a#title {
+
ul.tabbernav li a:visited {
     display: none;
+
     color: #667;
 
}
 
}
  
a#title:hover {
+
ul.tabbernav li a:hover {
     display: none;
+
     color: #000;
 +
    background: rgba(255,255,255,.30) !important;
 +
    border-color: #CCC;
 
}
 
}
  
a:active {
+
ul.tabbernav li.tabberactive a {
     color: #2252A4;
+
     color: rgba(21,2,30,.94) !important;
 +
    background: #FFF;
 +
    border-bottom: 1px solid #FFF;
 
}
 
}
  
a:hover {
+
ul.tabbernav li.tabberactive a:hover {
     color: #0F2C5D;
+
     color: #000;
 +
    background: #FFF;
 +
    border-bottom: 1px solid #FFF;
 
}
 
}
  
a.stub {
+
.tabber .tabbertab {
     color: #cc0000;
+
     padding: 5px;
}
+
    border: 1px solid #CCC;
 
+
     border-top: 0;
a.new {
 
     color: #cc0000;
 
 
}
 
}
  
a.new:visited {
+
li.gallerybox {
    color: #cc0000;
+
border-style:none !important;
 
}
 
}
  
div#content a.external {
+
#mainwiki {
    color: #2252A4;
+
border-collapse:collapse;
    cursor: pointer;
+
text-align:left;
 +
font-family:Noto Sans, sans-serif;
 
}
 
}
  
div#content a.external:visited {
+
#mainwiki tr {
    color: #2252A4;
+
border: 1px solid #0a010c;
 
}
 
}
  
div#content a.external#title {
+
#mainwiki th {
    display: none;
+
vertical-align:top;
 +
background-image: url(https://wiki.dungeondefenders2.com/images/4/4d/Wikigradient_small.png) !important;
 +
height:36px;
 +
text-align:center;
 +
font-size:1.4em;
 +
color:#f2f2f2;
 
}
 
}
  
div#content a.external#title:hover {
+
#mainwiki td.content {
    display: #0F2C5D;
+
padding: 1em;
 +
background: rgb(21,2,30); /* Old browsers */
 +
background: -moz-linear-gradient(top, rgba(21,2,30,.90) 0%,rgba(0,0,0,.90) 1%); /* FF3.6-15 */
 +
background: -webkit-linear-gradient(top, rgba(21,2,30,.90) 0%,rgba(0,0,0,.90) 1%); /* Chrome10-25,Safari5.1-6 */
 +
background: linear-gradient(to bottom, rgba(21,2,30,.90) 0%,rgba(0,0,0,.90) 1%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 +
vertical-align:top;
 +
/*color:#f2f2f2;*/
 +
color:rgba(244,244,244,.84);
 
}
 
}
  
div#content a.external:active {
+
#mainwiki a {
    color: #2252A4;
+
/*color: #faa700;*/
 +
color:rgba(255,167,0,.96);
 
}
 
}
  
div#content a.external:hover {
+
#mainwiki td.space {
     color: #0F2C5D;
+
border-right:1px solid rgba(255,255,255,.30);
 +
-moz-background-clip: border;     /* Firefox 3.6 */
 +
-webkit-background-clip: border;  /* Safari 4? Chrome 6? */
 +
background-clip: border-box;     /* Firefox 4, Safari 5, Opera 10, IE 9 */
 
}
 
}
  
div#content a.external.stub {
+
table.wikitable th {
    color: #cc0000;
+
color: #FFF;
 
}
 
}
  
div#mw-panel div.portal h5 {
+
th.headerSort {
    background: none repeat scroll 0 0 rgba(37, 53, 74, 0.5);
+
color:rgba(255,167,0,.96) !important;
    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 {
+
.diffchange {
    color: #0F2C5D;
+
color:black;
    display: block;
 
    padding: 3px 3px 3px 3px;
 
 
}
 
}
  
div#mw-panel div.portal div.body ul li a:hover {
+
.wikiEditor-preview-contents {
    padding: 3px 3px 3px 3px;
+
background-color: transparent;
 
}
 
}
  
div#mw-panel div.portal div.body ul li a:visited {
+
.wikiEditor-ui {
    color: #0F2C5D;
+
background-color: transparent;
    display: block;
 
    padding: 3px 3px 3px 3px;
 
 
}
 
}
  
div#mw-panel div.portal div.body ul li {
+
.simple-tooltip {
    line-height: 0.5em;
+
color: orange;
 
}
 
}

Latest revision as of 13:47, 19 December 2018

/* CSS placed here will affect users of the Vector skin */
@import 'https://fonts.googleapis.com/css?family=Montserrat|Noto+Sans';

div#mw-head {
    #top: 110px;
}

#contentSub {
margin: 0px;
}

#mw-content-text {
font-family:Noto Sans, sans-serif;
color:rgba(244,244,244,.84);
}

#firstHeading {
font-family:Noto Sans, sans-serif;
}

#mw-content-text a {
color:rgba(255,167,0,.96);
}

#mw-head-base {
    background-image: none;
    background-color: rgba(0, 0, 0, .97);
    border-left: 1px solid #181818;
    border-right: 1px solid #181818;
    border-bottom: 0px solid #181818;
    border-top: 1px solid #181818;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    bottom: 0;
    height: 48px;
    margin-top: -40px; 
}

#p-personal {
    background-color: rgba(0, 0, 0, 1);
    border: 1px solid #181818;
    border-radius: 4px 4px 4px 4px;
    right: 0;
    padding-right: 0.55em;
    padding-bottom: 3px;
    #top: -100px;
    margin-right: 10px;
}

#p-personal #pt-mytalk, 
#p-personal #pt-preferences, 
#p-personal #pt-watchlist, 
#p-personal #pt-mycontris, 
#p-personal #pt-logout {
    text-transform: lowercase;
}

div.vectorTabs {
    background-image: none;
}

div.vectorTabs span {
    background-image: none;
}

div.vectorTabs ul {
    background-image: none;
}

div.vectorTabs li a {
    background-image: none;
}

div.vectorTabs li.selected {
    background-color: transparent;
    background-image: none;
}

div.vectorTabs ul li {
    background-color:transparent;
    background-image: none;
}

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

div.vectorMenu h5 a {
    background-image: none;
}

div.vectorTabs li a, div.vectorTabs li a span {
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

div.vectorTabs li.selected a, 
div.vectorTabs li.selected a span, 
div.vectorTabs li.selected a:visited, 
div.vectorTabs li.selected a:visited span {
    color: white !important;
    font-weight: bold;
    text-decoration: none;
    text-shadow: -1px -1px 1px black;
}
div.vectorTabs li.new a, 
div.vectorTabs li.new a span, 
div.vectorTabs li.new a:visited, 
div.vectorTabs li.new a:visited span {
    color: #FFFFFFF;
    font-weight: bold;
}

div.vectorTabs li a {
    background-image: none;
}

ul.tabbernav {
    margin: 0;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,.30);
    font: bold 12px Verdana, sans-serif;
}

ul.tabbernav li {
    list-style: none;
    margin: 0;
    display: inline;
}

ul.tabbernav li a {
    padding: 3px .5em;
    margin-left: 3px;
    border: 1px solid #CCC;
    border-bottom: none;
    background: rgba(21,2,30,.94);
    text-decoration: none;
}

ul.tabbernav li a:link {
    color: #448;
}

ul.tabbernav li a:visited {
    color: #667;
}

ul.tabbernav li a:hover {
    color: #000;
    background: rgba(255,255,255,.30) !important;
    border-color: #CCC;
}

ul.tabbernav li.tabberactive a {
    color: rgba(21,2,30,.94) !important;
    background: #FFF;
    border-bottom: 1px solid #FFF;
}

ul.tabbernav li.tabberactive a:hover {
    color: #000;
    background: #FFF;
    border-bottom: 1px solid #FFF;
}

.tabber .tabbertab {
    padding: 5px;
    border: 1px solid #CCC;
    border-top: 0;
}

li.gallerybox {
border-style:none !important;
}

#mainwiki {
border-collapse:collapse;
text-align:left;
font-family:Noto Sans, sans-serif;
}

#mainwiki tr {
border: 1px solid #0a010c;
}

#mainwiki th {
vertical-align:top;
background-image: url(https://wiki.dungeondefenders2.com/images/4/4d/Wikigradient_small.png) !important;
height:36px;
text-align:center;
font-size:1.4em;
color:#f2f2f2;
}

#mainwiki td.content {
padding: 1em;
background: rgb(21,2,30); /* Old browsers */
background: -moz-linear-gradient(top, rgba(21,2,30,.90) 0%,rgba(0,0,0,.90) 1%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(21,2,30,.90) 0%,rgba(0,0,0,.90) 1%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(21,2,30,.90) 0%,rgba(0,0,0,.90) 1%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
vertical-align:top;
/*color:#f2f2f2;*/
color:rgba(244,244,244,.84);
}

#mainwiki a {
/*color: #faa700;*/
color:rgba(255,167,0,.96);
}

#mainwiki td.space {
border-right:1px solid rgba(255,255,255,.30);
-moz-background-clip: border;     /* Firefox 3.6 */
-webkit-background-clip: border;  /* Safari 4? Chrome 6? */
background-clip: border-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
}

table.wikitable th {
color: #FFF;
}

th.headerSort {
color:rgba(255,167,0,.96) !important;
}

.diffchange {
color:black;
}

.wikiEditor-preview-contents {
background-color: transparent;
}

.wikiEditor-ui {
background-color: transparent;
}

.simple-tooltip {
color: orange;
}