summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-07-01 14:04:44 +0200
committerGravatar Tom Willemsen2012-07-01 14:04:44 +0200
commit7fa6c1d1596192e59419731e8b84d22473e5e902 (patch)
tree90e98341e24d1f2522827d023daa1a0501012443
parenta63547e7c46ba79c175547e5c72eaeeb44533c0b (diff)
downloadorgweb-7fa6c1d1596192e59419731e8b84d22473e5e902.tar.gz
orgweb-7fa6c1d1596192e59419731e8b84d22473e5e902.zip
Make the table of contents float
-rw-r--r--site/stylesheet.css11
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 {