Jimmy Cai
797949b37f
fix: rename .social-menu
to .menu-social
to avoid being blocked by ad blockers ( #993 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/924
2024-03-27 16:24:03 +01:00
Jiahao Li
6c7d42d45a
fix(sidebar): menu-bottom-section not showing in mobile ( #966 )
...
* fix(sidebar): Bottom section not showing in mobile
* fix(sidebar): Align bottom section to bottom
* fix(sidebar): Gap missing in bottom section
* refactor(sidebar): Simplify styles
* refactor(sidebar): Remove useless padding-left
* refactor(sidebar): Remove useless margin-top
* refactor(sidebar): Combine duplicate flex-direction
* refactor(sidebar): Remove redundant width
2024-03-10 22:56:30 +01:00
Brandon Szeto
d84d0a8522
fix(menu): consistent svg coloring in menu ( #837 )
...
* Consistent svg coloring in menu
* fix: use `currentColor` to avoid breaking style of active element
---------
Co-authored-by: Jimmy Cai <hi@jimmycai.com>
2023-09-03 16:15:51 +02:00
Jimmy Cai
985af924e7
feat: new left sidebar layout ( #524 )
...
* feat: more compact menu style
* add compact option to sidebar
* fix mobile menu style
2022-03-04 10:24:21 +01:00
Jimmy Cai
04cdbcfedf
refactor: Use flexbox gap ( #520 )
2022-03-03 23:11:19 +01:00
Jimmy Cai
2712887c7c
feat: multilingual site switch ( #512 )
...
* feat: multilingual site switch
* fix menu item margin
switch to flexbox gap
2022-02-27 10:51:02 +01:00
Jimmy Cai
661e59b85d
feat: social menu ( #401 )
2021-10-23 11:58:55 +02:00
Jimmy Cai
1857909fe4
fix(menu): remove horizontal menu margin on mobile
2021-07-09 12:20:13 +02:00
Jimmy Cai
495a3b0289
refactor: rewrite grid system & style changes ( #231 )
...
* refactor(WIP): add new SCSS mixin `respond`
Theme's stylesheet mixes the use of max-width and min-width for responsive design, and it's horrible.
* refactor: update variable.scss to use @mixin respond
* refactor(grid): adjust sidebar max-width
* refactor(partials/article.scss): use `@include respond`
* refactor(layout/article.scss): delete unused SCSS and migrate to `@include respond`
* Adjust left sidebar max-width on xl screen
* fix: right sidebar not sticky
* refactor(breakpoint): simplify `@mixin respond`
* refactor(breakpoints): improve warning message
* fix(breakpoint): return only the requested breakpoint
* fix: add missing padding to .article-details
2021-06-20 12:53:10 +02:00
Jimmy Cai
358e63e799
feat(darkmode): dark mode toggle ( #82 )
...
* feat(darkmode): initial support for dark mode toggle
* fix(darkmode): add svg icons
* feat(darkmode): dispatch onColorSchemeChange event
* add head/darkmode
* feat(darkmode); add colorScheme config
* style: remove empty line
* refactor(darkmode): simplify code
* style: add comment for darkmode config
* i18n support for dark mode toggle
* Some renaming
2020-12-23 19:03:40 +01:00
Jimmy Cai
1749a9168f
feat: style adjustment
2020-10-04 15:58:32 +02:00
Jimmy Cai
841508f491
fix(menu): use <ol> to wrap menu items
2020-09-14 13:38:24 +02:00
Jimmy Cai
9e42d8cd35
refactor(scss): remove helper/shadow. Expose shadow style in CSS variables
2020-09-09 16:14:30 +02:00
Jimmy Cai
17b2224b1f
refactor(scss): remove some unused style
2020-09-06 21:14:10 +02:00
Jimmy Cai
39483eebc9
feat(sidebar): show y-axis scrollbar for menu
2020-09-06 21:08:27 +02:00
Jimmy Cai
bbe7e4b73d
feat(style): improve typography styles
2020-09-03 23:32:28 +02:00
Jimmy Cai
4bf9d82961
feat: style improvement
2020-09-03 11:42:01 +02:00
Jimmy Cai
c698d944e6
🎉 Initial commit
2020-08-22 13:20:08 +02:00