Difference between revisions of "MediaWiki:Common.css"
From Vanderbilt Computational Memory Lab
(Hide Discussion, History tabs) |
(Hide View Source tab) |
||
| Line 4: | Line 4: | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
| − | + | / * Hide tabs on all pages */ | |
| − | #ca-talk { display:none!important; } | + | #ca-talk { display:none!important; } /* Discussion */ |
| − | #ca-history { display:none!important; } | + | #ca-history { display:none!important; } / * View history */ |
| + | #ca-viewsource { display:none!important; } /* View source */ | ||
/* Remove a tab on only one page */ | /* Remove a tab on only one page */ | ||
/* body.page-Main_Page li#ca-talk { display: none !important; } */ | /* body.page-Main_Page li#ca-talk { display: none !important; } */ | ||
Revision as of 18:58, 2 September 2016
/* CSS placed here will be applied to all skins */
/* Removes 'Main Page' title */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/ * Hide tabs on all pages */
#ca-talk { display:none!important; } /* Discussion */
#ca-history { display:none!important; } / * View history */
#ca-viewsource { display:none!important; } /* View source */
/* Remove a tab on only one page */
/* body.page-Main_Page li#ca-talk { display: none !important; } */