858 B
858 B
Styling Tickle
Tickle's CSS is kept very simple on purpose. It matches elements, rather than classes, because that's less clutter.
If you just want to change the color scheme and fonts, you have css variables in the :root
selector, which you can use for that.
If you want to add more styles, or edit styles, be aware that:
- Modalities of the page are handled through toggling classes on the
body
element. Those modalities are:is-loading
: for when the loading overlay is shownmenu-is-open
: for when the menu and overlay are openis-source-enabled
: for when the markdown source is shown
- The navigation burger button becomes the open menu overlay. That saves an element and is neat, but it means that if you have transitions on your button, you'll get strange flashes as the button stretches and cover the entire page.