MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

body { overflow: auto }

/* Kanit font for headers */ @font-face { font-family: 'Kanit'; src: url('https://fonts.gstatic.com/s/kanit/v12/nKKZ-Go6G5tXcraVGwWKd6xB.ttf'); font-weight: 300,500,600,700,800,900; }

/* Style h1 headers */ .firstHeading, .vector-body h1, .mw-body h1, .mw-body-content h1 { font-family: 'Kanit', sans-serif; font-weight: 900; font-size: 2em; }

/* Style h2 headers */ .vector-body h2, .mw-body h2, .mw-body-content h2 { font-family: 'Kanit', sans-serif; font-weight: 800; font-size: 1.6em; }

/* Style h3 headers */ .vector-body h3, .mw-body h3, .mw-body-content h3 { font-family: 'Kanit', sans-serif; font-weight: 700; font-size: 1.4em; border-bottom: 1px solid #a2a9b1; margin-bottom: 16px; }

/* Style h4 headers */ .vector-body h5, .mw-body h4, .mw-body-content h4 { font-family: 'Kanit', sans-serif; font-size: 1.2em; font-weight: 600; }

/* Style h5 headers */ .vector-body h5, .mw-body h5, .mw-body-content h5 { font-family: 'Kanit', sans-serif; font-size: 1.2em; font-weight: 500; }

/* Style h6 headers */ .vector-body h6, .mw-body h6, .mw-body-content h6 { font-family: 'Kanit', sans-serif; font-size: 1.2em; font-weight: 300; }

/* Element animator */

display: none }	display: inline-block; }	display: block; }
 * 1) mw-content-text .animated > *:not(.animated-active),
 * 2) mw-content-text .animated > .animated-subframe > *:not(.animated-active) {
 * 1) mw-content-text span.animated,
 * 2) mw-content-text span.animated.animated-visible > *,
 * 3) mw-content-text span.animated.animated-visible > .animated-subframe > * {
 * 1) mw-content-text div.animated.animated-visible > *,
 * 2) mw-content-text div.animated.animated-visible > .animated-subframe > * {

/* End of Element animator */

/* Horizontally centre animated images */

display: inline-flex; align-items: center; }
 * 1) mw-content-text .infobox-imagearea .animated {

.notaninfobox .infobox-rows { display: table; margin: 0 !important; width: 100% !important; border-collapse: separate !important; border-spacing: 1px !important; } .infobox-rows > tbody > tr > th { text-align: left; white-space: nowrap; }	margin: 0; }
 * 1) mw-content-text .infobox-rows p {

/* End of Horizontally centre animated images */

/* Start of Template reskin; bother Xaph if you have any questions */

.notaninfobox { position: relative; clear: right; margin: 0 0 1em 1em; width: 300px; font-size: 90%; background: #FFF; border-radius: 10px; float: right; border: 1px solid #f3f3f3; background: rgb(240, 240, 241); background: -moz-linear-gradient(180deg, rgba(240, 240, 241, 1) 0%, rgba(255, 255, 255, 1) 100%); background: -webkit-linear-gradient(180deg, rgba(240, 240, 241, 1) 0%, rgba(255, 255, 255, 1) 100%); background: linear-gradient(180deg, rgba(240, 240, 241, 1) 0%, rgba(255, 255, 255, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f0f0f1", endColorstr="#ffffff", GradientType=1); padding: 2px 2px 5px 2px; overflow: auto; z-index: 1; }

.notaninfobox .mcwiki-header { background: rgb(239 239 239); background: -moz-linear-gradient(180deg,rgb(230 230 230) 0%,rgb(255 255 255) 100%); background: -webkit-linear-gradient(180deg,rgb(230 230 230) 0%,rgb(255 255 255) 100%); background: linear-gradient(180deg,rgb(230 230 230) 0%,rgb(255 255 255) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#525a6e",endColorstr="#1d1d1d",GradientType=1); color: #202122; border-radius: 10px 10px 3px 3px; letter-spacing: 0.04em; padding: 7px; border: 1px solid transparent; border-bottom: 2px solid #d3d3d3; }

.client-darkmode .notaninfobox .mcwiki-header { background: rgb(0, 0, 0); background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(12, 12, 13, 1) 100%); background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(12, 12, 13, 1) 100%); background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(12, 12, 13, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#0c0c0d", GradientType=1); border-color: #1c1c1d; border-bottom: 2px solid #292732; color: #abacb0; -webkit-filter: invert(1) hue-rotate(180deg); }

@media all and (max-width:511px) { .notaninfobox { float: none; margin-left: 0; width: auto } }

@media all and (max-width:337px) { .notaninfobox { margin-left: -16px; margin-right: -16px; border-left: none; border-right: none } }

.notaninfobox>.infobox-title { font-weight: bold; text-align: center; font-size: 120% }

.infobox-imagearea { text-align: center; padding: 4px }

.infobox-imagearea>div:not(:first-child) { padding-top: 1em }

display: inline-flex; align-items: center }
 * 1) mw-content-text .infobox-imagearea .animated {

.notaninfobox table.infobox-rows { display: table; margin: 0; width: 100%; border-collapse: separate; border-spacing: 0px 1px; }

.notaninfobox .infobox-rows>tbody>tr { background: #b6b6bb1f; }

.notaninfobox .infobox-rows>tbody>tr:nth-child(even) { background: #dcdcdc1f; }

.infobox-rows>tbody>tr>th { text-align: left; white-space: nowrap; }

margin: 0 }
 * 1) mw-content-text .infobox-rows p {

.infobox-rows dl+dl { margin-top: -0.4em }

.infobox-rows dl:last-child { margin-bottom: 0.2em }

.infobox-footer { text-align: center }

table.infobox-rows, client-darkmode table.infobox-rows { background-color: transparent; }

/* End of Template reskin, bother Xaph if you have any questions */

/* Done by Crec0. Bother him */ table { background-color: transparent!important; }

th, td { padding:2px 10px 2px; }

.notaninfobox th,td { vertical-align: middle; }

.mw-gallery-slideshow-img-container img { max-width: 800px; width:100%; height: auto; border-radius: 10px; object-fit: contain; }

ul.gallery.mw-gallery-slideshow { margin: 0; }

mw-gallery-slideshow-buttons { padding: 0 0 0.5em 0 }

.yeet-title { display:none; }

.client-darkmode #mw-content-text .mw-parser-output div table tbody td p span { filter: hue-rotate(-180deg) invert(1); -webkit-filter: hue-rotate(-180deg) invert(1); }

/* Crec0's deeds are done */

/* Start of Darkmode fixes; bother Xaph if you have any questions */

html.client-darkmode { overflow-y: auto; }

html.client-darkmode div#mw-head { background: rgb(255, 255, 255); background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 100%); background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 100%); background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#f6f6f6", GradientType=1); z-index: 1; margin-right: 18px; }

html.client-darkmode #left-navigation>nav{ margin-left: 18px; }

html.client-darkmode #mw-panel { position: absolute; z-index: 2; }

html.client-darkmode .mw-indicators { z-index: 0; }

html.client-darkmode .mw-wiki-logo { filter: invert(1) hue-rotate(180deg); -webkit-filter: invert(1) hue-rotate(180deg); }

html.client-darkmode .ve-ui-mwGalleryDialog-highlighted-image, html.client-darkmode .ve-ui-mwGalleryDialog-image-container, html.client-darkmode #msupload-list .file-type.file-load { filter: invert(1) hue-rotate(180deg); -webkit-filter: invert(1) hue-rotate(180deg); }

html.client-darkmode .ve-ui-mwGalleryDialog-highlighted-image { background-color: #000000; }

video:fullscreen, html.client-darkmode video:fullscreen{ filter: none!important; -webkit-filter: none!important; }

.client-darkmode #mw-content-text .mw-parser-output div table tbody td p span.pixel-image, .client-darkmode #mw-content-text .mw-parser-output div table tbody td p span.mc-hearts { filter: none; -webkit-filter: none; }

.client-darkmode .vector-menu-tabs, .client-darkmode .vector-menu-tabs a, .client-darkmode #mw-head .vector-menu-dropdown .vector-menu-heading { background-image: linear-gradient(to bottom,rgb(48 52 57 / 0%) 0,#bfbfbf 100%); }

.client-darkmode .vector-menu-tabs li { background-image: linear-gradient(to top,#ffffff 0,#ffffff 0px,#ffffff 100%) }

.client-darkmode .ve-ui-toolbar { position: fixed; z-index: 100; background: #fff; }

/* End of Darkmode fixes, bother Xaph if you have any questions */

/* Start of small graphical fixes, bother Xaph if you have any questions */

padding-top: 16px; }
 * 1) content>#firstHeading.firstHeading {

color: #5099c2; }
 * 1) bodyContent a {

color: #dd3333; }
 * 1) bodyContent a.new, #bodyContent a.new:visited {

color: #b582e8; }
 * 1) bodyContent a:visited {

html.client-darkmode #bodyContent a { color: #5088e4; }

html.client-darkmode #bodyContent a.new, html.client-darkmode #bodyContent a.new:visited { color: #ff6e6e; }

html.client-darkmode #bodyContent a:visited { color: #9a79c9; }

table th { vertical-align: top; }

div.notaninfobox { min-width: 300px; width: auto; }

div img.thumbimage { background-color:transparent; }

/* End of small graphical fixes, bother Xaph if you have any questions */

/* Start of left column tools and administration showing only on hover, in both dark and light mode, bother Xaph if you have any questions*/

nav.vector-menu-portal:nth-child(n+3) .vector-menu-content{ overflow-y: hidden; transform: scaleY(0); transform-origin: top center; }

nav.vector-menu-portal:nth-child(n+3) { height: 2em; }

nav.vector-menu-portal:nth-child(n+3):hover .vector-menu-content{ transform: scaleY(1); }

nav.vector-menu-portal:nth-child(n+3):hover { height: auto; }

/* End of left column tools and administration showing only on hover, in both dark and light mode, bother Xaph if you have any questions*/

/* Start of Template:hp styling. This is hackery! MC Wiki did it first */

.mc-hearts::before { content: ' ('; } .mc-hearts::after {	content: ')'; }

/* End of Template:hp styling */

/* Start of custom classes and their styles, their names should be self-explanatory */

html.client-darkmode .darkmode-invert { filter: invert(1) hue-rotate(180deg); -webkit-filter: invert(1) hue-rotate(180deg); }


 * not html.client-darkmode .lightmode-invert {

filter: invert(1) hue-rotate(180deg); -webkit-filter: invert(1) hue-rotate(180deg); }

.full-width-image, .full-width-image img { width: 100%; height: auto; }

/* End of custom classes and their styles, their names should be self-explanatory */

/* Start of Tera trying stuff in CSS */

.discord-banner { background-image:url("https://discordapp.com/api/guilds/738046951236567162/embed.png?style=banner2"); width: 30%; height: 70%; background-size: cover; background-repeat: no-repeat; float: right; filter: none; }

/* to make the following work, replace with */

.float-toc .toc { float: left; margin-right: 10px; }

/* Start of dark mode fixes */

.mwe-popups .mwe-popups-thumbnail { object-fit: contain; }

.mwe-popups.mwe-popups-is-not-tall .mwe-popups-thumbnail { height: auto; }

.client-darkmode .embedvideowrap { filter: invert(1) hue-rotate(180deg); }

.client-darkmode .embedvideowrap iframe { filter: none; }

/* End of dark mode fixes */

/* Start of new background image */


 * root:not(.client-darkmode) body {

background-image: url(https://static.miraheze.org/stardustlabswiki/0/0f/Wiki_background.jpg); background-size: cover; background-attachment: fixed; }

.client-darkmode body { background-image: url(https://static.miraheze.org/stardustlabswiki/8/8e/Wiki_background_inverted.jpg); background-size: cover; background-attachment: fixed; }

div#mw-head-base { background: white; }

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

div#mw-head { background: transparent !important; }

html:not(.client-darkmode) .vector-menu-portal .vector-menu-content li a { filter: hue-rotate(180deg) invert(1); }

.vector-menu-portal .vector-menu-heading { color: #ffffff; }

html.client-darkmode .vector-menu-portal .vector-menu-heading { filter: invert(1); }

html:not(.client-darkmode) ul#footer-places li a { filter: hue-rotate(180deg) invert(1); }

div#mw-head-base { background: #d7d7d7; }

@media screen { .mw-body { background-color: #ececec; } }

/* End of new background image */

.seo { display:none; }

.toc li > ul > li { font-size:90%; }

.mw-collapsible-toggle { float: none !important; }

.wikitable h5 { margin-top:0; padding-top: 0; }

/* End of Tera trying stuff in CSS */

/* Fix for top bar going in front of text */

html.client-darkmode { overflow-y: visible; }

html, body { height: auto; min-height: 100%; }

display: flex; flex-wrap: wrap; }
 * 1) footer-places, #footer-icons {

justify-content: flex-end; float: none; }
 * 1) footer-icons {

float: none; }
 * 1) footer-icons li {

margin-left: 0.5em; }
 * 1) footer-icons li a {

/* Fix for toolbar not following window */

position: fixed; }
 * 1) mw-panel, html.client-darkmode #mw-panel {

/* Fix for top bar changing shape when changing theme */

margin-left: 18px; }
 * 1) left-navigation > nav {

html.client-darkmode div#mw-head { margin-right: 0; }

/* Prevent footer on light mode being unreadable */

html:not(.client-darkmode) .mw-footer li { color: #dfdedd; }

/* Box-shadow class for elements */ .box-shadow { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); }