Dylan DPC
fd56a53e76
ui: improve menu folding ( #989 )
...
* ui: improve menu folding
Fold/unfold the menu bar just by the amount of scroll, not by its
full width
* refactor: use a variable for the menu bar height
* Fix menu scroll jittering, remove hover folding smoothness
Rewrite it to use `position:` `sticky` and `relative` instead
of continuous programmatic position changes
On-hover folding-unfolding transition removal is a side-effect
2020-03-06 01:11:37 +01:00
Sergey Pedan
0da7ba4abe
Corrects inner/outer space in sidebar <li>s ( #1137 )
2020-02-17 22:04:59 +01:00
Rostislav
820714a560
Use only relative font sizes ( #894 )
...
This replaces the only use of px for font-sizes by setting up a base
rem size on the root element in a way that is easy to calculate (1 rem =
10px) and scaling up according to browser settings.
2019-10-27 15:51:32 +01:00
Matthew Woodcraft
86a368b726
Introduce a --menu-bar-height CSS variable
2019-10-26 13:21:26 +01:00
Weihang Lo
6af6219e5b
[Feature] expandable sidebar sections (ToC collapse) ( #1027 )
...
* render(toc): render expandable toc toggle
* ui(toc): js/css logic to toggle toc
* test: update rendered output css selector
* config: add `html.fold.[enable|level]`
* renderer: fold according to configs
* doc: add `output.html.fold`
* refactor: tidy fold config
- Derive default for `Fold`.
- Use `is_empty` instead of checking the length of chapters.
2019-10-19 09:56:08 +02:00
Chris Ladd
859659f197
Fix inline code display css ( #1058 )
2019-10-07 09:24:35 +02:00
WofWca
1c5dc1e310
ui: Improve next/prev chapter links' style
2019-08-03 22:56:25 +08:00
Sorin Davidoi
e512850c13
fix(css/chrome): Use standard property for scrollbar ( #816 )
...
This was recently standardized and is currently implemented in Firefox Nightly.
2019-07-28 21:01:33 +02:00
Stefanie Jäger
ecfaed1e02
Change overflow-x to initial ( #818 )
...
Change overflow-x from auto to initial.
This resolves weird rendering behavior in Chrome and Safari on macOS.
With help from @bash
Co-authored-by: Ruben Schmidmeister <ruben.schmidmeister@icloud.com>
2019-05-08 00:30:28 +02:00
Eric Huss
dd69e03ff5
Fix color of `code spans` that are links.
2019-05-02 11:07:24 -07:00
Dylan DPC
357ebcf7ce
Merge pull request #849 from gentoo90/sidebar-resize
...
Add sidebar resize
2019-04-28 23:29:07 +02:00
gentoo90
3d8db7f25c
Disable text selection and CSS transition while resizing sidebar
2018-12-12 21:55:50 +02:00
gentoo90
3d37e24c14
Add sidebar resizing
2018-12-12 21:55:50 +02:00
Donald Pinckney
317c7731da
Remove extra comment
2018-11-28 20:07:37 -05:00
Donald Pinckney
4c17b11ed0
Fix #826
2018-11-28 20:05:37 -05:00
Jason Liquorish
599e47f1f1
Initial implementation of a git repository button
2018-10-13 12:17:33 +01:00
Matt Ickstadt
99019b74aa
Remove hit-test dead space between buttons
2018-07-30 19:03:29 -05:00
Matt Ickstadt
05f3c693a7
Ensure theme selection button is the full-width of the menu
2018-07-26 15:28:09 -05:00
Matt Ickstadt
e88970d172
Don't use CSS variables in media queries
...
since they don't work :'(
2018-07-26 15:28:09 -05:00
Matt Ickstadt
3119a7e4bf
Fix several CSS bugs
2018-07-26 13:49:57 -05:00
Matt Ickstadt
cc745d04f2
Merge css files
2018-07-26 13:37:22 -05:00