Commit Graph

5 Commits

Author SHA1 Message Date
Philipp Oppermann
35c083122e Add function to automatically add/rm the coarse class
Based on viewport height. Automatically adjusted onresize.
2016-07-28 19:53:27 +02:00
Philipp Oppermann
46bb485621 Don't do anything if there's no #toc 2016-07-28 19:52:43 +02:00
Philipp Oppermann
226c0ccdfc Hide sublists of coarse in CSS instead of JS 2016-07-28 19:52:43 +02:00
Philipp Oppermann
05d74786f9 Move ToC initialization code into own js file 2016-07-17 16:44:45 +02:00
Philipp Oppermann
4000c990f0 Add and initialize toc.js 2016-07-17 16:23:13 +02:00