Arnabs/vector.css: Difference between revisions
(Created page with " →** Logo properties: #p-logo { top: -160px; left: 0; position: absolute; →needed to use z-index: z-index: 3; height: 155px; width: 9.8em; overflow: visible; } ...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="portal" id="p-navigation"> | |||
<h5>1</h5> | |||
<div class="body"> | |||
<ul> | |||
<li id="n-mainpage"><a href="/wiki/Main_Page" title="Visit the main page [alt-shift-z]" accesskey="z">2</a></li> | |||
<li id="n-aboutsite"><a href="/wiki/Vanipedia:About">3</a></li> | |||
<li id="n-help"><a href="/wiki/Help:Contents" title="The place to find out">4 & tutorials</a></li> | |||
<li id="n-Contact-us"><a href="/wiki/Vanipedia:Contact">5</a></li> | |||
<li id="n-Donations"><a href="/wiki/Donations">6</a></li> | |||
<li id="n-Vaniseva"><a href="/wiki/Vaniseva">7</a></li> | |||
</ul> | |||
</div> | |||
</div> | |||
/* | /* | ||
** Logo properties | ** Logo properties | ||
*/ | */ | ||
#p-logo { | #p-logo { | ||
top: - | top: -165px; | ||
left: 0; | left: 0; | ||
position: absolute; /*needed to use z-index */ | position: absolute; /*needed to use z-index */ | ||
z-index: 3; | z-index: 3; | ||
height: | height: 190px; | ||
width: 9.8em; | width: 9.8em; | ||
overflow: visible; | overflow: visible; | ||
Line 19: | Line 37: | ||
#p-logo a:hover { | #p-logo a:hover { | ||
display: block; | display: block; | ||
height: | height: 190px; | ||
width: 9.8em; | width: 9.8em; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 25: | Line 43: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
/* ******************************* End of Logo *********************************************************** */ | |||
/* Panel */ | |||
div#mw-panel { | |||
position: absolute; | |||
top: 160px; | |||
padding-top: 3em; | |||
width: 10em; | |||
left: 0; | |||
} |
Latest revision as of 10:02, 23 July 2013
<div class="portal" id="p-navigation"> <h5>1</h5> <div class="body"> <ul> <li id="n-mainpage"><a href="/wiki/Main_Page" title="Visit the main page [alt-shift-z]" accesskey="z">2</a></li> <li id="n-aboutsite"><a href="/wiki/Vanipedia:About">3</a></li> <li id="n-help"><a href="/wiki/Help:Contents" title="The place to find out">4 & tutorials</a></li> <li id="n-Contact-us"><a href="/wiki/Vanipedia:Contact">5</a></li> <li id="n-Donations"><a href="/wiki/Donations">6</a></li> <li id="n-Vaniseva"><a href="/wiki/Vaniseva">7</a></li> </ul> </div> </div> /* ** Logo properties */ #p-logo { top: -165px; left: 0; position: absolute; /*needed to use z-index */ z-index: 3; height: 190px; width: 9.8em; overflow: visible; } #p-logo h5 { display: none; } #p-logo a, #p-logo a:hover { display: block; height: 190px; width: 9.8em; background-repeat: no-repeat; background-position: 35% 50% !important; text-decoration: none; } /* ******************************* End of Logo *********************************************************** */ /* Panel */ div#mw-panel { position: absolute; top: 160px; padding-top: 3em; width: 10em; left: 0; }