Commit Graph

164 Commits (soper-book)

Author SHA1 Message Date
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
Alex Shpak 469d9d88cd Show progressbar while loading lunr and data 2019-08-06 11:33:42 +02:00
Alex Shpak f56f2bf04d Block serach bar untill index is loaded 2019-08-06 11:33:42 +02:00
Alex Shpak a3f7d8b948 Improve search settings 2019-08-06 11:33:42 +02:00
Alex Shpak 625f202275 Make lunr to load on search interaction as well 2019-08-06 11:33:42 +02:00
Alex Shpak 440ea834f7 Add extra margin under search bar, cleanup 2019-08-06 11:33:42 +02:00
Alex Shpak 1f3addcca5 Implement search, loading on demand 2019-08-06 11:33:42 +02:00
Alex Shpak dda0a0eab1 Start work on search feature with lunr 2019-08-06 11:33:42 +02:00
Jack b199d72e5f make tables scroll 2019-08-05 10:09:05 +02:00
Beth Aitman 85f3a2d4e0 Remove discs from pagination ul 2019-07-25 01:39:01 +02:00
Alex Shpak 220d999ce6 Adjust some colors, font sizes, borders in markdown 2019-06-19 13:58:46 +02:00
Alex Shpak 618ffadcb3 Fix image alignment in text to baseline 2019-06-19 10:26:15 +02:00
Alex Shpak c679f74cff Make columns shortcode mobile friendly 2019-06-18 23:20:29 +02:00
Alex Shpak 12f2af4d34 Fine tune ol, ul, dl paddings 2019-06-18 22:56:43 +02:00
Alex Shpak 01b0e711af Remove unused scss variables 2019-06-13 11:40:27 +02:00
Alex Shpak 58e8807130 Set heading padding in markdown to depend on font size 2019-06-13 11:39:00 +02:00
Alex Shpak 1c3d8491ec Fix various spacings in markdown in shartcodes 2019-06-13 11:23:22 +02:00
Alex Shpak c9d979514c Add custom class support for mermaid and button shortcodes 2019-06-11 13:41:08 +02:00
Alex Shpak 2047968370 Unfortunately go back to roboto font 2019-06-10 17:39:46 +02:00
Alex Shpak 64ad3f3b8a Allow override code font as well 2019-06-10 17:14:21 +02:00
Alex Shpak fead34957c Add vertical spacing to expand shortcode 2019-06-10 15:14:05 +02:00
Alex Shpak 784fd9bd6a Remove flast section padding from first section, reformat fonts scss 2019-06-10 13:42:35 +02:00
Hao Yang 754c8c0e61 <fix> use relative path to load fonts/oxygen-*
Failed to load fonts/oxygen-* when not set base_url to root domain. (For example, www.example.com/foo/)
2019-06-10 10:50:50 +02:00
Alex Shpak a299a4b07b #39, Add button shortcode 2019-05-27 18:25:58 +02:00
Alex Shpak e452a7beda #52, Allow to set max showed levels of ToC. e.g. BookToC=3 2019-05-27 16:48:23 +02:00
Alex Shpak 6d64cc708e Remove extra spacing around columns view 2019-05-27 12:54:31 +02:00
Alex Shpak edf5b466e1 Update screenshots, clean tabs shortcode 2019-05-24 14:50:25 +02:00
Alex Shpak c70bef77a5 Update README.md with shortcodes and badges 2019-05-24 14:07:44 +02:00
Alex Shpak 9f90c40517 #39, Finish tabs shortcode 2019-05-23 17:48:30 +02:00
Alex Shpak f3796f43f3 Change edit and date icons 2019-05-23 16:43:54 +02:00
Alex Shpak 5437521798 #39, Finish columns shortcode, clean scss 2019-05-23 16:30:26 +02:00
Alex Shpak c80bd79dcd #39, Add multi-column shortcode 2019-05-22 16:17:55 +02:00
Alex Shpak cf6720efad Fix vertcal spacing in top level of menu and ToC 2019-05-22 15:44:31 +02:00
Alex Shpak 0e6864f5aa #39, Add expand and tabs shortcodes 2019-05-22 14:37:55 +02:00
Alex Shpak 612814aa59 Add font-display for font fallback, move body font style to _fonts.scss 2019-05-22 09:08:15 +02:00
V.H. Belvadi e4a97bee27 Various changes to improve local loading of Oxygen. 2019-05-15 09:53:49 +02:00
V.H. Belvadi 69758569de Added body font-face specification 2019-05-15 09:53:49 +02:00
V.H. Belvadi 3e43a1dbd7 Removed body font-face specification 2019-05-15 09:53:49 +02:00
V.H. Belvadi 9aa0040ed5 Initial commit
Added _fonts.scss to load Oxygen locally.
2019-05-15 09:53:49 +02:00
V.H. Belvadi 34ed60e45d Updated body font-family
Moved font-family to _fonts.scss for local loading of Oxygen.
2019-05-15 09:53:49 +02:00
Hoa dce059f507 Address code review comment 2019-05-06 08:50:33 +02:00
Hoa dad47e715e [Issues 48] Fix indentation and bg in highlight code block 2019-05-06 08:50:33 +02:00
Alex Shpak 9a370c8a89 #44, Move normalize.css to sass pipeline with minification 2019-04-23 21:29:22 +02:00
Alex Shpak b10d1e959c Improve logic in title template for less warnings 2019-04-22 22:19:08 +02:00
Alex Shpak 0b30289d9f #43, Update tree menu rendering to support multiple sections 2019-04-22 19:17:39 +02:00
Alex Shpak 31a262451a Move from custom.css to custom.scss to be able to use variables 2019-04-09 22:59:29 +02:00
Jordi Bares 45271b5298 Add footer functionality 2019-04-09 22:31:24 +02:00
Alex Shpak 5b652a1bb1 Add home page placeholder to not display empty page 2019-03-29 16:19:39 +01:00
Alex Shpak d4abb9d34b #31, Make tables prettier 2019-03-25 19:47:21 +01:00
Alex Shpak 92c63a39e6 #27, Set minimum page width to 320px for smaller devices 2019-03-25 19:32:02 +01:00
Alex Shpak 4ce973a4e2 Add menu to blog pages 2019-01-24 23:30:31 +01:00
Nick Shine dc110c3c63 add edit page config instructions to readme and update font-size 2018-12-07 15:03:15 +01:00
Nick Shine 3bb53572c2 add flex for edit-this-page div 2018-12-07 15:03:15 +01:00
Nick Shine 2802bad985 add smooth scrolling for table-of-content navigation by default 2018-11-26 16:25:08 +01:00
Alex Shpak 76c251066f Refactor templates and partials 2018-11-25 13:30:25 +01:00
Alex Shpak 461aafe995 #6, Refactor to use overflow-x and overflow-y 2018-11-25 12:38:58 +01:00
Alex Shpak 11ad84dd50 Bring back hover effect for menus 2018-11-25 12:06:09 +01:00
Alex Shpak 4dac6ec97d #7, apply vertical menu styles only to nav 2018-11-25 11:10:23 +01:00
Alex Shpak 7798a5cc7c Refactor scss styles 2018-11-24 15:10:43 +01:00
Alex Shpak 143cb9341d Improve font rendering 2018-11-07 12:54:18 +01:00
Alex Shpak b88206b14f Use Oxygen font 2018-11-01 13:54:12 +01:00
Alex Shpak 5535f87400 Fill example site with Lorem Ipsum 2018-10-30 15:56:42 +01:00
Alex Shpak b571e84efd Add letter spacing 2018-10-22 15:51:20 +02:00