MediaWiki:Chameleon.css: Difference between revisions

From DFO – Flood Observatory
No edit summary
No edit summary
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*Add top banner*/
/*Add top banner*/
#mw-navigation {
#mw-navigation {
   background-image: url(images/DFObanner.png);
   background-image: url(images/Logo-rebuild_horizontal3.png), url(images/satellite.png), url(images/DFObanner2.png);
   background-color: #333333;
   background-color: #333333;
   background-attachment: fixed;
   background-attachment: fixed;
   text-indent:-9999px;
   text-indent:-9999px;
   background-size: 241px 75px, 100%;
   background-size: 400px, 100px, 100% 200px;
   background-position: 0% 0%, 0% -0.5em;
   background-position: 20px 20px, calc(100% - 50px) 20px, 0% -0.5em;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-origin: content-box;
   background-origin: content-box;
   height:140px;
   height:200px;
}
}
#mw-navigation:hover {
/*#mw-navigation:hover {
   background-image: url(skins/common/CSDMS_high_res2.png), url(skins/common/CSDMSbanner3.png);
   background-image: url(images/DFObanner.png), url(skins/common/CSDMSbanner3.png);
   background-color: #333333;
   background-color: #333333;
   background-attachment: fixed;
   background-attachment: fixed;
Line 20: Line 20:
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-origin: content-box;
   background-origin: content-box;
   height:70px;
   height:200px;
}
}*/
 
/*Import home symbol to navigation bar*/
/*Import home symbol to navigation bar*/
#p-logo {
#p-logo {
Line 35: Line 36:
background-size: 35px 32px;
background-size: 35px 32px;
}
}
/* Make it possible to click on logo upper left corner, using fake text in Mediawiki:Secondary-menu */
/*#text-logo{
height:30px;
width: 100%;
// background-color:#dddddd;
filter:alpha(opacity=60);
opacity:0.6;
} */

Latest revision as of 12:28, 29 October 2025

/*Add top banner*/
#mw-navigation {
   background-image: url(images/Logo-rebuild_horizontal3.png), url(images/satellite.png), url(images/DFObanner2.png);
   background-color: #333333;
   background-attachment: fixed;
   text-indent:-9999px;
   background-size: 400px, 100px, 100% 200px;
   background-position: 20px 20px, calc(100% - 50px) 20px, 0% -0.5em;
   background-repeat: no-repeat;
   background-origin: content-box;
   height:200px;
}
/*#mw-navigation:hover {
   background-image: url(images/DFObanner.png), url(skins/common/CSDMSbanner3.png);
   background-color: #333333;
   background-attachment: fixed;
   text-indent:-9999px;
   background-size: 241px 75px, 100%;
   background-position: 0% 0%, 0% -0.5em;
   background-repeat: no-repeat;
   background-origin: content-box;
   height:200px;
}*/

/*Import home symbol to navigation bar*/
#p-logo {
        background-position: 0.1em -0.1em;
        background-repeat: no-repeat;
        background-image: url(images/Home_icon2.png);
        background-size: 35px 32px;
}
#p-logo:hover {
        background-position: 0.1em -0.1em;
        background-repeat: no-repeat;
		background-image: url(images/Home_icon3.png);
		background-size: 35px 32px;
}

/* Make it possible to click on logo upper left corner, using fake text in Mediawiki:Secondary-menu */
/*#text-logo{
height:30px;
width: 100%;
// background-color:#dddddd;
filter:alpha(opacity=60);
opacity:0.6;
} */