Difference between revisions of "MediaWiki:Common.css"
From The Viking Age Compendium
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#ca-history { display:none!important; } | #ca-history { display:none!important; } | ||
Line 22: | Line 10: | ||
#ca-history { display: none !important; } | #ca-history { display: none !important; } | ||
</style> | </style> | ||
− | <?php } ?> | + | <?php } ?> |
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> | <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> | ||
Line 28: | Line 16: | ||
#ca-history { display:none!important; } | #ca-history { display:none!important; } | ||
</style> | </style> | ||
− | <?php } ?> | + | <?php } ?> */ |
+ | |||
+ | |||
+ | /*For HarvardReferences extension leave at end */ | ||
+ | .harvVisitedLink { | ||
+ | background-color: #AAAAAA; | ||
+ | } | ||
+ | .harvReferenceLink { | ||
+ | background-color: #FFFF00; | ||
+ | } | ||
+ | .harvNone { | ||
+ | background-color: inherit; | ||
+ | } | ||
+ | .harvBackground { | ||
+ | background-color: #DDEEFF; | ||
+ | } |
Revision as of 19:19, 8 August 2012
/* CSS placed here will be applied to all skins */ #ca-history { display:none!important; } /* No [history] tab for anonymous users <?php global $wgUser; if( $wgUser->isAnon() ) { ?> <style type="text/css"> #ca-history { display: none !important; } </style> <?php } ?> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-history { display:none!important; } </style> <?php } ?> */ /*For HarvardReferences extension leave at end */ .harvVisitedLink { background-color: #AAAAAA; } .harvReferenceLink { background-color: #FFFF00; } .harvNone { background-color: inherit; } .harvBackground { background-color: #DDEEFF; }