MediaWiki:Mobile.css

/* common css for both desktop and mobile view. */ @import url(https://terraria.gamepedia.com/index.php?title=MediaWiki:Common-base.css&action=raw&ctype=text/css);

/********************************************************************** * Mobile.css Only **********************************************************************/ /* fix for default mw mobile skin (really sxxk)*/ .content table{ margin: auto; display: table; }

body { background-color: #012034; color: #000000; }  background: #FCFCFC; color: #000000; border: 0px solid #bd912f; clear: both; margin: 0 8px; } h2 { border-bottom: 0px solid #AAAAAA; } .thumb { background: none repeat scroll 0 0 #FCFCFC; border: 1px solid #aaaaaa; margin-bottom: 10px; } table[style] { float: none !important; margin-left: 0 !important; width: 100%; } table{ border-collapse: initial; margin: auto; } /* table { border: 0px solid #CCCCCC; border-collapse: collapse !important; border-spacing: 0 !important; margin: auto; margin-bottom: 15px; padding: 3px; }
 * 1) content_wrapper {

table td, table th { border: 0px solid #CCCCCC; padding: 3px; } table.infobox { background: none repeat scroll 0 0 #f9f9f9; border: 1px solid #aaaaaa; width: 21em !important; margin: auto; }

/* fix table error in infobox. override rules in /extensions/MobileFrontend/resources/skins.minerva.content.styles/tables.less */ .infobox table, table.infobox{ display: table; border-collapse: separate !important; margin: auto; }

/* for New flex mainpage styles */ /*NOTE: We NEED -14px left & right margin to get enough space for "enemies" and "biomes" block to show as 2-col on iphone7+ (414px width).*/ margin: auto -14px; }
 * 1) mainpage-global-wrapper {