Difference between revisions of "MediaWiki:Common.css"

From Ivoire
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
#ca-nstab-main { display: none !important; } /*Page Tab*/
 
#ca-nstab-main { display: none !important; } /*Page Tab*/
  
 +
#ca-talk { display: none !important; } /*Diskussion Tab*/
 +
 +
#ca-watch { display: none !important; } /*Remove watchlist*/
 +
 +
#ca-unwatch { display: none !important; } /*Remove watchlist*/
 +
 +
#ca-history { display: none !important;} /*Remove history*/
 +
 +
#pt-anonuserpage { display: none!important; } /*Hide userpage */
 +
 +
#pt-anontalk { display: none!important; }/*Hide talk button*/
  
#ca-talk { display: none !important; } /*Diskussion Tab*/
+
#pt-mytalk { display: none!important; }  /*hide personal talk*/
 +
 
 +
#pt-createaccount { display: none!important; } /*Hide create account*/
 +
 
 +
#pt-preferences { display: none!important; } /*Hide preferences*/
 +
 
 +
#pt-watchlist { display: none!important; } /*Hide watchlist*/
 +
 
 +
#pt-mycontris { display: none!important; }  /*Hide contributions*/
 +
 
 +
#footer-places-privacy { display: none; } /*Removes privacy policy*/
 +
 
 +
#footer-places-disclaimer { display: none; } /*Removes privacy policy*/
 +
 
 +
#ca-viewsource  { display: none; } /*Removes source tab*/
 +
 
 +
#ca-view { display: none; } /*Removes read tab*/
 +
 
 +
#p-tb { display: none; } /*Removes tools tab*/
 +
 
 +
<!-- No hide tools menu tab for anonymous users -->
 +
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 +
      <style type="text/css">
 +
        #p-tb { display: none; }
 +
      </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 } ?>
 +
 
 +
<!-- No page tab for anonymous users -->
 +
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 +
      <style type="text/css">
 +
        #ca-view { display: none !important; }
 +
      </style>
 +
    <?php } ?>

Latest revision as of 13:43, 29 November 2021

/* CSS placed here will be applied to all skins */

#footer-poweredbyico { display: none; } /*Remove media wiki logo*/

#ca-nstab-main { display: none !important; } /*Page Tab*/

#ca-talk { display: none !important; } /*Diskussion Tab*/

#ca-watch { display: none !important; } /*Remove watchlist*/

#ca-unwatch { display: none !important; } /*Remove watchlist*/

#ca-history { display: none !important;} /*Remove history*/

#pt-anonuserpage { display: none!important; } /*Hide userpage */

#pt-anontalk { display: none!important; }/*Hide talk button*/

#pt-mytalk { display: none!important; }  /*hide personal talk*/

#pt-createaccount { display: none!important; } /*Hide create account*/

#pt-preferences { display: none!important; } /*Hide preferences*/

#pt-watchlist { display: none!important; } /*Hide watchlist*/

#pt-mycontris { display: none!important; }  /*Hide contributions*/

#footer-places-privacy { display: none; } /*Removes privacy policy*/

#footer-places-disclaimer { display: none; } /*Removes privacy policy*/

#ca-viewsource  { display: none; } /*Removes source tab*/

#ca-view { display: none; } /*Removes read tab*/

#p-tb { display: none; } /*Removes tools tab*/

<!-- No hide tools menu tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
      <style type="text/css">
        #p-tb { display: none; } 
      </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 } ?>

<!-- No page tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
      <style type="text/css">
        #ca-view { display: none !important; }
      </style> 
    <?php } ?>