Commit Graph

126 Commits

Author SHA1 Message Date
Alex Shpak
eef4bef0d7 Removed unused ToC levels classes 2020-02-11 23:53:36 +01:00
Alex Shpak
cb61957623 Add scrollbar plugin and update README 2020-02-10 23:31:33 +01:00
Alex Shpak
a33bb33f18 Make translations list respect weight of languages 2020-02-10 22:05:26 +01:00
Alex Shpak
e1d55f2b15 Improve lang switch accesibility 2020-02-10 18:39:07 +01:00
Alex Shpak
72cf0968ce Button shortcode redesign: smaller font, resize 2020-02-10 17:49:26 +01:00
Alex Shpak
caeba5ec99 Default body font color to black for better readability 2020-02-10 17:49:26 +01:00
Alex Shpak
4e03ee5835 #138, Lower minimum body width from 400px to 320px, regression 2020-02-04 22:39:12 +01:00
Alex Shpak
c0bd5b5bb8 #90, Move inline scripts to file in assets to allow overwrite 2020-02-04 22:24:36 +01:00
Alex Shpak
83f6c3d475 Disable space as search focus key 2020-01-24 00:39:47 +01:00
Alex Shpak
88136f596d Add details styles for markdown 2020-01-24 00:22:23 +01:00
Alex Shpak
ba5d38ad44 Rework of main template, adds options for more fine customisation 2020-01-24 00:07:56 +01:00
Daniel Forssten
7e2af86777 #134, Focus search field by pressing s or / (#135)
* #134, Focus search field by pressing s or /
* #134, Refactoring away an array loop using indexOf
2020-01-19 21:57:53 +01:00
Alex Shpak
4b641b0f9a #133, move disqus to separate template to allow override, rename BookDisqus to BookComments 2020-01-17 21:44:25 +01:00
Shane Liesegang
bce8940c62 Removing flex from <main> for sake of print layout (#129)
* Removing flex from <main> for sake of print layout
* trimming excess whitespace
2020-01-17 20:32:36 +01:00
Alex Shpak
68f096fa4c Remove use of Scratch in search configuration 2020-01-13 19:42:16 +01:00
Dave Kerr
36a8cf5169 feat: added support for Disqus (#120)
* feat: added support for Disqus
* feat: allow disqus to be disabled through frontmatter

Set:
    bookDisableComments: true

On a page to disable disqus for the content.
2020-01-13 17:46:19 +01:00
tyler71
e037b7c70f mobile toc menu (#121)
* Implement TOC for mobile
* Uses Page title as label
* Label entries so that tapping TOC will hide menu
* Switch to medium breakpoint
* Correct tos -> toc
* toc-menu-control -> toc-control
2020-01-13 17:44:24 +01:00
Alex Shpak
d6290dcf50 #66, add taxonomy support 2019-12-19 17:22:12 +01:00
Alex Shpak
e30504802e Add space between posts in list, clean posts class removal 2019-12-14 13:38:27 +01:00
Alex Shpak
d934e0b12a Make icons white in dark mode 2019-12-09 11:24:31 +01:00
Alex Shpak
1941d7130e #100, Make h4, h5 and h6 bolder and increase font size 2019-11-19 22:50:00 +01:00
Alex Shpak
20c3faae4d Improve accessibility score 2019-11-16 22:00:50 +01:00
Alex Shpak
13584878c2 Polish multilang mode, update docs 2019-11-16 20:35:23 +01:00
Alex Shpak
7b52bf4232 #87, Add support for multilang search index generation 2019-11-16 20:35:23 +01:00
Alex Shpak
05c3b8fac9 Add language switch at bottom of page 2019-11-16 20:35:23 +01:00
Alex Shpak
1af0e0a18b #94, Show toc at top of printing page 2019-11-08 23:42:15 +01:00
Alex Shpak
1c65dac6ce #94, Add printing styles 2019-11-08 23:31:27 +01:00
Alex Shpak
1b6469f7b1 #92, use 'em' units for markdown line-height 2019-10-27 20:20:13 +01:00
Alex Shpak
179d4443b8 #92, Fix code block with lines spacing 2019-10-27 13:05:43 +01:00
Alex Shpak
825573cdd2 Remove dark links mixin and sass var 2019-10-27 12:33:14 +01:00
Alex Shpak
a5788d71fa #80, Add search index configuration 2019-10-27 11:58:58 +01:00
Alex Shpak
b4307e7c09 #80, Migrate to flexsearch 2019-10-23 21:32:15 +02:00
Alex Shpak
4596f08e32 Rename ToC level styles, reorganize example content 2019-10-23 21:31:58 +02:00
Alex Shpak
1db63cef5c Fix valign for git footer icons 2019-10-08 23:25:33 +02:00
Alex Shpak
00988ceee1 Remove BookMenuBundleActiveLinkColor parameter 2019-10-08 23:17:30 +02:00
Alex Shpak
007bc10c07 Introduce SCSS plugins: dark mode and numbered headings 2019-10-08 17:03:49 +02:00
Alex Shpak
1f8d34168f #77, Introduce hint shortcode 2019-10-03 18:15:24 +02:00
Alex Shpak
3e3a3346e1 #59, Allow customize SASS vars, add example of dark theme 2019-10-03 15:07:56 +02:00
Alex Shpak
77255304f3 #74, Remove readonly flag from search field 2019-10-03 14:18:34 +02:00
Alex Shpak
397ebbc2a4 #79, Disable async load for dynamically inserted scripts 2019-10-03 13:56:41 +02:00
Alex Shpak
ae3c5017c4 Small adjustments for logo span and css 2019-09-05 23:01:40 +02:00
Paul Twohey
73e53768c9 always have <span> for title text and move spacing to logo 2019-09-05 22:22:14 +02:00
Paul Twohey
6004c7edc3 Optional brand logo in the menu controlled by .Site.Params.BookLogo
- documentation in README.md and exampleSite/config.{toml,yaml}
2019-09-05 22:22:14 +02:00
Paul Twohey
964968be39 use class="hidden" instead of creating new classes
Use class "hidden" instead of styled classes to ensure that input elments stay
hidden when the Content-Security-Policy header has "style-src 'self';"
2019-09-01 20:51:15 +02:00
Paul Twohey
438f011ff5 fix menu, docs, and posts to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so style them display: none
2019-09-01 20:51:15 +02:00
Paul Twohey
99bd271b35 fix expand and tabs shortcodes to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so add CSS to the markup classes and style them
display: none
2019-09-01 20:51:15 +02:00
Alex Shpak
424ff16092 Fix formatting in search-data 2019-08-09 14:53:15 +02:00
Alex Shpak
df8d186d38 Jsonify title in search as well 2019-08-08 13:17:47 +02:00
Alex Shpak
3deb5ffc52 Update screenshots and theme tags 2019-08-06 13:05:04 +02:00
Alex Shpak
11d1c44a1a Update search box design 2019-08-06 11:33:42 +02:00