MediaWiki:Common.css: Difference between revisions

From Vintage Story Wiki
No edit summary
m (formatting)
Line 1: Line 1:
code {  
code {
  background-color: #f7ffee;
background-color: #f7ffee;
  border: 1px solid #6dac49;
border: 1px solid #6dac49;
  border-radius: 3px;
border-radius: 3px;
}
}
pre {
pre {
  padding: 0.25em;
padding: 0.25em;
  background-color: #e5f5fb;
background-color: #e5f5fb;
  border: 1px solid #8699bd;
border: 1px solid #8699bd;
}
}


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


.wikitable th {
.wikitable th {
  background-image:none;
background-image: none;
}
}


body {
body {
    background-image: url(https://account.vintagestory.at/public/images/background.jpg);
background-image: url(https://account.vintagestory.at/public/images/background.jpg);
    background-attachment: fixed;
background-attachment: fixed;
-webkit-background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-size: cover;
}
}


Line 34: Line 37:
}
}


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


#p-personal li {
#p-personal li {
  padding-top: 0.25em;
padding-top: 0.25em;
}
}


#p-personal ul {
#p-personal ul {
    padding-left: 0.25em;
padding-left: 0.25em;
    padding-right: 0.25em;
padding-right: 0.25em;
}
}


#simpleSearch input {
#simpleSearch input {
  background-color: #ffffff;
background-color: #ffffff;
}
}


.vectorMenu h3 span {
.vectorMenu h3 span {
  color: white;
color: white;
}
}




/* For block templates */


/* For block templates */
.screwTemplatesMan p {
.screwTemplatesMan p { display: none; }
display: none;
}




Line 64: Line 72:


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


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


.mainPageWelcome {
.mainPageWelcome {}
 
.mainPageDescription {}
 
 
/* For the modding overview tables? No idea */
 
.treeview {
margin-top: 0.3em
}
}


.mainPageDescription {
.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
}


/* For the modding overview tables? No idea */
.treeview li li.first,
.treeview li li:last-child {
border: 0;
padding-left: 14px
}


.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}
.treeview li li:last-child:before {
border-left: 1px solid #636363;
width: 10px
}


.tt-table td,th {
.tt-table td,
padding: 10px;
th {
padding: 10px;
}
}


.tt-table tr.level0 td{
.tt-table tr.level0 td {
/*background-color: #e8e8e8;*/
/*background-color: #e8e8e8;*/
  background-color: rgba(120,90,60,0.6);
background-color: rgba(120, 90, 60, 0.6);
}
}


.tt-table tr.level1.odd td{
.tt-table tr.level1.odd td {
/*background-color: #e5e5e5;*/
/*background-color: #e5e5e5;*/
  background-color: rgba(120,90,60,0.4);
background-color: rgba(120, 90, 60, 0.4);
}
}
.tt-table tr.level1.even td{
 
/*background-color: lightgray;*/
.tt-table tr.level1.even td {
/*background-color: lightgray;*/
}
}


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


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


.tt-table tr.level2 td{
.tt-table tr.level2 td {
/*background-color: #f2f2f2;*/
/*background-color: #f2f2f2;*/
  background-color: rgba(120,90,60,0.7);
background-color: rgba(120, 90, 60, 0.7);
}
}


.tt-table div.tt {
.tt-table div.tt {
display:inline-block;
display: inline-block;
position:relative;
position: relative;
}
}


.tt-table div.tt div.content {
.tt-table div.tt div.content {
  border:1px rgba(46, 35, 25) solid;
border: 1px rgba(46, 35, 25) solid;
  border-radius: 0px;
border-radius: 0px;
  z-index: 10;
z-index: 10;
  padding:0 4px 0 5px;
padding: 0 4px 0 5px;
  position:relative;
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+ */
background: linear-gradient(to bottom, rgba(120, 90, 60, 1) 0%, rgba(80, 60, 40, 1) 100%);
  color: white;
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
color: white;
}
}


