Make the table of contents float

This commit is contained in:
Tom Willemsen 2012-07-01 14:04:44 +02:00
parent a63547e7c4
commit 7fa6c1d159

View file

@ -107,20 +107,21 @@ pre {
} }
#table-of-contents { #table-of-contents {
position: absolute; position: fixed;
top: 0; top: 16px;
left: 20px; right: 0;
overflow: auto;
background-color: #262a2b; background-color: #262a2b;
overflow: auto;
max-height: 80%;
} }
#table-of-contents h2 { #table-of-contents h2 {
font-size: medium; font-size: medium;
margin-top: 0;
} }
#table-of-contents:hover #text-table-of-contents { #table-of-contents:hover #text-table-of-contents {
display: block; display: block;
border: 1px #000000 solid;
} }
#text-table-of-contents { #text-table-of-contents {