MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* ======================================================================== | ||
In the left sidebar (#mw-panel): hide all its contents... | |||
display: none; | ======================================================================== */ | ||
#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; | |||
/* | } | ||
/ | #p-personal > * { | ||
display: none !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 15:17, 11 April 2025
/* CSS placed here will be applied to all skins */
/* ========================================================================
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;
}
#p-personal > * {
display: none !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;
}