MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, .notification-count { background: transparent; }
 * 1) mw-mf-page-center,

footer { background: #e0e0e0; } /* 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); }

body { background-attachment: fixed; background-color: #ffffff; background-image: url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/7/72/Tall_ground_texture.png/revision/latest"), url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/0/05/Newparallax1.png/revision/latest"), url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/7/75/Newparallax2.png/revision/latest"); background-position: center 400px, center 150px, center top; background-repeat: repeat-x; }

.overlay-enabled, #content { background: rgba(255, 255, 255, 0.8); border: 1px solid #000000; }

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

h1, h2, hr, .section-heading.collapsible-heading.open-block { background: rgba(0, 0, 0, 0) url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/0/0f/Hr.png/revision/latest") repeat-x scroll 0 calc(100% + 5px); background-repeat: repeat-x; border: 8px solid transparent; }

.content .section-heading { border-bottom: solid 4px transparent; }

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

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

.content table td, .content table th { border: 1px solid #505050; 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: rgba(0, 0, 0, 0); padding: 3px; }

/* 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.1); border: 1px solid #cccccc; border-radius: 1em; padding: 1em; }

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

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

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

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

.fpbox .heading { border-bottom: 1px solid #505050; background: transparent; font-size: 200%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #5a93cc; 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: 1px 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; padding: 0; }

.fpbox .bigmobilelinks a { display: flex; align-items: center; justify-content: center; padding: 0; }

.fpbox .mainheading a, .fpbox .heading a { color: #000000; }

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

/* Rope border */ .ropeborder { background: url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/f/f1/Ropeborder_topleft.png/revision/latest") no-repeat scroll left top border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/9/97/Ropeborder_topright.png/revision/latest") no-repeat scroll right top border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/a/a8/Ropeborder_bottomleft.png/revision/latest") no-repeat scroll left bottom border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/6/6c/Ropeborder_bottomright.png/revision/latest") no-repeat scroll right bottom border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/3/35/Ropeborder_horizontal.png/revision/latest") repeat-x scroll right top border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/3/3f/Ropeborder_vertical.png/revision/latest") repeat-y scroll left top border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/3/3f/Ropeborder_vertical.png/revision/latest") repeat-y scroll right top border-box, url("https://static.wikia.nocookie.net/westofloathing_gamepedia_en/images/3/35/Ropeborder_horizontal.png/revision/latest") repeat-x scroll left bottom border-box, transparent; border: 22px solid transparent; padding: 0; /* This is for the border images; change #bodyContent for the actual content padding */ box-sizing: border-box; }

/* Tabber styling */ .tabberlive .tabbertab, .tabber .tabbertab { -moz-border-bottom-colors: transparent !important; -moz-border-left-colors: transparent !important; -moz-border-right-colors: transparent !important; -moz-border-top-colors: #505050 !important; border-top-bottom: transparent !important; border-top-left: transparent !important; border-top-right : transparent !important; border-top-color: #505050 !important; border-image: none !important; border-style: solid none none !important; border-width: 1px medium medium !important; }

ul.tabbernav { border-bottom: none !important; text-align:center; }

ul.tabbernav li a { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border: 1px solid #505050 !important; border-image: none; border-radius: 5px 5px 0 0 !important; letter-spacing: 1px; margin-left: 3px; padding: 3px 0.5em; text-decoration: none; }

ul.tabbernav li { background: rgba(0, 0, 0, 0); color: #ffffff; display: inline; list-style: none outside none; margin: 0 0 0 7px; }

ul.tabbernav li a:hover { background: none repeat scroll 0 0 #ffffff !important; border-color: #505050 !important; color: #333333 !important; }

ul.tabbernav li.tabberactive a, ul.tabbernav li.tabberactive a:hover, ul.tabbernav li.tabberactive a:link { background: rgba(0, 0, 0, 0); border-bottom: 2px solid #e5e5e5 !important; color: #000000; font-size: 150%; }

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

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: #ffffff; border: 1px solid #aaaaaa; border-radius: 3px; color: #000000; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: #efefef; border: 2px solid inherit; border-radius: 3px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: #efefef; border-radius: 3px; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { background-color: #efefef; border-radius: 3px; padding: 0.2em; }

.section-collapse { border-color: #000000; border-style: solid; border-width: 2px 2px 0 0; content: ""; cursor: pointer; display: inline-block; height: 7px; margin-right: 5px; position: relative; right: 0; top: 5px; transform: rotate(-45deg); vertical-align: middle; width: 7px; }

.section-collapsed { display: none; }

.collapsed-icon { margin-top: 1px; transform: rotate(135deg); }