MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Logo styling fix for mobile */ | ||
#p-logo { | #p-logo { | ||
z-index: 1; | |||
position: relative; | |||
margin-top: 0; | |||
margin-top: | |||
} | } | ||
#p-logo a { | /* Hide overlapping issues on small screens */ | ||
@media screen and (max-width: 768px) { | |||
#p-logo { | |||
max-width: 100px; | |||
max-height: 40px; | |||
overflow: hidden; | |||
margin-left: 10px; | |||
} | |||
#p-logo a, | |||
#p-logo a img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
/* Adjust header if needed */ | |||
#mw-panel { | |||
padding-top: 60px; /* Push menu down */ | |||
} | |||
} | } |
Revision as of 09:19, 23 April 2025
/* Logo styling fix for mobile */ #p-logo { z-index: 1; position: relative; margin-top: 0; } /* Hide overlapping issues on small screens */ @media screen and (max-width: 768px) { #p-logo { max-width: 100px; max-height: 40px; overflow: hidden; margin-left: 10px; } #p-logo a, #p-logo a img { max-width: 100%; height: auto; } /* Adjust header if needed */ #mw-panel { padding-top: 60px; /* Push menu down */ } }