Hytale Wiki
Register
mBez shrnutí editace
mBez shrnutí editace
Řádek 1: Řádek 1:
  +
.skin-fandomdesktop .page__main {
  +
background-color: rgba(var(--theme-page-background-color--rgb),0.9);
 
}
  +
 
/* Community portal sections */
 
/* Community portal sections */
 
.cpbox {
 
.cpbox {
Řádek 411: Řádek 415:
 
content: "";
 
content: "";
 
width: 100%;
 
width: 100%;
}
 
 
/* [[MediaWiki:Sitenotice]] */
 
.discord_sitenotice {
 
background-color: #7289DA;
 
text-align: center;
 
}
 
.discord_sitenotice a {
 
color: #E0E0E0;
 
}
 
#siteNotice .discord_sitenotice { /* Hydra/Hydradark */
 
margin: auto;
 
width: 500px;
 
}
 
 
/* Position des Headerbildes beim dunklen Aussehen korrigieren */
 
.fandom-community-header__background {
 
background-position: 50%;
 
background-size: cover;
 
 
}
 
}

Verze z 2. 10. 2021, 08:02

.skin-fandomdesktop .page__main {
	background-color: rgba(var(--theme-page-background-color--rgb),0.9);
}

/* Community portal sections */
.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;
}

/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
    margin: 0em auto 1em;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}

.doc-header {
    padding-bottom: 3px;
    border-bottom: 1px solid #BDCAC3;
    margin-bottom: 1ex;
}

.doc-footer {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}

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

/* Elements */
abbr[title] {
	text-decoration: underline dotted;
}

/* Front page */
#fp {
	display: grid;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}
@media (min-width: 1000px) {
	#fp {
		grid-template-areas: 'row1 row1 row1' 'row2 row2 row2' 'row3a row3b row3c' 'row4a row4b row4b';
	}
}

.fpbox .embedvideowrap {
    width: 100% !important;
    max-width: 480px;
    margin: 0 auto;
}

.fpbox .embedvideowrap iframe {
    width: 100% !important;
}

/* Front page */
.fpbox {
	background-color: rgba(var(--theme-accent-color--rgb),.7);
	border-radius: 5px;
	vertical-align: top; 
}

.fpbox .wiki-header {
	background-image: linear-gradient(0deg,rgba(var(--theme-page-text-color--rgb),0.15) 54%,transparent 0);
	font-size: 132%;
	font-weight: bold;
	line-height: normal;
	margin: 3px auto 3px auto;
	padding-left: 3px;
	padding-right: 3px;
	text-align: center;
	width: max-content;
}

/* Style for horizontal lists (separator following item).
 * Source: [[mw:Snippets/Horizontal lists]] revision 8 (2016-05-21) by [[Wikipedia:User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
	display: none;
}
/* Generate interpuncts */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: " · ";
	font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox .ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}

/* copyright images tweak */
.copyright-icon {
    background: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat;
    background-size: 100%;
    width: 32px;
    height: 32px;
}

.feature {
	background: #000;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px; padding: 10px;
}

/* [[Template:LoadBox]] */
.simplenavbox {
	background: rgba(var(--theme-accent-color--rgb),.7);
	border-radius: 4px;
	clear: both;
	margin: -2px 0 0;
	padding: 0 4px 4px 4px;
	width: 100%;
}
.simplenavbox-title {
	background-image: linear-gradient(0deg,rgba(var(--theme-page-text-color--rgb),0.15) 54%,transparent 0);
	line-height: normal;
	margin: 10px auto auto auto;
	padding-left: 3px;
	padding-right: 3px;
	width: max-content;
}
.simplenavbox table {
	margin-left: -4px;
	margin-right: -2px;
}
.simplenavbox table:first-child {
	margin-top: -2px;
}
.simplenavbox table:last-child {
	margin-bottom: -2px;
}
.simplenavbox th:not(.simplenavbox-top) {
	background: rgba(var(--theme-page-text-color--rgb),.15);
	border-radius: 2px;
	font-size: 12px;
	font-weight: 700;
	padding: 0 10px;
	vertical-align: middle;
	white-space: nowrap;
}
.simplenavbox td {
	font-size: 14px;
	font-weight: 300;
	padding: 0 0 0 2px;
	width: 100%;
}
.simplenavbox td ul {
	display: inline;
	margin-left: 0;
	padding: 0;
}
.simplenavbox td li {
	display: inline;
}
.simplenavbox td li:not(:last-child) {
	padding-right: 0.286em;
}
.simplenavbox td li:not(:last-child)::after {
	background-color: var(--theme-page-text-color);
	bottom: 0.214em;
	content: '';
	display: inline-block;
	height: 3px;
	left: 0.286em;
	position: relative;
	width: 3px;
}
.simplenavbox td li li:first-child::before {
	content: '(';
	font-weight: normal;
}
.simplenavbox td li li:last-child::after {
	content: ')';
	font-weight: normal;
}
.simplenavbox td li li li {
	font-size: x-small;
}

/* Portable Infobox */
.portable-infobox {
	background: rgba(var(--theme-accent-color--rgb),.7);
	border-radius: 4px;
}
.portable-infobox .pi-image {
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
.skin-fandomdesktop .portable-infobox .pi-title {
	background: rgba(var(--theme-page-text-color--rgb),.15);
	border-bottom: none !important;
	border-radius: 4px;
	margin: 5px;
	text-align: center;
}
.portable-infobox .pi-header {
	background-color: transparent;
	border: none !important;
	font-size: 100%;
	text-align: center;
}
.portable-infobox .pi-navigation {
	text-align: center;
}
.portable-infobox .pi-item:last-child {
	padding-bottom: 3px;
}
.portable-infobox .pi-data {
	border: none;
	padding: 2px 5px;
}
.portable-infobox .pi-data-value {
	padding: inherit;
}
.portable-infobox .pi-data-label {
	background: rgba(var(--theme-page-text-color--rgb),.15);
	border-radius: 4px;
	padding: inherit;
	text-align: right;
}
.portable-infobox .pi-section-label {
	color: var(--theme-page-text-color);
}
.portable-infobox .pi-section-tab.pi-section-active {
	box-shadow: inset 0 -2px 0 0 #FFF;
}
.portable-infobox .pi-section-tab.pi-section-active:hover {
	box-shadow: inset 0 -2px 0 0 #999;
}
.pi-data,
.pi-group {
	border-bottom: 0;
}
.portable-infobox .wds-tabs::after {
	align-self: stretch;
	content: "";
	width: 100%;
}
.portable-infobox .wds-tabs::before {
	align-self: stretch;
	content: "";
	width: 100%;
}