MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 13: | Line 13: | ||
/* Hide the entire sidebar */ | /* Hide the entire sidebar */ | ||
#mw-panel { | #mw-panel { | ||
display: none; | display: none !important; | ||
} | } | ||
/* Adjust the content area to take full width */ | /* Adjust the content area to take full width */ | ||
#content { | #content { | ||
margin-left: 0; | margin-left: 0 !important; | ||
} | } | ||
/* Adjust the search box positioning if necessary */ | /* Adjust the search box positioning if necessary */ | ||
#p-search { | #p-search { | ||
margin-left: 0; | margin-left: 0 !important; | ||
} | } | ||
} | } | ||
Revision as of 18:56, 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 !important;
}
/* Adjust the content area to take full width */
#content {
margin-left: 0 !important;
}
/* Adjust the search box positioning if necessary */
#p-search {
margin-left: 0 !important;
}
}