Difference between revisions of "MediaWiki:Common.css"

From The Viking Age Compendium
Jump to: navigation, search
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; }
  
/*  No [history] tab for anonymous users
+
/*For HarvardReferences extension*/
<?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 {  
 
.harvVisitedLink {  
        background-color: #AAAAAA;
+
background-color: #AAAAAA;
 
}
 
}
 
.harvReferenceLink {  
 
.harvReferenceLink {  
        background-color: #FFFF00;
+
background-color: #FFFF00;
 
}
 
}
 
.harvNone {  
 
.harvNone {  
        background-color: inherit;
+
background-color: inherit;
 
}
 
}
 
.harvBackground {  
 
.harvBackground {  
        background-color: #DDEEFF;
+
background-color: #DDEEFF;
 
}
 
}

Revision as of 19:37, 8 August 2012

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

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

/*For HarvardReferences extension*/
.harvVisitedLink { 
	background-color: #AAAAAA;
}
.harvReferenceLink { 
	background-color: #FFFF00;
}
.harvNone { 
	background-color: inherit;
}
.harvBackground { 
	background-color: #DDEEFF;
}