diff options
author | Tom Willemsen | 2012-07-01 14:04:44 +0200 |
---|---|---|
committer | Tom Willemsen | 2012-07-01 14:04:44 +0200 |
commit | 7fa6c1d1596192e59419731e8b84d22473e5e902 (patch) | |
tree | 90e98341e24d1f2522827d023daa1a0501012443 /site | |
parent | a63547e7c46ba79c175547e5c72eaeeb44533c0b (diff) | |
download | orgweb-7fa6c1d1596192e59419731e8b84d22473e5e902.tar.gz orgweb-7fa6c1d1596192e59419731e8b84d22473e5e902.zip |
Make the table of contents float
Diffstat (limited to 'site')
-rw-r--r-- | site/stylesheet.css | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/site/stylesheet.css b/site/stylesheet.css index 8769763..6f9a01d 100644 --- a/site/stylesheet.css +++ b/site/stylesheet.css @@ -107,20 +107,21 @@ pre { } #table-of-contents { - position: absolute; - top: 0; - left: 20px; - overflow: auto; + position: fixed; + top: 16px; + right: 0; background-color: #262a2b; + overflow: auto; + max-height: 80%; } #table-of-contents h2 { font-size: medium; + margin-top: 0; } #table-of-contents:hover #text-table-of-contents { display: block; - border: 1px #000000 solid; } #text-table-of-contents { |