MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
Void Vector.css ; takes Common.css instead | Void Vector.css ; takes Common.css instead | ||
======================================================================== */ | ======================================================================== */ | ||
/* CSS placed here will be applied to all skins */ | |||
/* GOOD */ | |||
/* ======================================================================== | |||
In the left sidebar (#mw-panel): hide all its contents... | |||
======================================================================== */ | |||
#mw-panel { | |||
display: block !important; | |||
} | |||
#mw-panel > * { | |||
display: none !important; | |||
} | |||
/* Now, explicitly display the logo and the mainpage link */ | |||
#p-logo, | |||
#n-mainpage { | |||
display: block !important; | |||
} | |||
/* ======================================================================== | |||
In the personal tools (#p-personal): hide everything except the login link | |||
======================================================================== */ | |||
#p-personal { | |||
display: block !important; | |||
} | |||
#pt-login { | |||
display: inline-block !important; | |||
} | |||
/* ======================================================================== | |||
In the toolbox (#p-tb): hide everything except the print command | |||
======================================================================== */ | |||
#p-tb { | |||
display: block !important; | |||
} | |||
#p-tb > * { | |||
display: none !important; | |||
} | |||
#t-print { | |||
display: inline-block !important; | |||
} | |||
Revision as of 16:01, 11 April 2025
/* ========================================================================
Void Vector.css ; takes Common.css instead
======================================================================== */
/* CSS placed here will be applied to all skins */
/* GOOD */
/* ========================================================================
In the left sidebar (#mw-panel): hide all its contents...
======================================================================== */
#mw-panel {
display: block !important;
}
#mw-panel > * {
display: none !important;
}
/* Now, explicitly display the logo and the mainpage link */
#p-logo,
#n-mainpage {
display: block !important;
}
/* ========================================================================
In the personal tools (#p-personal): hide everything except the login link
======================================================================== */
#p-personal {
display: block !important;
}
#pt-login {
display: inline-block !important;
}
/* ========================================================================
In the toolbox (#p-tb): hide everything except the print command
======================================================================== */
#p-tb {
display: block !important;
}
#p-tb > * {
display: none !important;
}
#t-print {
display: inline-block !important;
}