Difference between revisions of "MediaWiki:Common.css"

From DMC Documentation

Line 2: Line 2:
 
<?php global $wgUser; if( $wgUser->isAllowed('edit') ) { ?>
 
<?php global $wgUser; if( $wgUser->isAllowed('edit') ) { ?>
 
<style type="text/css">
 
<style type="text/css">
 +
 +
</style>
 +
<?php } ?>
 
#ca-talk { display:none!important; }
 
#ca-talk { display:none!important; }
 
#ca-nstab-main { display:none!important; }
 
#ca-nstab-main { display:none!important; }
Line 7: Line 10:
 
#ca-history { display:none!important; }
 
#ca-history { display:none!important; }
 
#ca-watch { display: none !important; }
 
#ca-watch { display: none !important; }
</style>
 
<?php } ?>
 

Revision as of 13:05, 10 October 2020

/* CSS placed here will be applied to all skins */
<?php global $wgUser; if( $wgUser->isAllowed('edit') ) { ?>
<style type="text/css">

</style> 
<?php } ?>
#ca-talk { display:none!important; }
#ca-nstab-main { display:none!important; }
#ca-view { display:none!important; }
#ca-history { display:none!important; }
#ca-watch { display: none !important; }