MediaWiki:Common.css: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
#mw-footer-container {
 
font-size:80%;
div#mw-content-text hr:first-of-type {
opacity: 0.8;
    display: none;
}
}


.mw-pt-languages-list.autonym {
code {
  padding-bottom:0.5em;
background-color: #f7ffee;
border: 1px solid #6dac49;
border-radius: 3px;
}
}


.mw-pt-languages.noprint {
pre {
  font-size:13px;
padding: 0.25em;
background-color: #e5f5fb;
border: 1px solid #8699bd;
}
}


.nondumbimagesizing img { width: 100% !important; height: auto !important; }


div#mw-head div.vectorMenu h3 {
.wikitable.frontnews {
  background-image: none;
width: 100%;  
}
}


/* Translation interface */
.wikitable.frontbasegame {
 
width: 100%;  
.mw-highlight .c {
color: #AED581;
}
}


.mw-highlight .k {
.wikitable.frontmodding {
color: #ead848;
width: 100%;
}
}


.mw-highlight .s {
color: #54e25a;
}


.mw-highlight .o {
@media only screen and (min-width: 1500px) {
color: #ffffff;
.wikitable.frontnews {
width: 24%;
float:right;
}
.wikitable.frontbasegame {
width: 74%;
}
.wikitable.frontmodding {
width: 74%;  
}
}
}


.mw-highlight .m {
color: #bbbaba;
}


.mw-highlight .nc {
color: #29B6F6;
}


.mw-highlight .nb {
color: #FFF59D;
}


.mw-highlight .nt {
color: #46b94b;
}


.mw-highlight .nn {
.wikitable,
color: #ffe5be;
.catlinks,
.wikitable>*>tr>td,
.wikitable th,
.jquery-tablesorter th.headerSort {
background-color: rgba(250, 255, 246, 0.35);
border: 1px solid #95c269;
}
}


.mw-highlight .cp {
.wikitable th {
color: #ffa500;
background-image: none;
}
}


.mw-highlight .sx {
body {
color: #00ca00;
background-image: url(https://account.vintagestory.at/public/images/background.jpg);
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
font-size:105%;
}
}


.mw-highlight .nd {
#mw-page-base {
color: #CE93D8;
background: transparent;
}
}


.mw-highlight .c1 {
#p-navigation,
color: #a0f7f7;
#p-tb,
.mw-body,
#p-personal {
background-color: rgba(255, 255, 255, 0.85);
}
}


.mw-highlight .s2 {
#p-personal li {
color: #50ec56;
padding-top: 0.25em;
}
}


.mw-highlight .nf {
#p-personal ul {
color: #9be1fd;
padding-left: 0.25em;
padding-right: 0.25em;
}
}


.mw-highlight .kt {
#simpleSearch input {
color: #85ef98;
background-color: #ffffff;
}
}


.mw-highlight .mi {
.vectorMenu h3 span {
color: #dedede;
color: white;
}
}


.mw-highlight .mf {
color: #dedede;
}


.mw-highlight .kc {
/* For block templates */
color: #00ff00;
}
 
.mw-pt-languages-label {
  border-right: 1px solid rgba(46, 35, 25);
}


.mw-pt-languages-label {
.screwTemplatesMan p {
    background: transparent;
display: none;
}
}


.mw-pt-languages {
  border: 1px solid rgba(46, 35, 25);
  background-color: rgba(80, 60, 40, 0.9);
  margin-bottom: 4px;
}
body.mw-special-Translate .mw-body a {
  color: blue !important;
}
body.mw-special-Translate .mw-body {
  background-color: #f0f0f0;
}
body.mw-special-Translate #wpTextbox1, body.mw-special-Translate textarea {
  background-color: #f0f0f0 !important;
  color: #333 !important;
}
body.mw-special-Translate h1, body.mw-special-Translate h2, body.mw-special-Translate h3, body.mw-special-Translate h4, body.mw-special-Translate h5 {
    color: #333;
}
.mw-pt-translate-header {
    position: absolute;
    right: 0px;
    top: -14px;
}
/* For block templates */
.screwTemplatesMan p { display: none; }


/* Front page */
/* Front page */


.mainPageLeft {
.mainPageLeft {
  display: inline-block;
display: inline-block;
}
}


.mainPageRight {
.mainPageRight {
  display: inline-block;
display: inline-block;
}
}


.mainPageWelcome {
.mainPageWelcome {}
}


