Difference between revisions of "MediaWiki:Vector.css"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
 
(267 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: #0A0523 url("https://dungeondefenders.com/2/images/backgrounds/Duxter-BG1-DD2.jpg") no-repeat fixed center center / cover;
 
 
}
 
}
  
#mw-page-base {
+
#contentSub {
  background:none;
+
margin: 0px;
 
}
 
}
  
.mw-body {
+
#mw-content-text {
  border: 1px solid #A7D7F9;
+
font-family:Noto Sans, sans-serif;
  margin-right: 15px;
+
color:rgba(244,244,244,.84);
  background-color: rgba(203, 245, 255, 0.8);
 
  min-height:500px;
 
  margin-bottom: 60px;
 
 
}
 
}
  
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;
 +
    right: 0;
 +
    padding-right: 0.55em;
 +
    padding-bottom: 3px;
 +
    #top: -100px;
 +
    margin-right: 10px;
 
}
 
}
  
.catlinks {
+
#p-personal #pt-mytalk,
    border: 1px solid #1FB61C;
+
#p-personal #pt-preferences,
     background-color: rgba(199, 242, 254, 0.53);
+
#p-personal #pt-watchlist,
 +
#p-personal #pt-mycontris,
 +
#p-personal #pt-logout {
 +
     text-transform: lowercase;
 
}
 
}
  
#toc, .toc {
+
div.vectorTabs {
  background-color: rgba(255,255,255,0.58);
+
    background-image: none;
 
}
 
}
  
.mw-body h1, .mw-body h2 {
+
div.vectorTabs span {
     font-family: 'Open Sans', sans-serif;
+
     background-image: none;
 
}
 
}
  
div.thumbinner {
+
div.vectorTabs ul {
  border: 1px solid #8DCAF0;
+
    background-image: none;
  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 {
 
div.vectorTabs li a {
  color: #000000;
+
    background-image: none;
 
}
 
}
  
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
+
div.vectorTabs li.selected {
  color: #000000;
+
    background-color: transparent;
 +
    background-image: none;
 
}
 
}
  
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
+
div.vectorTabs ul li {
  color: #000000;
+
    background-color:transparent;
 +
    background-image: none;
 
}
 
}
  
div.vectorMenu div.menu {
+
#mw-head div.vectorMenu h5 {
  background-color: rgba(30, 17, 102, 0.67);
+
    background-image: none;
 
}
 
}
  
div.vectorMenu div.menu a {
+
div.vectorMenu h5 a {
  color: #000000;
+
    background-image: none;
 
}
 
}
  
#p-personal a, #p-personal a.new, p-personal a:visited {
+
div.vectorTabs li a, div.vectorTabs li a span {
  color: #000000;
+
    color: #FFFFFF;
 +
    cursor: pointer;
 +
    font-weight: bold;
 +
    text-transform: uppercase;
 
}
 
}
  
#p-personal a.hover, p-personal a:focus {
+
div.vectorTabs li.selected a,
  color: #000000;
+
div.vectorTabs li.selected a span,
  text-decoration:none;
+
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,  
/* Graphical borders */
+
div.vectorTabs li.new a span,
 
+
div.vectorTabs li.new a:visited,
div#mw-panel {
+
div.vectorTabs li.new a:visited span {
    background-color: rgba(210, 255, 255, 0.7);
+
     color: #FFFFFFF;
    border: 1px solid #181818;
+
     font-weight: bold;
    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 */
 
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 {
+
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 12: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;
}