Xin
363c8c91ee
fix: scroll bug due to incorrect toggle state ( #186 )
...
* fix: add mobile menu overlay to toggle body scroll
* chore: update styles
2023-11-03 20:39:36 +00:00
Xin
088e9f7821
fix(style): add backdrop to code copy button ( #185 )
...
* fix(style): add backdrop to code copy button
* chore: run build:css
2023-11-02 22:43:50 +00:00
Xin
7c902b4eb9
chore(style): enhance not-prose elements styling ( #163 )
...
* chore(css): improve not-prose tags styling
* fix: typo
* chore(style): improve appearance in prose
* feat: support icon in callout shortcode
* chore: add RSS badge to blog list page
* chore: run build:css
* chore: run build:css
* chore: remove unused CSS
* chore: add footer.enable explicitly to config
* chore: use `where` pseudo class for more prose elements
* chore: run build:css
* chore: remove blank space
* chore: rebuild css
* chore: update figure css
2023-10-29 15:19:31 +00:00
Xin
141e0d8f8c
fix(style): remove sidebar item extra padding and gap ( #155 )
...
* fix: remove sidebar item extra padding and gap
* chore: run build:css
2023-10-27 14:57:48 +01:00
Xin
2d2e8aec4c
fix(style): remove padding for highlighted code ( #157 )
...
* fix(style): remove padding for highlighted lines
* chore: run build:css
2023-10-27 14:56:39 +01:00
Xin
97e6945c04
feat: add option to set default theme and hide toggle button ( #146 )
...
resolves #135
Light / dark theme can be configured via:
```yaml
theme:
# light | dark | system
default: system
displayToggle: true
```
2023-10-21 22:18:04 +01:00
Xin
93cb788e52
feat(search): support different search index types ( #145 )
...
* add support for different search index types: `content | summary | heading | title`
* resolves #139
2023-10-21 21:00:39 +01:00
Xin
cb09b7ce1e
fix: skip scroll event if no backToTop element ( #138 )
2023-10-12 23:25:34 +01:00
Xin
28a20e1e7e
chore: add code copy button icons in js ( #133 )
2023-10-07 20:01:19 +01:00
Xin
8aa6439132
feat: support custom primary saturation ( #131 )
...
* feat: support custom primary saturation
* chore: run npm run build:css
* docs: update instruction for customizing primary color
2023-10-04 20:41:59 +01:00
Xin
55ff819dae
fix: not-prose p tag inconsistent style ( #126 )
...
* fix: not-prose p tag should reset styles
* chore: compile CSS
2023-10-03 09:12:30 +01:00
Xin
103faa24f3
chore: re-compile CSS
2023-10-01 09:25:02 +00:00
Remy Sheppard
d1bed05843
feat: Back To Top ( #105 )
...
* Scroll to top
* Update scripts.html
---------
Co-authored-by: Xin <xin@imfing.com>
2023-10-01 10:06:28 +01:00
Xin
ec02eb34fe
fix: search shortcut based on user platform ( #101 )
...
* fix: search shortcut based on user platform
* chore: make it work with iPad and iPhone as well
2023-09-27 19:47:20 +01:00
Xin
3c4ede96df
feat: add shortcodes to build Hextra home page ( #90 )
...
* feat: add feature grid and card shortcodes
* feat: add markdown content to hextra home
* chore: add button for hextra home
* chore: add heading and subtitle
* chore: finish moving hextra home to shortcodes
* chore: regenerate css
* chore: improve hextra home layout shortcodes
* chore: update css
* chore: decrease button size
2023-09-26 08:15:31 +01:00
Xin
01f7e3a425
docs: add showcase page ( #86 )
...
* docs: add showcase page
* chore: update compiled CSS
* chore: add showcase to navbar
* chore: reorder show case on navbar
* chore: update card image style
* chore: update showcase images
* chore: update showcase card image
2023-09-24 15:30:17 +01:00
Xin
b51bfa3177
feat: support wide and full page modes ( #69 )
...
* feat: add page width config and partial
* feat: use page-width partial in layouts
* chore: revert changes in navbar and footer
* feat: customize footer width from site config
* chore: update styles
* docs: add page width
* feat: allow overriding navbar width
* fix: navbar width variable
* docs: add instruction for navbar and footer
2023-09-20 23:36:00 +01:00
Xin
e9ea9786e9
feat: enhance scrollbar style ( #56 )
...
* feat: enhance scrollbar style
* chore: set `color-scheme` for document element
2023-09-14 00:01:38 +01:00
Xin
76ac694542
feat: add backdrop blur for nav bar ( #53 )
2023-09-13 10:02:38 +01:00
Xin
3bcdf84ad4
feat: details shortcode ( #28 )
...
* feat: details shortcode
* docs: add details shortcode page
* chore: update shortcodes page
* docs: update
* Revert "chore: update shortcodes page"
This reverts commit c005ad4cb15a868ed7552b628fff025c1c5b0700.
2023-09-02 16:01:34 +01:00
Xin
8e8f7f23c9
chore: increase home heading text line height
2023-09-02 00:10:51 +00:00
Xin
c8b1d764e0
chore: add more i18n options and update templates
2023-08-27 17:32:44 +01:00
Xin
d9c44bc503
docs: add content to about page
2023-08-27 16:20:25 +01:00
Xin
a52279446a
chore: add feature cards to home page
2023-08-27 15:53:12 +01:00
Xin
d1bc057c09
chore: update home page
2023-08-26 12:20:39 +01:00
Xin
739178889f
chore: add hextra home layout
2023-08-25 01:09:36 +01:00
Xin
04a5c7378a
feat: add rss template
...
feat: enhance sidebar on mobile
chore: simplify settings by having defaults
chore: update footer template
2023-08-23 01:00:36 +01:00
Xin
86e5106f6e
docs: update docs and footnote styles
2023-08-22 00:48:44 +01:00
Xin
5821b02db2
docs: add customization and update other pages
...
chore: re-compile css and add icons
chore: update blog list layout
2023-08-21 23:41:37 +01:00
Xin
8073722a0e
fix: translation for navbar menu
...
docs: update docs for multi-language
chore: add custom css support
chore: add social icons
2023-08-21 01:00:52 +01:00
Xin
aa1305099d
chore: add image example for cards
...
* updated compiled CSS
2023-08-20 23:09:59 +01:00
Xin
b6f40d6114
feat: add subtitle and image support to card
2023-08-20 21:31:51 +01:00
Xin
80659b4933
feat: navbar logo and title can be configured
...
chore: add logos to static and update compiled css
2023-08-20 20:34:01 +01:00
Xin
15d3a4da5e
feat: implement collapsible sidebar
...
chore: basic sidebar toggle button
chore: update compiled css
2023-08-20 12:29:55 +01:00
Xin
1c7962494d
feat: add more content and fix issues
...
fix: hide lang switch if site is not multilingual
docs: update getting started page
fix: ordered list style
chore: update hugo icon
feat: add icon shortcode page
docs: add markdown and configuration pages
docs: add diagrams page
docs: add more content
fix: mermaid background and add image styling
chore: update templates
chore: update hugo stats
2023-08-20 00:41:26 +01:00
Xin
2e11d235e7
chore: rename assets/vendor to lib
2023-08-19 13:32:13 +01:00
Xin
57f298256d
feat: add mhchem support
2023-08-19 00:32:10 +01:00
Xin
824047c3d0
fix: line highlight conflict with line number
2023-08-17 20:02:57 +01:00
Xin
81e9f289f9
chore: compile css and update docs
...
chore: replace --debug with --logLevel debug
chore: add copyright text
2023-08-16 20:44:42 +01:00
Xin
9f785a8c37
fix: mobile nav hamburger menu transform
2023-08-16 20:44:39 +01:00
Xin
db8374a724
feat: add filetree component for shortcode
...
chore: update tailwind config and move hugo_stats
2023-08-16 20:44:21 +01:00
Xin
7a2cca9181
feat: add multi-language select and fix minor issues
...
fix: navbar icon should use home relative link
fix: copy code for raw <code> element
fix: missing breadcrumb hover style
fix: tabs typo preventing loading the script
2023-08-16 20:43:28 +01:00
Xin
3d7a4b7c99
refactor: concat built-in js scripts
...
chore: vendorize katex 0.16.8
chore: vendorize flexsearch 0.7.31
chore: add katex fonts
chore: vendorize mermaid
* add option to disable math globally
chore: fix edit url nil variable
chore: add comments
2023-08-16 20:43:28 +01:00
Xin
d66ae7146f
fix: remove extra space for rendered link
...
chore: update theme info
chore: use dataset
chore: support editURL config option
* add toc and search config option
chore: update head template
2023-08-16 20:43:28 +01:00
Xin
52931107a3
chore: move content to exampleSite
...
* update dev and build command
chore: move contents to exampleSite
chore: add configs to exampleSite
chore: use tailwindcss/nesting
* add postcss-import
* move imports to the top
chore: add config for theme dev
chore: add compiled css
chore: fix last updated issue
chore: dont't ignore hugo_stats.json
chore: update index page layout
2023-08-16 20:42:32 +01:00
Xin
a7aa9fa1cb
feat: add blog list layout
...
chore: add toc to mobile dropdown menu single items
chore: refactor sidebar
chore: add single layout for blog
chore: add vscode settings
chore: add blog section
chore: add devcontainer.json
chore: exclude icon from mobile nav
chore: support multiple theme switches
- simplify theme switch implementation using data attributes
- hide theme switch when sidebar is disabled
chore: add theme switch to footer
- enable when sidebar is disabled
chore: add format-date partial
2023-08-16 20:40:00 +01:00
Xin
2f34627da3
feat: multi-level sidebar
...
chore: support multiple search elements
chore: sidebar display toc on mobile view
chore: add hamburger menu to navbar on mobile
chore: add markdown link hook
for opening external link in new window
chore: add sidebar footer
- put search under params.type
- make navbar link aware of external link
2023-08-16 20:39:58 +01:00
Xin
7e37b73779
feat: revamp search experience
...
chore: hide toc on small screen
chore: make sidebar responsive
2023-08-16 20:39:54 +01:00
Xin
16a656947b
feat: basic flexsearch implementation
2023-08-16 20:39:54 +01:00
Xin
b90c2e7737
feat: add detail box and update styles
...
chore: update 404 page style
chore: update icon
to use global site variable
2023-08-16 20:39:43 +01:00