MediaWiki:Handheld.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* <pre> */
/**
* ==============================
* MediaWiki:Handheld.css
* ==============================
*
* CSS placed here will affect handheld devices based on the skin configured in $wgHandheldStyle
* Note that this does NOT work in Wikia apps such as the "Game Guides" app
*
* This page is used to style the Wikiamobile skin for all users.
* In default MediaWiki this page is imported, but this is not supported by Wikia at this time.
* Until it is imported [[MediaWiki:Wikiamobile-menu]] imports this page.
*
* -- Instructions --
* [[MediaWiki:Common.css]] is not imported into Wikiamobile. Under no circumstances import it into Wikiamobile.
* This is to pageload to a minimum as mobile devices usually have less stable connections and less processing power.
* Inline CSS has no effect on Wikiamobile, therefore any changes to a page need to be made here.
* Try to keep styling here to a minimum and only if absolutely necessary.
*
* This page is compiled from LESS files listed in MediaWiki:Custom-handheld.less and should not be edited directly. See also: [[MediaWiki:Custom-common.less]] and [[MediaWiki:Wikia.css]]
*/
.navbox {
width: 100%;
background: #c4c4c4;
color: #222222;
margin: 1em auto;
font-size: 84%;
clear: both;
padding: 2px;
border-spacing: 0;
border: 2px solid #aaaaaa;
border-radius: 3px;
}
.navbox a,
.navbox .navbox-list .navbox-group a {
color: #1a1aff;
}
.navbox + .navbox {
margin-top: -16px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.navbox .navbox-title {
color: #222222;
background: #dddddd;
font-weight: bold;
}
.navbox .navbox-vde {
float: left;
width: 65px;
display: none;
}
.navbox .navbox-subgroup {
border-spacing: 0;
width: 100%;
}
.navbox .navbox-gutter {
height: 2px;
}
.navbox .navbox-subgroup .navbox-gutter {
background: #c4c4c4;
}
.navbox .navbox-section-row > td {
padding: 0;
height: 100%;
}
.navbox .navbox-section {
width: 100%;
border-spacing: 0;
}
.navbox .navbox-above,
.navbox .navbox-below,
.navbox .navbox-image {
color: #222222;
background: #f1f1f1;
text-align: center;
}
.navbox .navbox-group,
.navbox .navbox-header {
background: #f1f1f1;
color: #222222;
font-weight: bold;
height: 100%;
padding: 2px 4px;
}
.navbox .navbox-group {
min-width: 0px;
}
.navbox .navbox-group,
.navbox .navbox-image-left {
border-right: 2px solid #c4c4c4;
}
.navbox .navbox-image-right {
border-left: 2px solid #c4c4c4;
}
.navbox .navbox-list {
background: #ffffff;
color: #222222;
width: 100%;
height: 100%;
padding: 0;
}
.navbox .navbox-list div {
padding: 0px 4px;
}
.navbox .navbox-list.no-group {
text-align: center;
padding-top: 2px;
padding-bottom: 2px;
}
.navbox .navbox-list a {
color: #0000ff;
}
.navbox .navbox-list a.new {
color: #1d1d1d !important;
}
.navbox .mw-collapsible-toggle {
width: 65px;
display: none;
}
.hlist ul {
margin: 0;
list-style: none;
}
.hlist li,
.hlist ul ul {
display: inline;
}
.hlist li a {
white-space: nowrap;
}
.hlist ul ul:before {
content: "(";
}
.hlist ul ul:after {
content: ")";
}
.hlist li:after {
content: " • ";
}
.hlist ul ul li:after {
content: "/";
}
.hlist li:last-child:after,
.hlist ul ul li:last-child:after {
content: none;
}
.manualBox {
display: inline-block;
vertical-align: top;
font-size: 11px;
width: 212px;
margin: 0px 4px 3px;
background: #C4C2B7;
}
.manualBox:target {
outline: red dotted 5px;
box-shadow: 0 0 15px 2px red;
}
.manualBox-title {
text-align: center;
font-weight: bold;
width: 100%;
}
.manualBox-title:before {
content: "\25c0";
float: left;
margin-left: 5px;
}
.manualBox-title:after {
content: "\25b6";
float: right;
margin-right: 5px;
}
.manualBox-content {
text-align: left;
color: black;
height: 158px;
overflow-y: auto;
margin: 5px;
padding: 0 5px;
border-radius: 5px;
background: #FCFCFC;
}
.colorBoxCont {
white-space: nowrap;
}
.colorBox {
display: inline-block;
height: 16px;
border-left: 16px solid currentColor;
margin-right: 1px;
box-shadow: 0 0 1px gray;
vertical-align: text-bottom;
}
.hssColorNone {
color: Snow;
}
.hssColorGray {
color: SlateGray;
}
.hssColorGreen {
color: LimeGreen;
}
.hssColorBlue {
color: RoyalBlue;
}
.hssColorYellow {
color: Yellow;
}
.hssColorRed {
color: Red;
}
.hssColorPurple {
color: Purple;
}
.hssColorBlack {
color: Black;
}
.bbColorGray {
color: #DBDBDB;
}
.bbColorGreen {
color: #3AF864;
}
.bbColorOrange {
color: #FEC600;
}
.redText {
color: Red;
}
.mobile-hide {
display: none !important;
}
#gamenav p {
margin: 0;
}
#gamenav {
width: 100%;
text-align: center;
margin-bottom: 11px;
background: #F2F2F2;
color: black;
}
#gamenavtitle {
font-size: 120%;
background: #DDD;
}
#gamenavlinks {
display: block;
background: #E8E8E8;
}
#gamenavbottom {
display: block;
background: #CCC;
}
#gamenavsequel .prequel {
float: left;
}
#gamenavsequel .sequel {
float: right;
}
.messagebox {
border: 1px solid #AAA;
border-left: 10px solid #721410;
padding: 2px 5px;
display: block;
margin: 3px 0;
}
.wikitable td {
overflow: hidden;
}
.blankCell {
cursor: not-allowed;
background: rgba(150, 150, 150, 0.15);
text-align: center;
font-size: 65%;
color: rgba(58, 58, 58, 0.35);
padding: 100px;
margin: -100px;
}