comparison templates/static/style-paper.css @ 7313:15981c8f6cf1

paper: don't keep the menu affixed to the top This makes scrolling slow and causes browsers to use a lot of CPU time.
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 05 Nov 2008 09:42:52 +0100
parents 288dda59233c
children a0843c82d1a2
comparison
equal deleted inserted replaced
7312:82f80c16fc16 7313:15981c8f6cf1
27 .menu { 27 .menu {
28 width: 90px; 28 width: 90px;
29 margin: 0; 29 margin: 0;
30 font-size: 80%; 30 font-size: 80%;
31 text-align: left; 31 text-align: left;
32 position: fixed; 32 position: absolute;
33 top: 20px; 33 top: 20px;
34 left: 20px; 34 left: 20px;
35 right: auto; 35 right: auto;
36 }
37
38 #.menu {
39 position: absolute !important;
40 top:expression(eval(document.body.scrollTop + 27));
41 } 36 }
42 37
43 .menu ul { 38 .menu ul {
44 list-style: none; 39 list-style: none;
45 padding: 0; 40 padding: 0;