Commit Graph

26 Commits

Author SHA1 Message Date
zwbetz-gh
4a56374eeb do not set main style on small viewport 2022-09-20 10:31:19 -05:00
zwbetz-gh
be6536778d overscroll-behavior: none; for html, body 2022-09-19 21:24:23 -05:00
zwbetz-gh
d5ffe2f369 fix 71 2022-05-30 21:33:30 -05:00
zwbetz-gh
87e1a8608f use hugo's toc 2021-09-12 14:24:53 -05:00
Sidharth R
b87a99af1f
🖱️ Fix selection highlight css rules for text generated by cmd shortcode (#59)
* Fix non selectable text in cmd shortcode

* Invert selection colors for text generated by cmd shortcode
2021-09-05 23:41:35 -05:00
Daniel F. Dickinson
87c4c8dfbd
Add default dark theme for modern browsers (#56)
* Add default dark theme for modern browsers

This version is based on the DOM specification used by Firefox, Chrome,
and the new Edge. Since it is standards compliant it should work on
modern browsers, but dark mode won't be available on IE11 and maybe the
old Edge.
I have avoided the screen flash on loading the page, and toggling from
dark to light (or vice versa) both when dark
is default and when light is default.

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>

* Edit/improve as suggested by maintainer

* Improves documentation (README.md)
* Improves Go template logic for setting the default theme type
* Improves coding (and markdown) style
* Adds the new param to exampleSite/config.yaml for documentation

Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com>
2021-08-16 21:35:09 -05:00
zwbetz-gh
2c39eba5a6 remove darkThemeAsDefault 2020-11-24 20:52:10 -06:00
zwbetz-gh
27dbcc6dd9 prevent white flash on page load when dark theme is persisted 2020-11-23 22:39:04 -06:00
zwbetz-gh
72bb0d7e7e do #42 2020-08-04 21:25:42 -05:00
zwbetz-gh
67f79b8474 add search by title 2020-06-20 22:16:24 -05:00
Antonio Garro
7ffa86175c
Prevent displacement of nav items when selected. (#35) 2020-06-14 14:00:56 -05:00
zwbetz-gh
e9a24f95ec config for hide header links 2020-06-11 13:12:51 -05:00
zwbetz-gh
5e2ff37e94 fix accessibility issues 2020-06-10 20:01:12 -05:00
zwbetz
1ca7249810 add param to set dark theme as default 2020-06-02 21:14:46 -05:00
Robert Ignatowicz
eec634badd First attempt at fixing firefox dark mode (#22) 2020-01-25 20:22:16 -06:00
zwbetz
3b8b373eec CSS for Katex (thank you antoniogarro) 2019-04-21 11:46:15 -05:00
zwbetz
13daf0aa29 Revert "Make inline code bold"
This reverts commit cc43fcbe7b.
2019-04-03 14:40:36 -05:00
zwbetz
cc43fcbe7b Make inline code bold 2019-04-02 10:22:53 -05:00
zwbetz
5f6591dd04 Make disqus button more subtle 2019-03-21 10:53:25 -05:00
Zachary Betz
04e7d5a003 Remove un-needed disqus css 2019-03-07 14:40:52 -06:00
Zachary Betz
4e14faf824 Add overflow-y to disqus comments 2019-03-06 12:21:02 -06:00
zwbetz-gh
051263b8c2
Decrease disqus comments max height 2019-03-06 11:54:41 -06:00
Zachary Betz
58913dcd56 Add disqus comments 2019-03-06 11:01:16 -06:00
Zachary Betz
ebea25e223 Active nav padding 2019-02-20 22:16:10 -06:00
Zachary Betz
03c49d8257 Fix fonts path 2019-02-15 11:01:38 -06:00
Zachary Betz
a4227b559c Execute CSS resource as template 2019-02-15 10:57:49 -06:00