MediaWiki:Mobile.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary Tags: Manual revert Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 1: | Line 1: | ||
/* Import the main wiki styles to mobile */ | |||
@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"); | ||
/* Miraheze-style Mobile Adjustments */ | |||
body.skin-cosmos-mobile { | |||
background-color: #f9fdfa !important; /* Your KH Light Green */ | |||
} | |||
/* Hide the sidebar rail on mobile to match Miraheze/Fandom */ | |||
#cosmos-right-rail { | |||
display: none !important; | |||
} | |||
/* Make the content area fill the screen */ | |||
#cosmos-content-main { | |||
width: 100% !important; | |||
margin: 0 !important; | |||
border-radius: 0 !important; | |||
box-shadow: none !important; | |||
} | |||
Revision as of 01:32, 17 March 2026
/* Import the main wiki styles to mobile */
@import url("/wiki/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css");
/* Miraheze-style Mobile Adjustments */
body.skin-cosmos-mobile {
background-color: #f9fdfa !important; /* Your KH Light Green */
}
/* Hide the sidebar rail on mobile to match Miraheze/Fandom */
#cosmos-right-rail {
display: none !important;
}
/* Make the content area fill the screen */
#cosmos-content-main {
width: 100% !important;
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
}