MediaWiki:Mobile.css

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

/********************************************************************** * Mobile.css Only **********************************************************************/ .article-content { --theme-accent-color: #e4f0f7; --theme-accent-color--rgb: 228,240,255; --theme-accent-color--hover: #e4f0f7; --theme-accent-label-color: #063b5e; --custom-notice-blue-background-color: var(--theme-accent-color); --custom-notice-blue-border-color: var(--custom-accent-border-color); }

background: #FCFCFC; color: #000000; border: 0px solid #bd912f; clear: both; margin: 0 8px; }
 * 1) content_wrapper {

h2 { border-bottom: 0px solid #AAAAAA; }

.thumb { background: none repeat scroll 0 0 #FCFCFC; border: 1px solid #aaaaaa; margin-bottom: 10px; }

/* fix for default mw mobile skin (really sxxk) */ .content table{ margin: auto; display: table; } table[style] { float: none !important; margin-left: 0 !important; width: 100%; } table{ border-collapse: initial; margin: auto; } 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; }

/* unset negative margin causing overlap */ .infobox.item .section.statistics .title, .npc.infobox .section.statistics .title { margin-bottom: unset; }

/* 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 {