Difference between revisions of "User:Hayaku/common.css"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
/* even out gaps on the sides of main menu */ | |||
div#mw-panel { | div#mw-panel { | ||
margin-left: 1em; | margin-left: 1em; | ||
} | } | ||
/* mobile/small screen tweaks */ | |||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
/* remove gaps on the sides to make more area for content */ | |||
div#mw-panel { | div#mw-panel { | ||
margin-left: 0; | margin-left: 0; | ||
Line 13: | Line 16: | ||
margin-left: 14em !important; | margin-left: 14em !important; | ||
} | } | ||
} | |||
/* personal tweaks to the main menu, you can use them still if you want */ | |||
.vector-menu-portal { | |||
margin: 0; | |||
padding: 0; | |||
} | } |
Revision as of 22:21, 27 July 2022
/* even out gaps on the sides of main menu */ div#mw-panel { margin-left: 1em; } /* mobile/small screen tweaks */ @media screen and (max-width: 720px) { /* remove gaps on the sides to make more area for content */ div#mw-panel { margin-left: 0; } div#content { margin-right: 0; margin-left: 14em; } #left-navigation { margin-left: 14em !important; } } /* personal tweaks to the main menu, you can use them still if you want */ .vector-menu-portal { margin: 0; padding: 0; }