User:Legaz/vector.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→You must retain the following four lines of code for any kind of customization I do!: body { height:100%; } →Hides navbar: div#mw-panel { visibility:visible; position:..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
div#mw-panel | |||
{ | |||
visibility:visible; | |||
position:fixed; | |||
resize:vertical; | |||
top:240px; | |||
div#mw-panel | left:-9.5em; | ||
{ | background-color:#E8E8E8; | ||
overflow-y:auto; | |||
overflow-x:hidden; | |||
z-index:2; | |||
height:22em; /*this number sets the height of your navigation bar. The higher the number, the higher the navigation bar. Make sure you have "em" to the right of the number. The the original value I set it was 22em.*/ | |||
} | |||
div#mw-panel div | |||
{ | |||
overflow:visible; | |||
resize:none; | |||
} | |||
div#mw-panel:hover | |||
{ | |||
left:0; | |||
} | } | ||
div#mw-panel div | div#p-logo | ||
{ | { | ||
position:fixed; | |||
left:-9.5em; | |||
top:80px; | |||
background-color:#E8E8E8; | |||
z-index:1 | |||
} | } | ||
div#mw-panel:hover | div#mw-panel:hover div#p-logo | ||
{ | { | ||
left:0em | |||
} | } | ||
div#p-logo | div#mw-head-base | ||
{ | { | ||
margin-left:10px; | |||
} | |||
div#content | |||
{ | |||
position:relative; | |||
left:10px; | |||
margin-left:0; | |||
} | |||
} | div#left-navigation | ||
div#mw-panel:hover div#p-logo | { | ||
{ | left:50px; | ||
} | |||
} | div#footer | ||
div#mw-head-base | { | ||
{ | margin-left:10px; | ||
} | |||
} | |||
div#content | |||
{ | |||
} | |||
div#left-navigation | |||
{ | |||
} | |||
div#footer | |||
{ | |||
} | |||
Latest revision as of 13:15, 27 September 2012
div#mw-panel
{
visibility:visible;
position:fixed;
resize:vertical;
top:240px;
left:-9.5em;
background-color:#E8E8E8;
overflow-y:auto;
overflow-x:hidden;
z-index:2;
height:22em; /*this number sets the height of your navigation bar. The higher the number, the higher the navigation bar. Make sure you have "em" to the right of the number. The the original value I set it was 22em.*/
}
div#mw-panel div
{
overflow:visible;
resize:none;
}
div#mw-panel:hover
{
left:0;
}
div#p-logo
{
position:fixed;
left:-9.5em;
top:80px;
background-color:#E8E8E8;
z-index:1
}
div#mw-panel:hover div#p-logo
{
left:0em
}
div#mw-head-base
{
margin-left:10px;
}
div#content
{
position:relative;
left:10px;
margin-left:0;
}
div#left-navigation
{
left:50px;
}
div#footer
{
margin-left:10px;
}