Difference between revisions of "MediaWiki:Vector.css"
From Dungeon Defenders 2 Wiki
| Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Vector skin */ | /* CSS placed here will affect users of the Vector skin */ | ||
| + | /* Body Styling */ | ||
body { | body { | ||
| − | + | background: #0A0523 url("https://dungeondefenders.com/2/images/backgrounds/Duxter-BG1-DD2.jpg") no-repeat fixed center center / cover; | |
| − | |||
| − | |||
| − | |||
} | } | ||
#mw-page-base { | #mw-page-base { | ||
| − | + | background:none; | |
} | } | ||
| − | + | .mw-body { | |
| − | + | border: 1px solid #A7D7F9; | |
| − | + | margin-right: 15px; | |
| − | + | background-color: rgba(209, 248, 255, 0.67); | |
| − | + | min-height:500px; | |
| − | + | margin-bottom: 60px; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
div#footer { | 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: #C2C8CF; | ||
} | } | ||
div#footer a { | div#footer a { | ||
| − | + | color:white; | |
} | } | ||
| − | + | div#footer ul { | |
| − | + | padding-left: 15px; | |
| − | + | padding-right: 15px; | |
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | # | + | div#footer ul li { |
| − | + | color:#C2C8CF; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | .catlinks { | |
| − | background-color: rgba( | + | border: 1px solid #84AEEC; |
| + | 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: #B7D2FF; | |
} | } | ||
| − | + | div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span { | |
| − | + | color: #99BFFF; | |
} | } | ||
| − | . | + | div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited { |
| − | + | color: #C6DBFF; | |
| − | |||
| − | |||
} | } | ||
| − | . | + | div.vectorMenu div.menu { |
| − | + | background-color: rgba(30, 17, 102, 0.67); | |
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | div.vectorMenu div.menu a { | |
| − | + | color: #C6DBFF; | |
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | # | + | #p-personal a, #p-personal a.new, p-personal a:visited { |
| − | + | color: #99BFFF; | |
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | # | + | #p-personal a.hover, p-personal a:focus { |
| − | + | color: #C6DBFF; | |
| + | text-decoration:none; | ||
} | } | ||
| − | + | /* Account Creation Page */ | |
| − | + | .mw-createacct-benefits-list { | |
| − | + | padding: 10px 10px 10px 60px; | |
| − | + | border-radius: 12px; | |
| − | + | background-color: rgba(255,255,255,0.58); | |
| − | + | border: 1px solid #8DCAF0; | |
} | } | ||
| − | + | .mw-number-text.icon-edits, .mw-number-text.icon-pages, .mw-number-text.icon-contributors { | |
| − | + | filter: brightness(0.7); | |
} | } | ||
| − | + | /* Non-TOC headers */ | |
| − | |||
| − | |||
| − | + | div.notochh1 { | |
| − | + | font-size: 188%; | |
| + | border-bottom: 1px solid #AAA; | ||
| + | padding-bottom: 0.17em; | ||
| + | margin-bottom: 0.6em; | ||
} | } | ||
| − | div. | + | /* Captcha Styling */ |
| − | + | div.editOptions label, div.editOptions input#wpCaptchaWord.mw-ui-input { | |
| − | + | display: inline !important; | |
} | } | ||
| − | + | #editform label, #editform input#wpCaptchaWord.mw-ui-input { | |
| − | + | display: none; | |
| − | |||
} | } | ||
| − | + | /* Graphical borders */ | |
| − | + | #menuborder { | |
| − | + | border: 9px solid transparent; | |
| + | padding: 12px; | ||
| + | -webkit-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Safari 3.1-5 */ | ||
| + | -o-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Opera 11-12.1 */ | ||
| + | border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; | ||
| + | background-color:background-color: rgba(255,255,255,0.58); | ||
} | } | ||
| − | div | + | div#mw-panel { |
| − | + | border: 6px solid transparent; | |
| − | + | left: -12px; | |
| − | + | -webkit-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Safari 3.1-5 */ | |
| − | + | -o-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Opera 11-12.1 */ | |
| − | + | border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; | |
| − | + | background-color: rgba(209, 248, 255, 0.67); | |
| − | + | padding-bottom: 15px; | |
| − | + | border-top-right-radius: 8px; | |
| − | + | border-bottom-right-radius: 8px; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | . | + | #infoboxborder { |
| − | margin-bottom: | + | border: 12px solid transparent; |
| − | + | -webkit-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Safari 3.1-5 */ | |
| + | -o-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Opera 11-12.1 */ | ||
| + | border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; | ||
| + | background-color: rgba(255,255,255,0.58); | ||
| + | float:right; | ||
| + | border-radius: 12px; | ||
| + | margin-left: 15px; | ||
| + | margin-bottom:15px; | ||
| + | min-width: 300px; | ||
} | } | ||
| − | + | /* 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 { | 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 { | table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { | ||
border: 1px solid #8DCAF0; | border: 1px solid #8DCAF0; | ||
| Line 514: | Line 183: | ||
table.wikitable > tr > th, table.wikitable > * > tr > th { | table.wikitable > tr > th, table.wikitable > * > tr > th { | ||
| − | background-color: # | + | background-color: #03A007; |
text-align: center; | text-align: center; | ||
| − | border-color: # | + | border-color: #007448; |
| − | box-shadow: 0px 1px rgba(0, 0, 0, 0); | + | box-shadow: 0px 1px rgba(0, 0, 0, 0.3); |
color: white; | color: white; | ||
text-shadow: 0px 2px #00321f; | 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; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Revision as of 16:56, 5 July 2016
/* CSS placed here will affect users of the Vector skin */
/* Body Styling */
body {
background: #0A0523 url("https://dungeondefenders.com/2/images/backgrounds/Duxter-BG1-DD2.jpg") no-repeat fixed center center / cover;
}
#mw-page-base {
background:none;
}
.mw-body {
border: 1px solid #A7D7F9;
margin-right: 15px;
background-color: rgba(209, 248, 255, 0.67);
min-height:500px;
margin-bottom: 60px;
}
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: #C2C8CF;
}
div#footer a {
color:white;
}
div#footer ul {
padding-left: 15px;
padding-right: 15px;
}
div#footer ul li {
color:#C2C8CF;
}
.catlinks {
border: 1px solid #84AEEC;
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: #B7D2FF;
}
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
color: #99BFFF;
}
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
color: #C6DBFF;
}
div.vectorMenu div.menu {
background-color: rgba(30, 17, 102, 0.67);
}
div.vectorMenu div.menu a {
color: #C6DBFF;
}
#p-personal a, #p-personal a.new, p-personal a:visited {
color: #99BFFF;
}
#p-personal a.hover, p-personal a:focus {
color: #C6DBFF;
text-decoration:none;
}
/* Account Creation Page */
.mw-createacct-benefits-list {
padding: 10px 10px 10px 60px;
border-radius: 12px;
background-color: rgba(255,255,255,0.58);
border: 1px solid #8DCAF0;
}
.mw-number-text.icon-edits, .mw-number-text.icon-pages, .mw-number-text.icon-contributors {
filter: brightness(0.7);
}
/* Non-TOC headers */
div.notochh1 {
font-size: 188%;
border-bottom: 1px solid #AAA;
padding-bottom: 0.17em;
margin-bottom: 0.6em;
}
/* Captcha Styling */
div.editOptions label, div.editOptions input#wpCaptchaWord.mw-ui-input {
display: inline !important;
}
#editform label, #editform input#wpCaptchaWord.mw-ui-input {
display: none;
}
/* Graphical borders */
#menuborder {
border: 9px solid transparent;
padding: 12px;
-webkit-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Safari 3.1-5 */
-o-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Opera 11-12.1 */
border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch;
background-color:background-color: rgba(255,255,255,0.58);
}
div#mw-panel {
border: 6px solid transparent;
left: -12px;
-webkit-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Safari 3.1-5 */
-o-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Opera 11-12.1 */
border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch;
background-color: rgba(209, 248, 255, 0.67);
padding-bottom: 15px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
#infoboxborder {
border: 12px solid transparent;
-webkit-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Safari 3.1-5 */
-o-border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch; /* Opera 11-12.1 */
border-image: url("skins/Vector/stardewimages/menu_border.png") 15 stretch;
background-color: rgba(255,255,255,0.58);
float:right;
border-radius: 12px;
margin-left: 15px;
margin-bottom:15px;
min-width: 300px;
}
/* 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: #03A007;
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;
}