7 Days to Die Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 209: Zeile 209:
 
.success {
 
.success {
 
color: #FFFFFF;
 
color: #FFFFFF;
  +
}
  +
  +
/* This governs the sections on the Community portal */
  +
.cpbox {
  +
display: flex;
  +
flex-direction: row-reverse;
  +
flex-wrap: wrap;
  +
}
  +
  +
.cpbox #admins {
  +
box-sizing: border-box;
  +
width: calc(33% - 10px);
  +
margin: 5px;
  +
flex-grow: 1;
  +
min-width: 300px;
  +
}
  +
  +
.cpbox #help {
  +
box-sizing: border-box;
  +
width: calc(67% - 10px);
  +
margin: 5px;
  +
flex-grow: 1;
  +
}
  +
  +
/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
  +
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
  +
.desktopleft {
  +
text-align: left;
  +
}
  +
  +
.desktopcenter {
  +
text-align: center;
  +
}
  +
  +
.desktopright {
  +
text-align: right;
 
}
 
}

Version vom 20. Juni 2018, 15:52 Uhr

/* CSS placed here will be applied to all skins */
.infoboxtable {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.1);
    border-bottom: medium none !important;
    border-image: none;
    border-left: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px 5px 5px 5px;
    border-right: 2px solid rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    padding: 2px;
}

.infoboxname {
    font-size:110%; 
    font-weight:bold;
    padding:0.5em; 
}

.infoboxdetails, .infoboxdescription {
    padding:0em;
}

.infoboxname, .infoboxdetails, .infoboxdescription {
    background-color: #383838 !important;
    background-image: -moz-linear-gradient(left, #383838 0%, #919191 100%);
    background-image: -webkit-gradient(linear, left, left bottom, color-stop(0%,#383838), color-stop(100%,#919191));
    background-image: -webkit-linear-gradient(left, #383838 0%, #919191 100%);
    background-image: -o-linear-gradient(left, #383838 0%, #919191 100%);
    background-image: -ms-linear-gradient(left, #383838 0%, #919191 100%);
    background-image: linear-gradient(to right, #383838 0%, #919191 100%) repeat scroll 0 0 transparent;
    border-radius: 5px 5px 5px 5px;
    color: #ffffff;
    font-family: "Ufonts.com_agency-fb-bold";
    font-size: 120%;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 0 10px;
    padding: 0.2em 0.4em;
    text-shadow: 1px 1px 1px #000000;
    width:auto;
}

/* [[Template:Grid]] */
.grid {
	display: inline-block;
	position: relative;
	text-align: left !important;
	background: url('http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/0/06/Grid_bg.png') no-repeat #312821;
	height: 32px;
	width: 46px;
	padding: 2px;
	vertical-align: bottom;
}

.grid.output,
.grid.output img {
	height: 48px !important;
	width: 70px !important;
}

.grid img,
.pixel-image img {
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}
 
.grid .border {
	display: block;
	margin: -2px 0 0 -2px;
	border-style: solid none none solid;
	border-width: 2px;
	border-color: #594637;
	height: 100%;
}

.grid .border > span {
	display: block;
	margin-right: -2px;
	border-style: none solid solid none;
	border-width: 2px;
	border-color: #534b44;
	height: 100%;
}

.grid.output .border > span {
        background: url("http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/d/d7/Grid_result_bg.png") repeat scroll 0 0 #312821 !important;
}

.grid .image,
.grid .default-image {
	position: absolute;
	line-height: 16px;
	top: 2px;
	width: 46px;
	height: 32px;
}

.grid .image .output,
.grid .default-image .output {
	width: 70px !important;
	height: 48px !important;
}

.grid .image > a.new {
	background-image: url("http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/d/dd/Unknown.png");
	display: block;
	width: 46px;
	height: 32px;
	outline: none;
	text-indent: -99999px;
}

.grid.output .image > a.new {
	background-image: url("http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/3/38/Grid_result_unknown.png") !important;
	width: 70px !important;
	height: 49px !important;
}
 
.grid .number {
	position: absolute;
	right: -2px;
	bottom: -2px;
	text-align: right;
	font-size: 16px;
	color: #FFF;
	pointer-events: none;
	z-index: 6;
	text-shadow: 2px 2px 0px #3F3F3F;
	filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
}

.grid.output .number {
	right: -20px !important;
	bottom: -15px !important;
}

.grid .number a {
	color: #FFF;
	text-decoration: none;
}

.grid .number .selflink {
	font-weight: normal;
}

.grid .image a.new + .number {
	display: none;
}

.grid .animated .image,
.grid .paused .image {
	display: none;
}

.grid .animated .image.active,
.grid .paused .image.active {
	display: block;
}

.grid-Crafting_Table {
	background: url('http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/e/e3/CraftingTable_seamless.png') repeat scroll 0 0 #312821;
	border: outset 2px #594637;
	padding: 6px;
	text-align: left !important;
}

.grid-Crafting_Table td {
	border: none;
	padding: 0;
}

/* [[Template:Grid/Crafting Table]] */
.grid-Crafting_Table .arrow,
.grid-Crafting_Table .shapeless {
	text-align: center;
	vertical-align: bottom;
}

.grid-Crafting_Table .arrow {
	width: 40px;
	padding-bottom: 5px;
}

.grid-Crafting_Table .shapeless span {
	cursor: help;
}

/* colour fix for table column sorting arrows */
table.jquery-tablesorter th.headerSort,
#wikilist .sortable th span[data-sort] {
    background-image: url("http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/4/41/Sort_both.gif");
}

table.jquery-tablesorter th.headerSortDown {
    background-image: url("http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/7/7a/Sort_down.gif");
}

table.jquery-tablesorter th.headerSortUp {
    background-image: url("http://hydra-media.cursecdn.com/7daystodie.gamepedia.com/5/5b/Sort_up.gif");
}

/* colour fix to success message */
.success {
    color: #FFFFFF;
}

/* This governs the sections on the Community portal */
.cpbox {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.cpbox #admins {
  box-sizing: border-box;
  width: calc(33% - 10px);
  margin: 5px;
  flex-grow: 1;
  min-width: 300px;
}

.cpbox #help {
  box-sizing: border-box;
  width: calc(67% - 10px);
  margin: 5px;
  flex-grow: 1;
}

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.desktopleft {
  text-align: left;
}

.desktopcenter {
  text-align: center;
}

.desktopright {
  text-align: right;
}