MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ .nomobile { display: none; }

body { background: url("https://static.wikia.nocookie.net/7daystodie_gamepedia/images/2/20/7dtd_background.jpg/revision/latest") no-repeat fixed top center #050505; background-size: cover; }

/* content area */ .overlay-enabled, #content { background: none repeat scroll 0 0 rgba(80, 80, 80, 0.95); border: 1px solid #000000; color: #dedede; }

a, a:visited, a.external { color: #cfc59e; }

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

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

.content table td, .content table th { border: 1px solid #050505; 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 #050505; }

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

/********************* /* Front page styles * /*********************/ .fpbox { border-radius: 11px; border: 2px solid rgba(0, 0, 0, 0.2); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset; background: rgba(255, 255, 255, 0.1); color: inherit; margin: 5px; padding: 5px; }

.fpbox .welcome { border-bottom: 2px solid rgba(0, 0, 0, 0.2); background: transparent; color: #dedede; font-size: 150%; text-transform: uppercase; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #cfc59e; 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; } }

.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; }

.content h1, .content h2 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border-bottom: 1px solid #404040; color: #000000; }

.content h3, .content h4, .content h5, .content h6 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); color: #000000; }

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

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

.content table td, .content table th { border: 1px solid #050505; 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 #050505; }

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

/* custom headers and sections */ .heading { 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; color: #ffffff; font-family: "Ufonts.com_agency-fb-bold"; font-size: 150%; font-weight: bold; letter-spacing: 1px; margin: 0 0 10px; padding: 0.2em 0.4em; text-shadow: 1px 1px 1px #000000; width: auto; }

.feature { -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: 11px 11px 11px 11px; border-right: 2px solid rgba(0, 0, 0, 0.2); border-top: 2px solid rgba(0, 0, 0, 0.2); color: #dedede; padding: 10px; margin-bottom: .5em; }

.level-entry-input { display:none; } .cs-changing_loot .level-entry-input { display:block; }