Difference between revisions of "MediaWiki:Common.css"

From Basin Wiki
Jump to navigation Jump to search
(Removed redundant collapsible table code, added Navigation and Guild Wars 2 customizations code, as requested by Antitrust)
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
@import url('http://wiki.theamazonbasin.com/index.php?title=MediaWiki:GW2.css&action=raw&ctype=text/css');
  
 
#p-logo {background-image: url(//wiki.theamazonbasin.com/images/5/5b/Amazon_Basin_logo.png) !important;}
 
#p-logo {background-image: url(//wiki.theamazonbasin.com/images/5/5b/Amazon_Basin_logo.png) !important;}
  
 
/* Navigation */
 
/* Navigation */
nav1 {  
+
.nav1 {  
    position:relative;
+
    position:relative;
 
}  
 
}  
  
nav1 div{  
+
.nav1 div{  
    display:none;  
+
    display:none;  
 
}
 
}
  
nav1:hover div{  
+
.nav1:hover div{  
    display:block;
+
    display:block;
    position:absolute;
+
    position:absolute;
 
}
 
}
  
/* Guild Wars 2 customizations */
+
/* Allows replacing the default blue link color with black */
gw2bg1 {
+
.blacklink a, .blacklink a:hover {
    background: transparent url(http://wiki.theamazonbasin.com/images/9/92/GW2_bg1.jpg) left repeat-y;
+
    color: black !important;
}
 
 
 
gw2bg2 {
 
    background: transparent url(http://wiki.theamazonbasin.com/images/e/e0/GW2_navbarbg.png);
 
}
 
 
 
gw2bg3 {
 
    background: transparent url(http://wiki.theamazonbasin.com/images/c/c1/Transp_rect.png);
 
 
}
 
}

Latest revision as of 10:42, 17 March 2013

/* CSS placed here will be applied to all skins */
@import url('http://wiki.theamazonbasin.com/index.php?title=MediaWiki:GW2.css&action=raw&ctype=text/css');

#p-logo {background-image: url(//wiki.theamazonbasin.com/images/5/5b/Amazon_Basin_logo.png) !important;}

/* Navigation */
.nav1 { 
     position:relative;
} 

.nav1 div{ 
     display:none; 
}

.nav1:hover div{ 
     display:block;
     position:absolute;
}

/* Allows replacing the default blue link color with black */
.blacklink a, .blacklink a:hover {
     color: black !important;
}