Technik Wiki
Registrieren
Advertisement

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* Try to keep font style and width consistent across platforms */
body {
	font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
}

/** Template stylings **/
/* [[Vorlage:Navbox]] */
.navbox {
	background: #FFF;
	border: 1px solid #CCC;
	margin: 1em auto 0;
	clear: both;
	width: 100%;
}

.navbox table {
	background: #FFF;
	margin-left: -4px;
	margin-right: -2px;
}
.navbox table:first-child {
	margin-top: -2px;
}
.navbox table:last-child {
	margin-bottom: -2px;
}

.navbox-top {
	white-space: nowrap;
	background-color: #CCC;
	padding: 0 3px;
}

.navbox-navbar,
.navbox-navbar-mini {
	float: left;
	font-size: 80%;
}

.navbox-title {
	padding: 0 10px;
	font-size: 110%;
}

.navbox-group {
	background-color: #EEE;
	padding: 0 10px;
	white-space: nowrap;
	text-align: right;
}

.navbox-list {
	width: 100%;
	padding: 0 0 0 2px;
}

/* [[Modul:Sprite]] */
.sprite {
	display: inline-block;
	vertical-align: text-top;
	height: 16px;
	width: 16px;
	background-repeat: no-repeat;
}
.sprite + .sprite-text {
	padding-left: 0.312em;
}

/* [[Vorlage:SpriteVorschau]] */
.sprite-preview:hover div {
	opacity: 0.7 !important;
}

/** Misc stuff **/
/* Test für Navbar-Fix*/
.t-netbar .t-netbar-curseInfo {
  float: none;
}

/* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */
#toolbar {
	height: 22px;
}

/* Collapsible elements ([[MediaWiki:Common.js]]) */
.collapsible.collapsed > tr:not(:first-child),
.collapsible.collapsed > tbody > tr:not(:first-child),
.collapsible.collapsed > thead + tbody > tr:first-child,
.collapsible.collapsed > tbody + tbody > tr:first-child,
.collapsible.collapsed > tfoot > tr,
.collapsible.collapsed > .collapsible-content {
	display: none;
}

.collapsetoggle {
	display: inline-block;
	font-weight: normal;
	font-style: normal;
	float: right;
	text-align: right;
	margin-left: 0.8em;
}
.collapsetoggle-left > tr > * > .collapsetoggle,
.collapsetoggle-left > * > tr > * > .collapsetoggle,
.collapsetoggle-left > * > .collapsetoggle {
	float: left;
	text-align: left;
	margin-right: 0.8em;
	margin-left: 0;
}
.collapse-button-none > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > .collapsetoggle {
	float: none;
	text-align:left;
}

.collapsetoggle-custom {
	visibility: hidden;
}

/* Scale file page image to the width of the page */
#file img {
	max-width: 100%;
	height: auto;
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target { 
	background-color: #C1DAF2;
}

/* Style the sitenotice */
#siteNotice #localNotice,
#siteNotice .globalNotice,
.page-MediaWiki_Sitenotice .mw-content-ltr > div {
	background-color: #FFF;
	border: 1px solid #D3D3D3;
	margin-bottom: 12px;
	text-align: center;
}

/* Minecraft font */
@font-face {
	font-family: Minecraft;
	src: url("/media/hydra/fonts/minecraft.eot?#iefix"),
	     url("/media/hydra/fonts/minecraft.woff") format('woff'),
	     url("/media/hydra/fonts/minecraft.ttf") format('truetype');
}

/* Pre-style sidebar portlets before JS loads, so sidebar is less jumpy (reset in [[MediaWiki:Noscript.css]] when JS is off)
   [[File:Panel-divider.png]] */
div#mw-panel div.portal {
	margin: -11px 9px 10px 11px;
	padding: 0.25em 0;
	background-image: url(https://minecraft-de.gamepedia.com/media/minecraft-de.gamepedia.com/b/bf/Panel-divider.png);
	background-position: left top;
	background-repeat: no-repeat;
}
div#mw-panel div.portal div.body {
	background-image: none;
	padding: 0;
	margin: 0 0 0 1.25em;
}
div#mw-panel div.portal h3 {
	padding: 4px 0 3px 1.5em;
	margin-bottom: 0;
}
div#mw-panel div.portal div.body ul li {
	padding: 0.25em 0;
}