.mainPageDescription {
.mainPageDescription {}
}




/* VS Theming */
/* For the modding overview tables? No idea */


#p-logo a {
.treeview {
  filter: drop-shadow(5px 5px 5px #222222);
margin-top: 0.3em
}
}


body {
.treeview ul,
  background-image: url(https://wiki.vintagestory.at/images/e/e6/Shalebg.png);
.treeview li {
  color: #F6F0EA;
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none
}
}


.client-js #preferences legend, .htmlform-tip {
.treeview li {
  color: #F6F0EA;
display: table
}
}


.mw-body-content {
.treeview li li {
    font-size: 0.9em;
position: relative;
padding-left: 13px;
margin-left: 7px;
border-left: 1px solid #636363
}
}


 
.treeview li li:before {
table.gameplaynavbox img {
content: "";
    filter: drop-shadow(2px 2px 2px #333);
position: absolute;
top: 0;
left: 0;
width: 11px;
height: 11px;
border-bottom: 1px solid #636363
}
}


ul {
.treeview li li.first:before {
  list-style-image: none;
border-color: #636363;
border-style: solid;
border-width: 1px 0 0 1px;
height: 100%;
margin-top: 11px;
width: 10px
}
}


code {
.treeview li li.first,
    color: #F6F0EA;
.treeview li li:last-child {
    border: 1px solid #1A140E;
border: 0;
    border-radius: 2px;
padding-left: 14px
    padding: 1px 4px;
    background: #423222;
}
}


 
.treeview li li:last-child:before {
.mw-body {
border-left: 1px solid #636363;
  border: 1px solid rgba(46, 35, 25);
width: 10px
  background-color: rgba(80, 60, 40, 0.9);
}
}


 
.tt-table td,
 
th {
 
padding: 10px;
#toc, .toc, .mw-warning, .toccolours {
  border: 1px solid rgba(46, 35, 25);
  background-color: rgba(80, 60, 40, 0.9);
}
}


table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
.tt-table tr.level0 td {
  border: 1px solid rgba(46, 35, 25);
/*background-color: #e8e8e8;*/
background-color: rgba(120, 90, 60, 0.6);
}
}


.mw-body .external {
.tt-table tr.level1.odd td {
    background-image: url(/skins/Vector/images/external-link-ltr-icon.png) !important;
/*background-color: #e5e5e5;*/
background-color: rgba(120, 90, 60, 0.4);
}
}


table.wikitable {
.tt-table tr.level1.even td {
  color: #F6F0EA;
/*background-color: lightgray;*/
}
}


a:visited {
.tt-table tr.level2.odd td {
color: #E5C29D;
background-color: rgba(120, 90, 60, 0.3);
}
}


a {
.tt-table tr.level3.odd td {
color: #E5C29D;
background-color: rgba(120, 90, 60, 0.2);
}
}


div.vectorTabs span a {
.tt-table tr.level2 td {
    padding-top: 1em !important;
/*background-color: #f2f2f2;*/
    padding-bottom: 0.25em !important;
background-color: rgba(120, 90, 60, 0.7);
}
}


#ca-unwatch.icon a, #ca-watch.icon a {
.tt-table div.tt {
    padding-top: 2.8em !important;
display: inline-block;
position: relative;
}
}


div.vectorTabs li a, .client-js #preftoc li.selected a {
.tt-table div.tt div.content {
  color: #E5C29D;
border: 1px rgba(46, 35, 25) solid;
border-radius: 0px;
z-index: 10;
padding: 0 4px 0 5px;
position: relative;
background: linear-gradient(to bottom, rgba(120, 90, 60, 1) 0%, rgba(80, 60, 40, 1) 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
color: white;
}
}


div.vectorTabs li.selected {
.tt-table div.tt div.tail {
  background-image:none;
border: 1px darkgray solid;
  background-color: white !important;
border-right: 0;
border-top: 0;
position: absolute;
border-radius: 0px;
bottom: 11px;
left: -10px;
z-index: 0;
}
}


.client-js #preftoc li.selected {
.tt-table div.tt-parent div.content {
  background-image:none;
cursor: pointer;
  background-color: rgba(80, 60, 40, 0.9);
font-weight: bold;
}
}


.client-js #preftoc a, .client-js #preftoc a:active {
#jquery-script-menu {
color: #E5C29D;
position: fixed;
height: 90px;
width: 100%;
top: 0;
left: 0;
border-top: 5px solid #316594;
background: #fff;
-moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
z-index: 999999;
padding: 10px 0;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
}


