Difference between revisions of "MediaWiki:Vector.css"
Jump to navigation
Jump to search
(Blanked the page) (Tag: Blanking) |
(Tag: Undo) |
||
Line 1: | Line 1: | ||
+ | /* CSS placed here will affect users of the Vector skin */ | ||
+ | /** Hide sidebar **/ | ||
+ | #mw-panel { display: none !important; } | ||
+ | |||
+ | #p-sitelogo img { margin-top: -21px; } | ||
+ | |||
+ | .mw-body { margin-left: 0 !important; } | ||
+ | #left-navigation { margin-left: 0 !important; } | ||
+ | #footer { margin-left: 0 !important; } | ||
+ | |||
+ | /** Mobile-like Collapsible **/ | ||
+ | |||
+ | .mw-editsection { position: absolute; z-index: 9999; } | ||
+ | .mw-collapsible { position: relative; } | ||
+ | .mw-collapsible-headline { padding-left: 1em; } | ||
+ | .mw-collapsible-toggle { position: absolute; text-align: right; margin-top: -17px; width: 100%; z-index: 9998; } | ||
+ | .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { content: '\25BC'; font-size: 20px; position: absolute; left: 0px; top: -20px; } | ||
+ | .mw-collapsible-toggle.mw-collapsible-toggle-expanded:before { content: '\25B2'; font-size: 20px; position: absolute; left: 0px; top: -20px; } |
Revision as of 20:25, 6 March 2019
/* CSS placed here will affect users of the Vector skin */ /** Hide sidebar **/ #mw-panel { display: none !important; } #p-sitelogo img { margin-top: -21px; } .mw-body { margin-left: 0 !important; } #left-navigation { margin-left: 0 !important; } #footer { margin-left: 0 !important; } /** Mobile-like Collapsible **/ .mw-editsection { position: absolute; z-index: 9999; } .mw-collapsible { position: relative; } .mw-collapsible-headline { padding-left: 1em; } .mw-collapsible-toggle { position: absolute; text-align: right; margin-top: -17px; width: 100%; z-index: 9998; } .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { content: '\25BC'; font-size: 20px; position: absolute; left: 0px; top: -20px; } .mw-collapsible-toggle.mw-collapsible-toggle-expanded:before { content: '\25B2'; font-size: 20px; position: absolute; left: 0px; top: -20px; }