Make the table of contents float
This commit is contained in:
parent
a63547e7c4
commit
7fa6c1d159
1 changed files with 6 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue