ThePuzzlemaker
84d848f292
Fix issue where Font Awesome overrides .hidden
's display: none
2020-06-10 12:55:22 -05:00
mark
2d63286c63
make part titles bold
2020-05-17 16:53:06 -05:00
mark
5dd2a5bff4
implement support for book parts
2020-05-17 16:53:06 -05:00
Eric Huss
e839ef0866
Fix sidebar line-height. ( #1182 )
2020-04-03 21:09:23 +02:00
Eric Huss
4e8e1e1408
Don't highlight code spans in headers. ( #1162 )
2020-03-24 20:43:20 +01:00
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
Dylan DPC
ca4b85b815
Increases line height for p, ul & ol ( #1136 )
2020-03-06 01:06:19 +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
Matthew Woodcraft
1dc482b00d
Add scroll-margin-top to headings which contain link targets.
...
This means when the link is followed, the page scrolls in such a way as to
leave space for the fixed menu bar.
Fixes #1040
2019-10-26 12:55:12 +01:00
Benedikt Werner
c9dae170f3
Better automatic dark mode ( #1069 )
...
* Don't save default theme to localStorage
* Auto enable dark mode on no-js
* Fix light theme with no-js
2019-10-23 12:15:59 +02: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
Benedikt Werner
84a2ab0dba
Reapply: Move hiding of boring lines into static content ( #846 ) ( #1065 )
...
* Move hiding of boring lines into static content (#846 )
* Fix test for hidden code
2019-10-16 11:27:14 +02:00
David Omar Flores Chávez
d63ef8330d
Add !important
to code {font-family}
property ( #1062 )
...
If accepted, this will fix #1061
2019-10-11 14:21:13 +02:00
Dylan DPC
2b3304cb8b
Revert "Move hiding of boring lines into static content ( #846 )" ( #1064 )
...
This reverts commit 4448f3fc4b
.
2019-10-10 14:31:55 +02:00
Adrian Heine né Lang
4448f3fc4b
Move hiding of boring lines into static content ( #846 )
2019-10-10 13:55:29 +02:00
Chris Ladd
859659f197
Fix inline code display css ( #1058 )
2019-10-07 09:24:35 +02:00
Stephan Druskat
e880fb6339
Fix #823 : Apply default padding to table headers
...
This PR fixes #823 by applying the default padding for table cells (`padding: 3px 20px;`) to header cells.
2019-08-09 09:48:56 -07: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
rnitta
a655d5d241
Header elements wrap links ( #948 )
...
* swap hierarchy of header for that of link
* fix comment
2019-06-03 14:31:15 +02:00
Allen
df12cc55c8
Revert "Merge pull request #889 from s3bk/master" ( #917 )
...
* Revert "Merge pull request #889 from s3bk/master"
This reverts commit b30b58b565
, reversing
changes made to c6220fba83
.
* format tests :P
2019-05-09 20:18:28 +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
Dylan DPC
b30b58b565
Merge pull request #889 from s3bk/master
...
new "Book" theme
2019-05-04 17:45:37 +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
Sebastian Köln
9243cf9d95
well. typo
2019-03-21 07:56:48 +01:00
Sebastian Köln
d2470730fc
center book title
2019-03-20 22:13:12 +01:00
Sebastian Köln
6a2e2461fb
quote inline code
2019-03-20 17:02:05 +01:00
Sebastian Köln
3faa3e42f0
switch to Source font family
2019-03-20 16:34:19 +01:00
Sebastian Köln
9b6f5a9840
add Book theme (Liberation fonts need to be in /fonts/ on the server)
2019-03-20 15:21:36 +01: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
Weihang Lo
42aded9577
Fix table and quote related color
2018-08-12 02:47:06 +08: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
Matt Ickstadt
d1a23109e2
Convert stylus files to CSS
2018-07-26 13:37:22 -05:00