Browse Source

Fix doc toc for small screens

Only make the toc fixed position for big screens.
v0.7.4-release
Felix Geisendörfer 15 years ago
committed by Ryan Dahl
parent
commit
b544185bd8
  1. 3
      doc/pipe.css

3
doc/pipe.css

@ -11,13 +11,14 @@ img {
padding: 5em 0;
}
#toc {
position: fixed;
position: absolute;
top: 2em;
left: 0;
width: 8em;
font-size: 12pt;
line-height: 150%;
}
@media all and (min-height: 650px) { #toc { position: fixed; }}
#toctitle {
display: none;
}

Loading…
Cancel
Save