8 Commits

Author SHA1 Message Date
Martin
27d1950183 Show text before fonts are loaded. (#32)
Using `font-display: swap;` allows the browser to show the text
with another font before the webfonts are loaded. This makes the
loading time feel faster as you can already start reading instead
of looking at an empty website till the fonts are loaded.
See: https://fontsplugin.com/google-fonts-font-display-swap/
2019-11-27 23:57:13 +08:00
Kamil Wylegala
4c627e84b6 Wider margin for list entries. (#30) 2019-05-01 12:23:34 +08:00
Carson Ip
ae499bcc09 Fix missing page number in mobile view
Fix #15
2018-05-23 22:04:57 +08:00
Carson Ip
50239d2fe8 Add spacing between TOC items 2017-03-02 16:11:37 +01:00
Kaushal Modi
c847bc4946 Don't hardcode the TOC max height
This commit prevents the combination of extra whitespace below the TOC and
scrollbars to the TOC.
2017-02-26 15:27:53 -05:00
Carson Ip
3763502f15 Add smart toc
Smart table of contents will highlight and expand current section

Fix #1
2017-02-25 18:51:02 +01:00
Carson Ip
59fb3beed6 Fix fonts 2017-02-20 21:21:48 +01:00
Carson Ip
c835fdf95e Fix gitignore 2017-02-19 14:15:17 +01:00