.client-js #preftoc li.selected a {
.jquery-script-center {
background-image:none;
width: 960px;
  background-color: rgba(80, 60, 40, 0.9);
margin: 0 auto;
}
}


 
.jquery-script-center ul {
div.vectorTabs span, .client-js #preftoc li {
width: 212px;
  background-image:none;
float: left;
  background-color: rgba(80, 60, 40, 0.9);
line-height: 45px;
    border-right: 1px solid rgba(46, 35, 25);
margin: 0;
    border-top: 1px solid rgba(46, 35, 25);
padding: 0;
list-style: none;
}
}


div.vectorTabs ul li:first-child span, .client-js #preftoc li:first-child {
.jquery-script-center a {
    border-left: 1px solid rgba(46, 35, 25);
text-decoration: none;
}
}


.client-js #preftoc {  
.jquery-script-ads {
  background-image:none;
width: 728px;
height: 90px;
float: right;
}
}


 
.jquery-script-clear {
div.vectorTabs ul li {
clear: both;
  background-image:none;
height: 0;
  background-color:transparent;
}
}


div.vectorTabs ul {
.h4fake {
  background-image:none;
font-weight: bold;
  background-color:transparent;
font-size: 100%;
line-height: 1.6;
margin-top: 0.3em;
margin-bottom: 0;
padding-bottom: 0;
overflow: hidden;
padding-top: .5em;
color: #F6F0EA;
background: none;
}
}


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


div#mw-panel div.portal div.body ul li a {
/* Keyboard key css */
    color: #E5C29D;
}


div#mw-panel div.portal div.body ul li a:visited {
.key {
    color: #E5C29D;
display: inline-block;
color: #444;
font: bold 10pt arial;
text-decoration: none;
text-align: center;
width: 35px;
height: 31px;
margin: 5px;
background: #eff0f2;
-moz-border-radius: 4px;
border-radius: 4px;
border-top: 1px solid #d4d4d4;
-webkit-box-shadow: inset 0 0 25px #e8e8e8, 0 1px 0 #c3c3c3, 0 2px 0 #c9c9c9, 0 2px 3px #333;
-moz-box-shadow: inset 0 0 25px #e8e8e8, 0 1px 0 #c3c3c3, 0 2px 0 #c9c9c9, 0 2px 3px #333;
box-shadow: inset 0 0 25px #9c9c9c, 0 1px 0 #b9b9b9, 0 2px 0 #7b7b7b, 0 2px 3px #333;
text-shadow: 0px 1px 0px #f5f5f5;
}
}


a:hover {
.key span {
  color:navajowhite;
display: inline-block;
margin: 10px 0 0;
text-transform: uppercase;
}
}


.mw-body a.external {
.key-fn span {
    color: #E5C29D;
display: inline-block;
margin: 7px 0px 0px 0px;
text-align: right;
font: bold 8pt arial;
text-transform: uppercase;
}
}


a.new, #p-personal a.new {
#esc {
    color: indianred;
margin: 6px 15px 0 0;
font-size: 8.5pt;
text-transform: lowercase;
}
}


.mw-body a.external:visited {
.key-fn {
    color: #E5C29D;
height: 26px;
width: 46px;
}
}


 
#key-delete {
#mw-page-base {
width: 72px;
  background-image: none;
  background-color:transparent;
}
}


.mw-body {
#key-tab {
  color: #F6F0EA;
width: 72px;
}
}


h1,h2,h3,h4,h5 {
#key-caps {
  color: #F6F0EA;
width: 85px;
}
}


table td {
#key-enter {
/*  background-color: rgba(80, 60, 40, 0.9);*/
width: 85px;
}
}


/* Block/Item Property overview header */
.key-shiftleft,
 
.key-shiftright {
.propHeader {
width: 112px;
  font-size: 14pt;
  border-bottom: 2pt solid rgba(46, 35, 25);
  padding-left: 48px !important;
  padding-top: 20px !important;
}
}


.client-js #preferences, table.wikitable, .frontpagebox {
#key-fn,
  background-color: rgba(120,90,60,0.4) !important;
#key-control,
  border: 1px solid rgba(46, 35, 25);
.key-option,
.key-command,
#key-spacebar {
height: 33px;
}
}