.tt-table div.tt div.tail {
.tt-table div.tt div.tail {
border:1px darkgray solid;
border: 1px darkgray solid;
border-right: 0;
border-right: 0;
border-top: 0;
border-top: 0;
position:absolute;
position: absolute;
border-radius: 0px;
border-radius: 0px;
bottom: 11px;
bottom: 11px;
Line 142: Line 199:


.tt-table div.tt-parent div.content {
.tt-table div.tt-parent div.content {
cursor:pointer;
cursor: pointer;
font-weight: bold;
font-weight: bold;
}
}


#jquery-script-menu {
#jquery-script-menu {
position: fixed;
position: fixed;
height: 90px;
height: 90px;
width: 100%;
width: 100%;
top: 0;
top: 0;
left: 0;
left: 0;
border-top: 5px solid #316594;
border-top: 5px solid #316594;
background: #fff;
background: #fff;
-moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-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);
-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);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
z-index: 999999;
z-index: 999999;
padding: 10px 0;
padding: 10px 0;
-webkit-box-sizing:content-box;
-webkit-box-sizing: content-box;
-moz-box-sizing:content-box;
-moz-box-sizing: content-box;
box-sizing:content-box;
box-sizing: content-box;
}
}


.jquery-script-center {
.jquery-script-center {
width: 960px;
width: 960px;
margin: 0 auto;
margin: 0 auto;
}
}
.jquery-script-center ul {
.jquery-script-center ul {
width: 212px;
width: 212px;
float:left;
float: left;
line-height:45px;
line-height: 45px;
margin:0;
margin: 0;
padding:0;
padding: 0;
list-style:none;
list-style: none;
}
}
.jquery-script-center a {
.jquery-script-center a {
text-decoration:none;
text-decoration: none;
}
}
.jquery-script-ads {
.jquery-script-ads {
width: 728px;
width: 728px;
height:90px;
height: 90px;
float:right;
float: right;
}
}
.jquery-script-clear {
.jquery-script-clear {
clear:both;
clear: both;
height:0;
height: 0;
}
}
.h4fake
 
{
.h4fake {
font-weight: bold;
font-weight: bold;
font-size: 100%;
font-size: 100%;
line-height: 1.6;
line-height: 1.6;
margin-top: 0.3em;
margin-top: 0.3em;
margin-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
padding-bottom: 0;
overflow: hidden;
overflow: hidden;
padding-top: .5em;
padding-top: .5em;
color: #F6F0EA;
color: #F6F0EA;
background: none;
background: none;
}
}




/* Keyboard key css */


/* Keyboard key css */
.key {
.key {
display: inline-block;
display: inline-block;
Line 212: Line 272:
text-decoration: none;
text-decoration: none;
text-align: center;
text-align: center;
width: 35px;
width: 35px;
height: 31px;
height: 31px;
margin: 5px;
margin: 5px;
    background: #eff0f2;
background: #eff0f2;
    -moz-border-radius: 4px;
-moz-border-radius: 4px;
    border-radius: 4px;
border-radius: 4px;
    border-top: 1px solid #d4d4d4;
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;
-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;
-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;
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;
text-shadow: 0px 1px 0px #f5f5f5;
}
}


Line 233: Line 293:
.key-fn span {
.key-fn span {
display: inline-block;
display: inline-block;
    margin: 7px 0px 0px 0px;
margin: 7px 0px 0px 0px;
text-align: right;
text-align: right;
font: bold 8pt arial;
font: bold 8pt arial;
text-transform: uppercase;
text-transform: uppercase;
}
}
#esc {
#esc {
margin: 6px 15px 0 0;
margin: 6px 15px 0 0;
Line 244: Line 305:
}
}


.key-fn {height: 26px; width: 46px;
.key-fn {
height: 26px;
width: 46px;
}
 
#key-delete {
width: 72px;
}
 
#key-tab {
width: 72px;
}
 
#key-caps {
width: 85px;
}
 
#key-enter {
width: 85px;
}
 
