MediaWiki:Mobile.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 1: | Line 1: | ||
/* | /* Version 10.0 - MIRAHEZE MOBILE OVERRIDE */ | ||
@import url("/wiki/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css"); | @import url("/wiki/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css"); | ||
/* 1. | /* 1. Background and Card Look */ | ||
body { | body { | ||
background-color: #f9fdfa !important; | background-color: #f9fdfa !important; | ||
} | } | ||
#cosmos-content { | #cosmos-content { | ||
padding: | padding: 8px !important; | ||
width: 100% !important; | width: 100% !important; | ||
box-sizing: border-box !important; | |||
} | } | ||
#cosmos-content-main { | #cosmos-content-main { | ||
background: #ffffff !important; | background: #ffffff !important; | ||
border-radius: | border-radius: 4px !important; | ||
padding: 15px !important; | |||
padding: | |||
width: 100% !important; | width: 100% !important; | ||
float: none !important; | float: none !important; | ||
box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important; | |||
} | } | ||
/* 2. Hide | /* 2. Hide the Right Rail (Sidebar) on Mobile */ | ||
#cosmos-right-rail, .cosmos-right-rail { | #cosmos-right-rail, .cosmos-right-rail { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* 3. Infobox Mobile | /* 3. Infobox Mobile Expansion */ | ||
.portable-infobox { | .portable-infobox { | ||
width: 100% !important; | width: 100% !important; | ||
float: none !important; | float: none !important; | ||
margin: 10px | margin: 10px 0 !important; | ||
} | } | ||
/* 4. Mobile | /* 4. Mobile Header Color Fix */ | ||
. | .cosmos-header-title { | ||
color: var(--kh-yellow) !important; | |||
} | } | ||