#mw-panel #p-Technik_Wiki {
	background-image: none;
	margin-top: 0;
}
#p-Technik_Wiki-label {
	display: none;
}
#mw-panel #p-Technik_Wiki div.body {
	margin-left: 0.5em;
}

#p-Useful_pages div.body,
#p-tb div.body {
	display: none;
}

/* Allow parts of toc to be hidden */
/* Section levels */
.toc-hidelevel2 .toclevel-1 ul,
.toc-hidelevel3 .toclevel-2 ul,
.toc-hidelevel4 .toclevel-2 ul,
/* Numbers */
.toc-nonumbers .tocnumber {
	display: none;
}

/* Pre-collapse collapsed tables, so there is no page jump when JS kicks in */
.collapsible.collapsed > tr,
.collapsible.collapsed > tbody > tr {
	display: none;
}
.collapsible.collapsed > tr:first-child,
.collapsible.collapsed > tbody > tr:first-child {
	display: table-row;
}
.collapsible.collapsed > thead + tbody > tr:first-child {
	display: none;
}

/* Improve ASIRRA styling */
#asirra_InstructionsTextId {
	display: none;
}
#AsirraDiv {
	margin-bottom: 10px;
}

/* Turn a list into a tree view style (See [[.minecraft]]) */
.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;
}

/* Simulate link styling for JS only links */
.jslink {
	color: #0645AD;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
}
.jslink:hover {
	text-decoration: underline;
	cursor: pointer;
}
.jslink:active {
	color: #FAA700;
}

/* Improve styling of sub-categories */
#mw-subcategories ul {
	margin-left: 10px;
}

/* Horizontal list */
.hlist ul {
	display: inline;
	margin: 0;
}
.hlist li {
	display: inline-block;
	margin: 0;
	white-space: nowrap;
}
.hlist li:not(:last-child) {
	padding-right: 0.313em;
}
.hlist li:not(:last-child):after {
	content: "";
	display: inline-block;
	position: relative;
	left: 0.313em;
	bottom: 0.234em;
	background-color: #000;
	height: 3px;
	width: 3px;
}
.hlist li > ul li:first-child:before {
	content: "(";
}
.hlist li > ul li:last-child:after {
	content: ")";
	margin-right: -0.313em;
}
.hlist li li li {
	font-size: x-small;
}

/* Generic styling for animation class */
.animated > *:not(.active):not(.skip),
.paused > *:not(.active):not(.skip) {
	display: none;
}

/* Generic nowrap class */
.nowrap {
	white-space: nowrap;
}

/* Hide noscript only elements */
.noscript {
	display: none;
}

/* Try to use nearest neighbour scaling for pixelated images */
.pixel-image,
.grid img {
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}

/* Cite text needs to be a block element, but should display inline */
.references > li {
	white-space: nowrap;
}
div.cite-reference-text {
	display: inline;
	vertical-align: top;
	white-space: normal;
}

/* Make external links the same colour as internal links, the icon is enough to differentiate them */
.mw-body a.external, .mw-body a.extiw {
        color: #0645ad;
}
.mw-body a.external:visited, .mw-body a.extiw:visited {
        color: #0b0080;
}
.mw-body a.external:active, .mw-body a.extiw:active {
        color: #faa700;
}

/* Mark internal links as plain */
#content a.external[href^="https://technik-de.gamepedia.com"],
#content a.external[href^="https://minecraft-technik.gamepedia.com"],
#content a.external[href^="https://minecraft.gamepedia.com"],
#content a.external[href^="https://minecraft-de.gamepedia.com"] {
	background: none;
	padding-right: 0;
}

/* Make tabs the correct size */
* {
	-moz-tab-size: 4;
	  -o-tab-size: 4;
	     tab-size: 4;
}

/* Remove bullets/numbers from a list */
.list-style-none ul,
.list-style-none ol {
	list-style: none;
	margin-left: 0;
}

