mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
/* Mobile responsive rules */ | /* Mobile responsive rules */ | ||
@media (max-width: | @media (max-width: 850px) { | ||
.infobox { | .infobox { | ||
float: none !important; | float: none !important; | ||
Line 24: | Line 24: | ||
margin: 0 auto 1em auto !important; | margin: 0 auto 1em auto !important; | ||
width: 90vw !important; | width: 90vw !important; | ||
max-width: | max-width: 640px !important; | ||
font-size: calc(14px + 1.2vw) !important; | font-size: calc(14px + 1.2vw) !important; | ||
} | } | ||
Line 38: | Line 38: | ||
} | } | ||
/* Hide mobile navigation */ | |||
.cosmos-mobile-navigation { | |||
display: none !important; | |||
} | |||
} | } | ||
Revision as of 12:55, 26 November 2024
.patreon-banner { display: block; height: auto; width: auto; margin: 0px auto; margin-bottom: 18px; text-align: center; background: #1a1a1a; } /* Desktop base rules */ .infobox { float: right; clear: right; margin: 0.5em 0 1em 1em; width: 300px; } /* Mobile responsive rules */ @media (max-width: 850px) { .infobox { float: none !important; clear: both !important; margin: 0 auto 1em auto !important; width: 90vw !important; max-width: 640px !important; font-size: calc(14px + 1.2vw) !important; } .infobox img { width: 100% !important; height: auto !important; } /* Hide header */ .cosmos-header { display: none !important; } /* Hide mobile navigation */ .cosmos-mobile-navigation { display: none !important; } } /* Hide categories */ #catlinks { display: none !important; } /* Hide header categories */ .page-header__categories { display: none !important; } /* Hide edit section */ .mw-editsection { display: none !important; } /* Hide discussion button */ #ca-talk { display: none !important; } /* Hide view source button */ #ca-viewsource { display: none !important; } /* Hide navigation */ .wds-tabs { display: none !important; } /* Hide user options */ #cosmos-banner-userOptions { display: none !important; }