.key-shiftleft,
.key-shiftright {
width: 112px;
}
}
#key-delete {width: 72px;}
#key-tab {width: 72px;}
#key-caps {width: 85px;}
#key-enter {width: 85px;}
.key-shiftleft, .key-shiftright {width: 112px;}
#key-fn, #key-control, .key-option, .key-command, #key-spacebar {height: 33px;}


#key-control {width: 56px;}
#key-fn,
.key-option {width: 46px;}
#key-control,
.key-command {width: 67px;}
.key-option,
#key-spacebar {width: 226px;}
.key-command,
#key-spacebar {
height: 33px;
}


#key-left img, #key-up img, #key-down img, #key-right img {border: none;}
#key-control {
width: 56px;
}


#key-down {height: 23px;}
.key-option {
#key-up, #key-left, #key-right {height: 24px;}
width: 46px;
#key-left, #key-right {margin: 30px 5px 5px;}
}
#key-up {margin: 5px 5px 1px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;}
#key-down {margin: 0 5px 5px; border-top-left-radius: 0px; border-top-right-radius: 0px;}


.key-command {
width: 67px;
}
#key-spacebar {
width: 226px;
}
#key-left img,
#key-up img,
#key-down img,
#key-right img {
border: none;
}
#key-down {
height: 23px;
}
#key-up,
#key-left,
#key-right {
height: 24px;
}
#key-left,
#key-right {
margin: 30px 5px 5px;
}
#key-up {
margin: 5px 5px 1px;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
}
#key-down {
margin: 0 5px 5px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}


span.key.shiftleft, span#control, span#tab {
span.key.shiftleft,
    width: 50px;
span#control,
span#tab {
width: 50px;
}
}


.key-fn span {
.key-fn span {
    font: bold 9pt arial;
font: bold 9pt arial;
}
}

Revision as of 17:24, 1 February 2020

code {
	background-color: #f7ffee;
	border: 1px solid #6dac49;
	border-radius: 3px;
}

pre {
	padding: 0.25em;
	background-color: #e5f5fb;
	border: 1px solid #8699bd;
}

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

.wikitable th {
	background-image: none;
}

body {
	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;
}

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

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

#p-personal li {
	padding-top: 0.25em;
}

#p-personal ul {
	padding-left: 0.25em;
	padding-right: 0.25em;
}

#simpleSearch input {
	background-color: #ffffff;
}

.vectorMenu h3 span {
	color: white;
}


/* For block templates */

.screwTemplatesMan p {
	display: none;
}


/* Front page */

.mainPageLeft {
	display: inline-block;
}

.mainPageRight {
	display: inline-block;
}

.mainPageWelcome {}

.mainPageDescription {}


/* 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;
}


/* Keyboard key css */

.key {
	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;
}

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

.key-fn span {
	display: inline-block;
	margin: 7px 0px 0px 0px;
	text-align: right;
	font: bold 8pt arial;
	text-transform: uppercase;
}

#esc {
	margin: 6px 15px 0 0;
	font-size: 8.5pt;
	text-transform: lowercase;
}

.key-fn {
	height: 26px;
	width: 46px;
}

#key-delete {
	width: 72px;
}

#key-tab {
	width: 72px;
}

#key-caps {
	width: 85px;
}

#key-enter {
	width: 85px;
}

.key-shiftleft,
.key-shiftright {
	width: 112px;
}

#key-fn,
#key-control,
.key-option,
.key-command,
#key-spacebar {
	height: 33px;
}

#key-control {
	width: 56px;
}

.key-option {
	width: 46px;
}

.key-command {
	width: 67px;
}

#key-spacebar {
	width: 226px;
}

#key-left img,
#key-up img,
#key-down img,
#key-right img {
	border: none;
}

#key-down {
	height: 23px;
}

#key-up,
#key-left,
#key-right {
	height: 24px;
}

#key-left,
#key-right {
	margin: 30px 5px 5px;
}

#key-up {
	margin: 5px 5px 1px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}

#key-down {
	margin: 0 5px 5px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}

span.key.shiftleft,
span#control,
span#tab {
	width: 50px;
}

.key-fn span {
	font: bold 9pt arial;
}