Fix doc toc for small screens
Only make the toc fixed position for big screens.
This commit is contained in:
parent
1a9c9b0c55
commit
b544185bd8
@ -11,13 +11,14 @@ img {
|
|||||||
padding: 5em 0;
|
padding: 5em 0;
|
||||||
}
|
}
|
||||||
#toc {
|
#toc {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
top: 2em;
|
top: 2em;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 8em;
|
width: 8em;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
line-height: 150%;
|
line-height: 150%;
|
||||||
}
|
}
|
||||||
|
@media all and (min-height: 650px) { #toc { position: fixed; }}
|
||||||
#toctitle {
|
#toctitle {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user