Difference between revisions of "MediaWiki:Common.css"

From Basin Wiki
Jump to navigation Jump to search
m (Undo revision 52132 by Onderduiker (talk))
(Removed redundant collapsible table code, added Navigation and Guild Wars 2 customizations code, as requested by Antitrust)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
table.collapsed tr.collapsable {
+
 
display: none;
+
#p-logo {background-image: url(//wiki.theamazonbasin.com/images/5/5b/Amazon_Basin_logo.png) !important;}
 +
 
 +
/* Navigation */
 +
nav1 {
 +
    position:relative;
 +
}
 +
 
 +
nav1 div{  
 +
    display:none;  
 
}
 
}
+
 
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
+
nav1:hover div{  
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
+
    display:block;
font-weight: normal; /* are styled here so they can be customised.   */
+
    position:absolute;
text-align: right;
 
width: auto;
 
 
}
 
}
  
#p-logo {background-image: url(//wiki.theamazonbasin.com/images/5/5b/Amazon_Basin_logo.png) !important;}
+
/* Guild Wars 2 customizations */
 +
gw2bg1 {
 +
    background: transparent url(http://wiki.theamazonbasin.com/images/9/92/GW2_bg1.jpg) left repeat-y;
 +
}
 +
 
 +
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);
 +
}

Revision as of 12:42, 10 October 2012

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

#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;
}

/* Guild Wars 2 customizations */
gw2bg1 {
    background: transparent url(http://wiki.theamazonbasin.com/images/9/92/GW2_bg1.jpg) left repeat-y;
}

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);
}