MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 7: | Line 7: | ||
#left-navigation { | #left-navigation { | ||
margin-left: 16em !important; | margin-left: 16em !important; | ||
} | |||
/* Hide the left panel on small screens */ | |||
@media screen and (max-width: 800px) { | |||
/* Hide the entire sidebar */ | |||
#mw-panel { | |||
display: none; | |||
} | |||
/* Adjust the content area to take full width */ | |||
#content { | |||
margin-left: 0; | |||
} | |||
/* Adjust the search box positioning if necessary */ | |||
#p-search { | |||
margin-left: 0; | |||
} | |||
} | } |
Revision as of 18:39, 8 August 2024
/* All CSS here will be loaded for users of the Vector skin */ #content { margin-left: 16em !important; } #left-navigation { margin-left: 16em !important; } /* Hide the left panel on small screens */ @media screen and (max-width: 800px) { /* Hide the entire sidebar */ #mw-panel { display: none; } /* Adjust the content area to take full width */ #content { margin-left: 0; } /* Adjust the search box positioning if necessary */ #p-search { margin-left: 0; } }