MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 19: | Line 19: | ||
} | } | ||
/* | /* === Force desktop view even on mobile === */ | ||
html { | |||
zoom: 1 !important; | |||
} | |||
body, .mw-body { | |||
font-size: 16px !important; | |||
line-height: 1.6; | |||
-webkit-text-size-adjust: none !important; | |||
} | |||
/* Optional: force fixed width layout for all screens */ | |||
#content, | |||
#bodyContent, | |||
.mw-body, | |||
.mw-content-ltr { | |||
width: 1024px; | |||
margin: 0 auto; | |||
padding: 20px; | |||
box-sizing: border-box; | |||
} | |||
/* Prevent responsive collapsing of sidebar/navigation */ | |||
#mw-head-base, | |||
#mw-panel, | |||
#mw-navigation, | |||
.vector-menu-portal { | |||
display: block !important; | |||
} | } | ||
/* Logo scaling */ | |||
/* | .mainpage-logo img { | ||
width: auto; | |||
height: auto; | |||
max-width: 100%; | |||
} | } |
Revision as of 16:49, 19 May 2025
/* CSS placed here will be applied to all skins */ /* Center and style the main page logo */ .mainpage-logo { text-align: center; margin: 20px 0; } .mainpage-logo img { max-width: 100%; height: auto; } /* Responsive tables */ table { width: 100%; overflow-x: auto; display: block; } /* === Force desktop view even on mobile === */ html { zoom: 1 !important; } body, .mw-body { font-size: 16px !important; line-height: 1.6; -webkit-text-size-adjust: none !important; } /* Optional: force fixed width layout for all screens */ #content, #bodyContent, .mw-body, .mw-content-ltr { width: 1024px; margin: 0 auto; padding: 20px; box-sizing: border-box; } /* Prevent responsive collapsing of sidebar/navigation */ #mw-head-base, #mw-panel, #mw-navigation, .vector-menu-portal { display: block !important; } /* Logo scaling */ .mainpage-logo img { width: auto; height: auto; max-width: 100%; }