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 {
|
#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 {
|
||||||
|
|
Loading…
Reference in a new issue