User:Iritscen/vector.css: Difference between revisions
Jump to navigation
Jump to search
(carrying over XEB customization from Monobook) |
(um, yeah; let's try adding CSS to a CSS page instead of Javascript; carrying over changes from my monobook.css) |
||
Line 1: | Line 1: | ||
// | /* Fix the sidebar in place when scrolling */ | ||
div[id=column-one] /* using the attribute selector hides this from IE */ | |||
/ | |||
{ | { | ||
position: fixed; | |||
height: 100%; /* if you shrink the browser too small, the side column will */ | |||
overflow: auto; /* become scrollable, so stuff is always accessible, albeit ugly */ | |||
z-index: 2; | |||
} | |||
/* Fix the footer so it looks nice and doesn't overlap the sidebar */ | |||
#footer | |||
{ | |||
} | margin-left: 13.6em; | ||
border-left: solid 1px rgb(250, 189, 35); | |||
} |
Revision as of 14:46, 5 May 2012
/* Fix the sidebar in place when scrolling */ div[id=column-one] /* using the attribute selector hides this from IE */ { position: fixed; height: 100%; /* if you shrink the browser too small, the side column will */ overflow: auto; /* become scrollable, so stuff is always accessible, albeit ugly */ z-index: 2; } /* Fix the footer so it looks nice and doesn't overlap the sidebar */ #footer { margin-left: 13.6em; border-left: solid 1px rgb(250, 189, 35); }