Difference between revisions of "MediaWiki:Common.css"

 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
/* hide the "Retrieved from" message */
 +
.printfooter { display: none; }
  
<!-- No [view source] tab for anonymous users -->
+
body.page-Main_Page.action-view #siteSub,
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
+
body.page-Main_Page.action-submit #siteSub {
      <style type="text/css">
+
     display: none;
        #ca-viewsource { display: none !important; }
+
}
      </style>
 
     <?php } ?>
 
 
 
<!-- No [edit] tab for anonymous users -->
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 
      <style type="text/css">
 
        #ca-edit { display: none !important; }
 
      </style>
 
    <?php } ?>
 

Latest revision as of 20:44, 9 December 2020

/* CSS placed here will be applied to all skins */
/* hide the "Retrieved from" message */
.printfooter { display: none; }

body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
    display: none;
}