/* Classes corresponding to Minecraft formatting codes */
.format-0 {
	color: #000;
	text-shadow: 0.125em 0.125em 0 #000;
}
.format-1 {
	color: #00A;
	text-shadow: 0.125em 0.125em 0 #00002A;
}
.format-2 {
	color: #0A0;
	text-shadow: 0.125em 0.125em 0 #002A00;
}
.format-3 {
	color: #0AA;
	text-shadow: 0.125em 0.125em 0 #002A2A;
}
.format-4 {
	color: #A00;
	text-shadow: 0.125em 0.125em 0 #2A0000;
}
.format-5 {
	color: #A0A;
	text-shadow: 0.125em 0.125em 0 #A200A2;
}
.format-6 {
	color: #FA0;
	text-shadow: 0.125em 0.125em 0 #2A2A00;
}
.format-7 {
	color: #AAA;
	text-shadow: 0.125em 0.125em 0 #2A2A2A;
}
.format-8 {
	color: #555;
	text-shadow: 0.125em 0.125em 0 #151515;
}
.format-9 {
	color: #55F;
	text-shadow: 0.125em 0.125em 0 #15153F;
}
.format-a {
	color: #5F5;
	text-shadow: 0.125em 0.125em 0 #153F15;
}
.format-b {
	color: #5FF;
	text-shadow: 0.125em 0.125em 0 #153F3F;
}
.format-c {
	color: #F55;
	text-shadow: 0.125em 0.125em 0 #3F1515;
}
.format-d {
	color: #F5F;
	text-shadow: 0.125em 0.125em 0 #3F153F;
}
.format-e {
	color: #FF5;
	text-shadow: 0.125em 0.125em 0 #3F3F15;
}
.format-l {
	font-weight: bold;
	letter-spacing: 0.125em;
}
.format-m {
	text-decoration: line-through;
}
.format-n {
	text-decoration: underline;
}
.format-o {
	font-style: italic;
}

/* Hide step-by-step publishing as it's broken */
.wikiEditor-ui-buttons {
	display: none !important;
}

/* Fix wikiEditor spacing */
#upload_container {
	margin-top: -1px;
}
#upload_div {
	margin: 0;
	width: auto;
	border-width: 1px 0;
	box-shadow: none;
}

.wikiEditor-ui-top {
	border: 0 !important;
}
.wikiEditor-ui-toolbar {
	border-bottom: 1px solid silver;
}

/* Fix social icons and promos in portlets */
#mw-panel #p-sitePromos,
#mw-panel #p-socialProfiles {
	margin: -11px 9px 10px 11px !important;
}

#mw-panel #p-sitePromos .body,
#mw-panel #p-socialProfiles .body {
	margin-left: 0 !important;
	padding: 4px 0;
}

#mw-panel .socialSidebar {
	text-align: left;
}

#mw-panel .socialLink {
	margin: 0 4px 0 0;
}

/* Fix enhanced RC spacing */
.mw-enhancedchanges-arrow-space {
	vertical-align: top;
}

/* Only show content on mobile version */
.mobileonly {
	display: none;
}

/* Fix diff spacing */
td.diff-marker {
        line-height: 1.2;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context {
        vertical-align: inherit;
}

.rotate90 {
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);

transform: rotate(-90deg);
}

/* Add a sandstone background [[Datei:Sandsteinhintergrund.png]] to some divs */
.mcwiki-header
{
    background: #e2d8a4 url("https://technic-de.gamepedia.com/media/technic-de.gamepedia.com/d/d9/Sandsteinhintergrund.png") repeat-x scroll 0% 0%;
    border: 1px solid #CCC;
	border-bottom: 4px groove #999;
	border-right: 4px groove #999;
	padding: 5px;
}

/* Highlight targeted command references ([[Vorlage:Befehlsblock]] and [[Vorlage:Funktion]]) */
.cmdref, .mcfile {
    padding: 2px;
    border-radius: 5px;
    display: flex;
}

.cmdref:target, .cmdreflink:target, .mcfile:target {
    background-color: #C1DAF2;
}

.mcfile {
    border: 2px solid #CCC;
	counter-reset: line;
}

.mcfile .cmdreflink::before {
	counter-increment: line;
	content: counter(line)'. ';
	color: grey;
	width: 3em;
	text-align: right;
	display: inline-block;
}

.mcfile.maxlines-9 .cmdreflink::before {
	width: 1.5em;
}
.mcfile.maxlines-99 .cmdreflink::before {
	width: 2em;
}
.mcfile.maxlines-999 .cmdreflink::before {
	width: 2.5em;
}

.cmdref .cmdref-info {
    flex: 0 0 85px;
    margin-right: 8px;
    display: flex;
}

.cmdref .cmdref-info .cmdref-infolink {
    flex: 1 1 auto;
    height: 32px;
    position: relative;
}

.cmdref .cmdref-info .cmdref-infolink a {
    position: absolute;
    top: calc(50% - 0.875em);
}