.editOptions {
#key-control {
  background-color: rgba(120,90,60,0.4) !important;
width: 56px;
  border: 1px solid rgba(46, 35, 25) !important;
}
}


#wpTextbox1, textarea {
.key-option {
  background-color: rgba(120,90,60,0.4) !important;
width: 46px;
  border: 1px solid rgba(46, 35, 25) !important;
  color:#F6F0EA !important;
  padding:3px;
}
}


.mw-highlight {
.key-command {
  background-color: rgba(120,90,60,0.4) !important;
width: 67px;
}
}


 
#key-spacebar {
pre, .mw-code,.mw-highlight pre {
width: 226px;
  color: #F6F0EA !important;
  background-color: rgba(120,90,60,0.4) !important;
  border: 1px solid rgba(46, 35, 25) !important;
}
}


div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
#key-left img,
  color: #F6F0EA;
#key-up img,
#key-down img,
#key-right img {
border: none;
}
}


div.thumbinner {
#key-down {
  color: #F6F0EA !important;
height: 23px;
  background-color: rgba(120,90,60,0.4) !important;
  border: 1px solid rgba(46, 35, 25) !important;
}
}


 
#key-up,
.wikiEditor-ui-controls {
#key-left,
    background-color: transparent;
#key-right {
}
height: 24px;
.wikiEditor-ui {
    background-color: transparent;
}
}


.mw-body p {
#key-left,
    letter-spacing: 0.01em;
#key-right {
margin: 30px 5px 5px;
}
}


 
#key-up {
div#mw-panel div.portal div.body ul li, div#mw-panel div.portal div.body ul li {
margin: 5px 5px 1px;
    font-size: 0.85em !important;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
}
}


table.wikitable > tr > th, table.wikitable > * > tr > th {
#key-down {
    background-color: transparent !important;
margin: 0 5px 5px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
}


 
span.key.shiftleft,
#pagehistory li.selected {
span#control,
  background-color: rgba(120,90,60,0.4) !important;
span#tab {
  border: 1px solid rgba(46, 35, 25) !important;
width: 50px;
}
}


#pagehistory li {
.key-fn span {
    border: 0px;
font: bold 9pt arial;
}
}


 
.informationbox {
div#footer ul li {
  border: 1px solid #DDD;
   color: #F6F0EA;
  padding:4px;
  line-height:100%;
   font-style:italic;  
}
}




/* use to align text in specific columns */


div.vectorMenu {
table.align-right-1 td:nth-of-type(1),
    background-color: rgba(80,60,40,0.9);
table.align-right-2 td:nth-of-type(2),
    border-right: 1px solid rgba(46,35,25);
table.align-right-3 td:nth-of-type(3),
    border-top: 1px solid rgba(46,35,25);
table.align-right-4 td:nth-of-type(4),
     color: #F6F0EA;
table.align-right-5 td:nth-of-type(5),
table.align-right-6 td:nth-of-type(6),
table.align-right-7 td:nth-of-type(7),
table.align-right-8 td:nth-of-type(8),
table.align-right-9 td:nth-of-type(9),
table.align-right-10 td:nth-of-type(10) {
     text-align: right;
}
}


 
table.align-center-1 td:nth-of-type(1),
div.vectorMenu h3 span {
table.align-center-2 td:nth-of-type(2),
  color: #F6F0EA !important;
table.align-center-3 td:nth-of-type(3),
  padding-top: 1.15em;  
table.align-center-4 td:nth-of-type(4),
table.align-center-5 td:nth-of-type(5),
table.align-center-6 td:nth-of-type(6),
table.align-center-7 td:nth-of-type(7),
table.align-center-8 td:nth-of-type(8),
table.align-center-9 td:nth-of-type(9),
table.align-center-10 td:nth-of-type(10) {
    text-align: center;
}
}


 
table.align-left-1 td:nth-of-type(1),
div.vectorMenu h3 a {
table.align-left-2 td:nth-of-type(2),
  height: 2.3em
table.align-left-3 td:nth-of-type(3),
}
table.align-left-4 td:nth-of-type(4),
 
table.align-left-5 td:nth-of-type(5),
 
