MediaWiki:Chameleon.css: Difference between revisions
From DFO – Flood Observatory
DFO Kettner (talk | contribs) Created page with "#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; }" |
DFO Kettner (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/*Add top banner*/ | |||
#mw-navigation { | |||
background-image: url(images/DFObanner.png); | |||
background-color: #333333; | |||
background-attachment: fixed; | |||
text-indent:-9999px; | |||
background-size: 241px 75px, 100%; | |||
// background-position: 0% 0%, 50% -2em; | |||
background-position: 0% 0%, 0% -0.5em; | |||
background-repeat: no-repeat; | |||
background-origin: content-box; | |||
height:140px; | |||
} | |||
/*Import home symbol to navigation bar*/ | |||
#p-logo { | #p-logo { | ||
background-position: 0.1em -0.1em; | background-position: 0.1em -0.1em; | ||
Revision as of 13:11, 28 October 2025
/*Add top banner*/
#mw-navigation {
background-image: url(images/DFObanner.png);
background-color: #333333;
background-attachment: fixed;
text-indent:-9999px;
background-size: 241px 75px, 100%;
// background-position: 0% 0%, 50% -2em;
background-position: 0% 0%, 0% -0.5em;
background-repeat: no-repeat;
background-origin: content-box;
height:140px;
}
/*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;
}