User:Iritscen/vector.css: Difference between revisions
Jump to navigation
Jump to search
(blanking; is this doing anything?) |
(okay, it still works, putting back) |
||
Line 1: | Line 1: | ||
/* Fix the sidebar in place when scrolling */ | |||
div#mw-panel | |||
{ | |||
position: fixed; | |||
height: 100%; | |||
/* Prevent content overlay when sidewards scrolling */ | |||
background-color: #F6F6F6; | |||
border-right: 1px solid #A7D7F9; | |||
} | |||
/* Prevent sidewards scrolling in pre elements */ | |||
pre | |||
{ | |||
overflow: auto; | |||
max-height: 25em; | |||
} |
Revision as of 01:21, 3 November 2012
/* Fix the sidebar in place when scrolling */ div#mw-panel { position: fixed; height: 100%; /* Prevent content overlay when sidewards scrolling */ background-color: #F6F6F6; border-right: 1px solid #A7D7F9; } /* Prevent sidewards scrolling in pre elements */ pre { overflow: auto; max-height: 25em; }