MediaWiki:Mobile.css: Difference between revisions

From Lenn's Fun Stuff

No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(5 intermediate revisions by the same user not shown)
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 { background-color: #f9fdfa !important; }
body.skin-cosmos-mobile {
 
     background-color: #f9fdfa !important; /* Your KH Light Green */
#cosmos-content { padding: 10px !important; }
 
#cosmos-content-main {
    width: 100% !important;
    padding: 20px !important;
     background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}
}


/* Hide the sidebar rail on mobile to match Miraheze/Fandom */
#cosmos-right-rail { display: none !important; }
#cosmos-right-rail {
    display: none !important;
}


/* Make the content area fill the screen */
.portable-infobox {
#cosmos-content-main {
     width: 100% !important;
     width: 100% !important;
     margin: 0 !important;
     float: none !important;
     border-radius: 0 !important;
     margin: 10px 0 !important;
    box-shadow: none !important;
}
}

Latest revision as of 01:54, 17 March 2026

@import url("/wiki/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css");

body { background-color: #f9fdfa !important; }

#cosmos-content { padding: 10px !important; }

#cosmos-content-main {
    width: 100% !important;
    padding: 20px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

#cosmos-right-rail { display: none !important; }

.portable-infobox {
    width: 100% !important;
    float: none !important;
    margin: 10px 0 !important;
}