.cmdref code, .cmdref pre {
    max-width: 100%;
    margin: auto 0px;
    padding: 1px 4px;
    line-height: 2;
}

/* Structogram design ([[Modul:Struktogramm]]) */
.structogram {
    background-color: #ddd;
    margin: 10px;
    text-align: center;
}

.structogram,
.structogram-block {
    border-style: solid;
    border-width: 1px;
}

.structogram-block {
    background-color: rgba(255,255,255,0.1);
}

.structogram-title {
    font-weight: bold;
    border-bottom: 1px solid;
    padding: 10px;
    background-color: rgba(0,0,0,0.1);
}

.structogram-if-items {
    display: flex;
}

.structogram-if-title {
    border-bottom: 1px solid;
    padding: 10px;
    text-align: center;
    background-color: rgba(0,0,255,0.1);
    
    flex: 0 1 auto;
}

.structogram-if-item {
    margin-top: 0px;
    display: inline-block;
    vertical-align: top;
    
    flex: 1 1 auto;
}

.structogram-if-item:not(:first-child) {
    border-left: 1px solid;
}

.structogram-item {
    padding: 10px;
}

.structogram-item:not(:last-child) {
    border-bottom: 1px solid;
}

/* responsive main page */
#tw-main-page.tw-main-page {
	display: -ms-grid;
	-ms-grid-template-areas: "a" "b" "c" "d" "e" "f" "g";
	-ms-grid-template-columns: 100%;
	display: grid;
	grid-template-areas: "a" "b" "c" "d" "e" "f" "g";
	grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
	#tw-main-page.tw-main-page {
		-ms-grid-template-areas: "a a" "b d" "c e" "c g" "f g";
		-ms-grid-template-columns: 50% 50%;
		grid-template-areas: "a a" "b d" "c e" "c g" "f g";
		grid-template-columns: 50% 50%;
	}
}
@media screen and (min-width:1350px) {
	#tw-main-page.tw-main-page {
		-ms-grid-template-areas: "a a a" "b c d" "b c g" "e c g" "e f g";
		-ms-grid-template-columns: 40% 40% 20%;
		grid-template-areas: "a a a" "b c d" "b c g" "e c g" "e f g";
		grid-template-columns: 40% 40% 20%;
	}
}

#tw-main-page.tw-main-page {
	margin: -5px;
}

.tw-section {
	background: #E5DAA6;
	border: 1px solid #726D53;
	border-radius: 5px;
	vertical-align: top;
	margin: 5px;
	padding: 10px;
	width: calc(100% - 32px);
}

.tw-section-title {
	font-variant: small-caps;
	font-size: 150%;
}

#tw-1 {
	-ms-grid-area: a;
	grid-area: a;
}

#tw-2 {
	-ms-grid-area: b;
	grid-area: b;
}

#tw-3 {
	-ms-grid-area: c;
	grid-area: c;
}

#tw-4 {
	-ms-grid-area: d;
	grid-area: d;
}

#tw-5 {
	-ms-grid-area: e;
	grid-area: e;
}

#tw-6 {
	-ms-grid-area: f;
	grid-area: f;
}

#tw-7 {
	-ms-grid-area: g;
	grid-area: g;
}

.tw-header {
	display: -ms-grid;
	-ms-grid-template-areas: "aa" "ab" "ac" "ad";
	-ms-grid-template-columns: 100%;
	display: grid;
	grid-template-areas: "aa" "ab" "ac" "ad";
	grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
	.tw-header {
		-ms-grid-template-areas: "aa aa" "ab ad" "ac ac";
		-ms-grid-template-columns: 70% 30%;
		grid-template-areas: "aa aa" "ab ad" "ac ac";
		grid-template-columns: 70% 30%;
	}
}
@media screen and (min-width:1350px) {
	.tw-header {
		-ms-grid-template-areas: "aa aa aa" "ab ac ad";
		-ms-grid-template-columns: 30% 40% 30%;
		grid-template-areas: "aa aa aa" "ab ac ad";
		grid-template-columns: 30% 40% 30%;
	}
}

#tw-header-title {
	-ms-grid-area: aa;
	grid-area: aa;
}

#tw-header-logo {
	-ms-grid-area: ab;
	grid-area: ab;
}

#tw-header-text {
	-ms-grid-area: ac;
	grid-area: ac;
}

#tw-header-mcw {
	-ms-grid-area: ad;
	grid-area: ad;
}
Advertisement