MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Fonts */ @font-face { font-family: 'Origicide'; src: local('Origicide'), local('Origicide'), url(/media/hydra/fonts/Origicide.ttf) format('truetype'); }

/* Colours */ /* #747B8C = blueish gray, #8B1801 = dark red, #A1A7BC = light gray */

/* Header and footer */ .header-container.header-chrome, background: url("https://static.wikia.nocookie.net/graveyardkeeper_gamepedia_en/images/2/26/Background.png/revision/latest"); background-position: center top; background-attachment: fixed; background-repeat: no-repeat; background-color: black; background-size: cover; color: white; }
 * 1) mw-mf-page-center {

/*Change render style for pixel art*/ img, .sprite{ image-rendering:-moz-crisp-edges; image-rendering:-o-crisp-edges; image-rendering:-webkit-optimize-contrast; -ms-interpolation-mode:nearest-neighbor; image-rendering:crisp-edges; image-rendering:pixelated; }

footer { color: #e0e0e0; }

.overlay #secondary-button.user-button, .header #secondary-button.user-button, .overlay .user-button, .header .user-button { background: transparent; }

/* end header and footer */

.nomobile { display: none; }

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

.mw-ui-button, .last-modified-bar #mw-mf-last-modified { background-color: rgba(0, 0, 0, 0); color: #e0e0e0; }

.overlay-enabled, #content { background:rgba(10,10,10,0.98); color: #e0e0e0; }

a, a:visited, a.external { color: #5a93cc; }

.mw-ui-icon-arrow::before { filter: invert(100%); }

.thumb, li.gallerybox div.thumb { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; }
 * 1) content_wrapper .thumb,

.content table { width: 100% !important; }

.content table th { background-color: rgba(0, 0, 0, 0); }

.content table td, .content table th { border: none; padding: 3px; }

.content table.wikitable { background-color: rgba(0, 0, 0, 0); margin: auto; margin-bottom: 1em; }

.content table.wikitable > tr > th, .content table.wikitable > tr > td, .content table.wikitable > * > tr > th, .content table.wikitable > * > tr > td { border: 1px solid #505050; }

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: inherit; padding: 3px; }

/* Responsive main page stuff */ /******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #505050 !important; background: #101010 !important; }

border-left: 12px solid #505050; background: transparent; }
 * 1) mw-mf-page-left {

background: transparent; }
 * 1) mw-mf-page-left ul {

border-bottom: 12px solid #505050; }
 * 1) mw-mf-page-left ul:first-child {

border-top: 1px solid #505050; border-bottom: 1px solid #505050; background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

border: none; color: #3674b3; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #aaaaaa; background: #505050; }
 * 1) mw-mf-page-left ul li:hover {

border: none; }
 * 1) mw-mf-page-left ul.hlist li:hover {

color: #ffffff; }
 * 1) mw-mf-page-left ul li:hover a,
 * 2) mw-mf-page-left ul.hlist li:hover a {

/* Recent changes */ .content .mw-changeslist table td { border: none; padding: 1px; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the desktop skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.2); 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.2); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/********************* /* Front page styles * /*********************/ .fpbox { background: rgba(10,10,10,0.98); border-color: transparent; border-bottom-style: solid; border-width: 30px; /* border-image-outset: 0 0 0 0; */ border-image-repeat: repeat; border-image-slice: 54 54 54 54; border-image-source: url(https://static.wikia.nocookie.net/graveyardkeeper_gamepedia_en/images/9/91/Content_box_II.png/revision/latest); border-image-width: 1 1 1 1; border-left-style: solid; border-image-outset: 2px; border-right-style: solid; border-top-style: solid; color: white; margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { font-family: "Origicide"; border-bottom: 1px solid #505050; color: #8B1801; font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; text-shadow: 1px  1px 1px white, 1px -1px 1px white, -1px 1px 1px white, -1px -1px 1px white; }

.fpbox .heading { border-bottom: 1px solid #505050; font-size: 132%; text-transform: uppercase; margin: 0 0 10px 0; padding: 0 0 5px 0; color: #8B1801; font-family: "Origicide"; text-shadow: 1px  1px 1px white, 1px -1px 1px white, -1px 1px 1px white, -1px -1px 1px white; }

.fpbox .heading .smalllink { color: #3674b3; font-weight: bold; font-size: 75%; }

.fpbox .body { overflow: hidden; }

.fpbox.mobilecollapsible .heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

.fpbox.mobilecollapsible .heading a.togglecollapse:hover, .fpbox.mobilecollapsible .heading a.togglecollapse:active { text-decoration: none; }

.fpbox.mobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.fpbox.mobilecollapsible.collapsed .heading a.togglecollapse { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHCAQAAABqrk9lAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBgcKGQuEiih2AAAALklEQVQI12OczPD2vzAjAwMDAxMDAwPD2/9wJoQDZTIwvP0PZwozMsEYUAUQEwDWNwihamz9rAAAAABJRU5ErkJggg==") left center no-repeat; }

.fpbox.mobilecollapsible.collapsed .body { display: none; }

.fpbox.mobilecollapsible.expanded .heading a.togglecollapse { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAQAAADoz+32AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBgcKGQFkX8FoAAAAIklEQVQI12Ns+M+ABJiEGREcYUYmBgaYgDAjAwMTjAERBABjNAH/5hy/QgAAAABJRU5ErkJggg==") left center no-repeat; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

.fpmain .columns { overflow: hidden; }

.fpmain .columns .leftcol { width: 100%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 400px) { .fpmain .columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { float: right; width: 50%; margin: 0; padding: 0; } }

.fplinks { display: flex; flex-flow: row wrap; justify-content: center; margin: -2px -3px; }

.fplinks .linkslabel { border-bottom: 2px solid #505050; margin: 6px 3px 0 3px; flex: 0 0 100%; }

.fplink { display: flex; align-items: stretch; justify-content: stretch; flex: 0 0 100%; padding: 2px 3px; box-sizing: border-box; }

@media (min-width: 400px) { .fplink { flex: 0 0 50%; } }

.fplink.wide { flex: 0 0 100%; }

.fplink .box { background: #202020; border: 1px solid #a2a9b1; border-radius: 2px; display: flex; flex-flow: column nowrap; font-weight: bold; align-items: stretch; justify-content: stretch; flex-grow: 1; min-height: 4em; color:#aa9f68; }

.fplink.image { justify-content: flex-start; }

.fplink.image .box { min-height: 70px; }

.fplink.image .box .image { display: flex; flex-grow: 1; min-height: 70px; }

.fplink.image .image a { min-height: 70px; }

.fplink.image .box .image img { max-width: 100% !important; width: auto !important; max-height: 70px !important; }

.fplink.image .image { font-size: 75%; }

.fplink .link { display: flex; align-items: stretch; justify-content: stretch; flex-grow: 1; }

.fplink a { display: flex; align-items: center; justify-content: center; flex-grow: 1; color: #aa9f68 !important; }

.fplink.image .link a { border-top: 2px solid #505050; background: #ddddb7 !important; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; max-width: 480px; }

.fpvideo { position: relative; padding-top: 25px; padding-bottom: 56.25%; height: 0; }

.fpvideo iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.fpbox .bigmobilelinks .rightcol { padding: 0.25em 0 0 0; }

@media (min-width: 400px) { .fpbox .bigmobilelinks .rightcol { padding: 0; } }

.fpbox .bigmobilelinks ul, .fpbox .bigmobilelinks .leftcol ul, .fpbox .bigmobilelinks .rightcol ul { list-style: none; margin: 0; padding: 0 15px; }

.fpbox .bigmobilelinks ul ul, div#content .fpbox .bigmobilelinks .leftcol ul ul, div#content .fpbox .bigmobilelinks .rightcol ul ul { list-style: none; padding: 0.25em 1em 0 1em; }

.fpbox .bigmobilelinks ul li div { display: flex; align-items: center; justify-content: center; background: rgba(128, 128, 128, 0.1); min-height: 4em; margin: 0.25em 0; padding: 0; }

.fpbox .bigmobilelinks a { display: flex; align-items: center; justify-content: center; background: rgba(128, 128, 128, 0.2); min-height: 4em; margin: 0.25em 0; padding: 0; }

div.cpbox div.feature { width: unset !important; }

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

.mobilecenter { text-align: center; }

.mobileright { text-align: right; }

.header { margin-bottom: 0.5em; font-family:"Origicide"; color: #8b1801; font-size:20px; text-align: center; text-shadow: 1px 1px 1px white, 1px -1px 1px white, -1px 1px 1px white, -1px -1px 1px white; }

/* Fixes */ .notification-count .circle span { text-shadow: none; font-weight: normal; }

footer .last-modified-bar { border-bottom: solid 1px #c8ccd1; background-color: #202020; display: block; color: #666; line-height: 1.5em; transition: background-color 0.2s ease,color 0.2s ease; }

.fpbox .body { overflow: hidden; }

.fpbox.mobilecollapsible .heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

.fpbox.mobilecollapsible .heading a.togglecollapse:hover, .fpbox.mobilecollapsible .heading a.togglecollapse:active { text-decoration: none; }

.fpbox.mobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.fpbox.mobilecollapsible.collapsed .heading a.togglecollapse { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHCAQAAABqrk9lAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBgcKGQuEiih2AAAALklEQVQI12OczPD2vzAjAwMDAxMDAwPD2/9wJoQDZTIwvP0PZwozMsEYUAUQEwDWNwihamz9rAAAAABJRU5ErkJggg==") left center no-repeat; }

.fpbox.mobilecollapsible.collapsed .body { display: none; }

.fpbox.mobilecollapsible.expanded .heading a.togglecollapse { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAQAAADoz+32AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBgcKGQFkX8FoAAAAIklEQVQI12Ns+M+ABJiEGREcYUYmBgaYgDAjAwMTjAERBABjNAH/5hy/QgAAAABJRU5ErkJggg==") left center no-repeat; }

.fpbox .bigmobilelinks ul, .fpbox .bigmobilelinks .leftcol ul, .fpbox .bigmobilelinks .rightcol ul { list-style: none; margin: 0; padding: 0 15px; }

.fpbox .bigmobilelinks ul ul, div#content .fpbox .bigmobilelinks .leftcol ul ul, div#content .fpbox .bigmobilelinks .rightcol ul ul { list-style: none; padding: 0.25em 1em 0 1em; }

.fpbox .bigmobilelinks ul li div { display: flex; align-items: center; justify-content: center; background: rgba(128, 128, 128, 0.1); min-height: 4em; margin: 0.25em 0; padding: 0; }

.fpbox .bigmobilelinks a { display: flex; align-items: center; justify-content: center; background: rgba(128, 128, 128, 0.2); min-height: 4em; margin: 0.25em 0; padding: 0; }

div.cpbox div.feature { width: unset !important; }

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

.mobilecenter { text-align: center; }

.mobileright { text-align: right; }

/* Module:Sprite */ .sprite { display: inline-block; vertical-align: middle; background-repeat: no-repeat; }

.sprite + .sprite-text { padding-left: 0.312em; }

.sprite-text-backwards { padding-right: 0.312em; }

clear: both; }
 * 1) spritedoc {

.spritedoc-section { margin-top: 0.3em; }

.spritedoc-section > h3 { padding-top: 0; margin-top: 0; }

display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 0 0 1px 1px; margin: 0.5em 0; }
 * 1) spritedoc .spritedoc-boxes {

.spritedoc-box { position: relative; /* Non-flex fallback */ display: inline-block; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; padding: 0.5em; background: var(--table-background); border: 1px solid var(--table-border); margin: 0 0 -1px -1px; }

.spritedoc-image { /* Non-flex fallback */ display: inline-block; /* Non-flex fallback */ vertical-align: middle; margin-right: 0.5em; line-height: 0; }

/* Non-flex fallback */ display: inline-block; /* Non-flex fallback */ vertical-align: middle; width: 14em; margin: 0; /* Non-flex fallback */ list-style: none; }
 * 1) spritedoc .spritedoc-names {

.spritedoc-name { line-height: 1.2; margin-bottom: 0.3em; }

.spritedoc-name:last-child { margin: 0; }

.spritedoc-name > code { display: inline-block; border: 0; border-radius: 0; padding: 0; word-wrap: break-word; /* Necessary to make word-wrap work */ max-width: 14em; }

.spritedoc-deprecated { background-color: var(--color-yellow); }

.spritedoc-name > .spritedoc-nolink { border: solid var(--color-brightred); }

.spritedoc-name > .spritedoc-nolink { border: solid var(--color-brightred); }

.spritedoc-name > .spritedoc-black { border: solid var(--interface-border); }

.spritedoc-name > .spritedoc-dark { border: dashed var(--interface-border); }

.sprite.title-sprite { width: 35px; height: 35px; }