table.align-left-6 td:nth-of-type(6),
.catlinks {
table.align-left-7 td:nth-of-type(7),
  background-color: rgba(120,90,60,0.4) !important;
table.align-left-8 td:nth-of-type(8),
  border: 1px solid rgba(46, 35, 25) !important;
table.align-left-9 td:nth-of-type(9),
}
table.align-left-10 td:nth-of-type(10) {
 
    text-align: left;
 
 
 
/* Search */
.mw-search-profile-tabs {
  background-color: rgba(120,90,60,0.4) !important;
  border: 1px solid rgba(46, 35, 25) !important;
}
 
.mw-search-profile-tabs {
  background-color: rgba(120,90,60,0.4) !important;
  border: 1px solid rgba(46, 35, 25) !important;
}
 
fieldset#mw-searchoptions {
  background-color: rgba(120,90,60,0.4) !important;
  border: 1px solid rgba(46, 35, 25) !important;
}
 
fieldset#mw-searchoptions {
  background-color: rgba(120,90,60,0.4) !important;
  border: 1px solid rgba(46, 35, 25) !important;
}
 
.mw-search-profile-tabs div.search-types ul li.current a {
  color: #F6F0EA;
}
 
.mw-search-profile-tabs div.search-types ul li.current a {
  color: #F6F0EA;
}
 
 
/* Diff page */
td.diff-addedline .diffchange {
    background: transparent !important;
}
 
td.diff-addedline {
    border-color: white !important;
}
 
 
 
 
 
 
 
 
 
/* For the modding overview tables? No idea */
 
.treeview{margin-top:0.3em}.treeview ul,.treeview li{margin:0;padding:0;list-style-type:none;list-style-image:none}.treeview li{display:table}.treeview li li{position:relative;padding-left:13px;margin-left:7px;border-left:1px solid #636363}.treeview li li:before{content:"";position:absolute;top:0;left:0;width:11px;height:11px;border-bottom:1px solid #636363}.treeview li li.first:before{border-color:#636363;border-style:solid;border-width:1px 0 0 1px;height:100%;margin-top:11px;width:10px}.treeview li li.first,.treeview li li:last-child{border:0;padding-left:14px}.treeview li li:last-child:before{border-left:1px solid #636363;width:10px}
 
.tt-table td,th {
padding: 10px;
}
 
.tt-table tr.level0 td{
/*background-color: #e8e8e8;*/
  background-color: rgba(120,90,60,0.6);
}
 
.tt-table tr.level1.odd td{
/*background-color: #e5e5e5;*/
  background-color: rgba(120,90,60,0.4);
}
.tt-table tr.level1.even td{
/*background-color: lightgray;*/
}
 
.tt-table tr.level2.odd td{
  background-color: rgba(120,90,60,0.3);
}
 
.tt-table tr.level3.odd td{
  background-color: rgba(120,90,60,0.2);
}
 
.tt-table tr.level2 td{
/*background-color: #f2f2f2;*/
  background-color: rgba(120,90,60,0.7);
}
 
.tt-table div.tt {
display:inline-block;
position:relative;
}
 
.tt-table div.tt div.content {
  border:1px rgba(46, 35, 25) solid;
  border-radius: 0px;
  z-index: 10;
  padding:0 4px 0 5px;
  position:relative;
  background: linear-gradient(to bottom, rgba(120,90,60,1) 0%,rgba(80, 60, 40,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: white;
}
 
.tt-table div.tt div.tail {
border:1px darkgray solid;
border-right: 0;
border-top: 0;
position:absolute;
border-radius: 0px;
bottom: 11px;
left: -10px;
z-index: 0;
}
 
.tt-table div.tt-parent div.content {
cursor:pointer;
font-weight: bold;
}
 
#jquery-script-menu {
position: fixed;
height: 90px;
width: 100%;
top: 0;
left: 0;
border-top: 5px solid #316594;
background: #fff;
-moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
z-index: 999999;
padding: 10px 0;
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
}
 
.jquery-script-center {
width: 960px;
margin: 0 auto;
}
.jquery-script-center ul {
width: 212px;
float:left;
line-height:45px;
margin:0;
padding:0;
list-style:none;
}
.jquery-script-center a {
text-decoration:none;
}
.jquery-script-ads {
width: 728px;
height:90px;
float:right;
}
.jquery-script-clear {
clear:both;
height:0;
}
.h4fake
{
font-weight: bold;
font-size: 100%;
line-height: 1.6;
margin-top: 0.3em;
margin-bottom: 0;
padding-bottom: 0;
overflow: hidden;
padding-top: .5em;
color: #F6F0EA;
background: none;
}
}
Confirmedusers, Bureaucrats, editor, Administrators
1,795

edits