Commit Graph

264 Commits

Author SHA1 Message Date
Cotes Chung 50835b4c71
refactor: optimize meta font size 2023-10-08 04:40:16 +08:00
Cotes Chung 42bf39e21c
perf(ux): render background color before loading preview image (#1298) 2023-10-04 16:40:16 -05:00
Cotes Chung 2574118f40
perf(ui): standardize metadata text styles (#1295) 2023-10-04 14:29:44 -05:00
Cotes Chung 475d181aac
refactor: optimize the basic layouts 2023-10-04 18:15:22 +08:00
Cotes Chung e3b01636ac
refactor(core): optimize image loading
- JavaScript runs so fast that LQIP will never be detected
- Increase the running priority of image processing in posts

Enhancement for #1267
2023-09-29 05:07:03 +08:00
Cotes Chung b489da89ca
style(scss): update `rule-empty-line-before` config 2023-09-28 01:27:24 +08:00
Cotes Chung bf3a34d054
perf(core): replace `lazysizes` with browser-level lazy loading (#1267) 2023-09-27 04:44:32 +08:00
Cotes Chung de2dff354a
chore(ui): increase block radius 2023-09-24 22:18:46 +08:00
Cotes Chung 8417927264
refactor(scss): replace `#{$var}` with `$var`
This change stops forward compatibility with `jekyll-sass-converter-2.x`
2023-09-22 03:27:20 +08:00
Cotes Chung 0465a985dc
fix(posts): resume target highlighting for superscripts and footnotes (#1253)
`<sup>` and `<footnote>` are highlighted when in `:target` state, but this feature has been missing since `v6.1.0` due to an oversight in development.
2023-09-20 04:27:32 +08:00
Cotes Chung 73e171b0fb
perf(layout): optimize the main block height calculation (#1249)
If the post content height is smaller than the panel, there will be a large blank space between the bottom of the post and "Further Reading" section.
2023-09-19 04:44:35 +08:00
Cotes Chung 13a3c3c906
perf(layout): improve margins for tail block (#1243)
Keeps the margin of the elements in the tail area consistent regardless of the number of siblings, or if a <script> is inserted.
2023-09-18 03:26:02 +08:00
Cotes Chung 273b389c51
fix(sidebar): contact icons not stacking (#1224)
Fixes #1224
2023-09-11 02:28:16 +08:00
Cotes Chung aff7566774
feat(ui): update the twitter icon (#1221) 2023-09-10 20:23:34 +08:00
Cotes Chung 806fa3aa1a
refactor: simplify meta info 2023-09-10 20:01:29 +08:00
Cotes Chung 75a2504fd9
chore(colors): adapt to Bootstrap 5.3 2023-09-10 00:31:50 +08:00
Cotes Chung 505e314a31
perf: refactor using semantic HTML (#1207)
Fixes #1196
2023-09-08 22:48:37 +08:00
Cotes Chung 41b8f9f519
feat(layout): center the footer 2023-09-07 01:58:03 +08:00
Cotes Chung 62bcd601fc
feat(ui): redesign the pagination button on home page 2023-09-06 00:13:10 +08:00
Cotes Chung 414b8f97ce
refactor(ui): optimize the color scheme 2023-09-05 00:34:35 +08:00
Cotes Chung 229c2a2e2b
feat(posts): render heading 4 in TOC (#1023) 2023-09-03 20:20:14 +08:00
Cotes Chung c4af75389a
refactor: rename sass files 2023-09-03 20:13:00 +08:00
Cotes Chung 4f86b04a84
perf(ui): improve code snippet design
- Apply the new syntax color themes
- Center the text in the code snippet header
- Maintaining space to the left of a 3-digit line number or more
2023-09-03 20:13:00 +08:00
Cotes Chung 37c976499e
perf(ui): improve web accessibility (#447)
- Make color and contrast meets WCAG 2 AA and above
- Fixes `aria-label` on button "copy link" in posts
2023-08-02 21:08:56 +08:00
Cotes Chung e8ef69ad17 chore(release): 6.1.0 2023-07-02 21:01:52 +08:00
Cotes Chung e07e6d46d7
refactor: revert media query range notation (#1072)
Media queries range syntax not supported by Safari for iOS under 16.4

See also:
- https://caniuse.com/?search=media-queries

This reverts commit 1682ce9d7c.
2023-07-02 20:16:36 +08:00
Cotes Chung 2bbfda79ad
refactor(layout): improve margin bottom of the core block (#1116)
Improvement of commit 73af591
2023-06-28 20:21:30 +08:00
Cotes Chung c075e11a4e
Revert "fix: shimmer has the potential to cover images (#1100)"
This reverts commit 74ab6f8adc.
2023-06-26 21:54:20 +08:00
Javen Leung b6d1992f85
perf: CJK characters of the "Search Cancel" button will wrap (#1105) 2023-06-26 14:23:23 +08:00
Cotes Chung 74ab6f8adc
fix: shimmer has the potential to cover images (#1100)
Resolves #1100
2023-06-24 21:23:30 +08:00
Cotes Chung 1682ce9d7c
style(scss): fix style-lint `media-feature-range-notation` issue (#1072)
See also: https://stylelint.io/user-guide/rules/media-feature-range-notation/
2023-06-04 12:29:33 +08:00
Cotes Chung 83625644ea
refactor(core): remove GA page views report (#1071)
- Google Analytics superProxy has been archived and is no longer maintained.
- Google Analytics UA end of life.

See also: https://support.google.com/analytics/answer/11583528?hl=en
2023-06-04 10:56:31 +08:00
Cotes Chung 728094d1ba
perf(ui): improve hover color of sidebar nav items in light mode 2023-06-04 09:36:32 +08:00
Cotes Chung ce2f6f5abe
perf(ui): avoid blank space at the bottom of the homepage preview image
When the title of the post has a line break, there will be a blank space at the bottom of the preview image.
2023-06-04 09:36:32 +08:00
Cotes Chung bef2ac085e
Merge branch 'hotfix/6.0.1' 2023-05-20 00:37:38 +08:00
Cotes Chung 066c1cd039
chore(release): 6.0.1 2023-05-20 00:37:34 +08:00
Cotes Chung 83eecdabcb
refactor: remove dead SCSS code (#1053) 2023-05-20 00:34:49 +08:00
Cotes Chung a51d31c55a
fix(typography): long string for update-list is not truncated (#1050)
Resolves #1049
2023-05-19 01:50:45 +08:00
Cotes Chung eb40f51c84
fix(layout): restore the margin bottom of the main area (#1047) 2023-05-18 11:09:32 +08:00
Cotes Chung c5f15a3af8
chore(release): 6.0.0 2023-05-17 03:02:20 +08:00
Cotes Chung d81f836b06
refactor: simplify basic layout (#1039)
A dynamically expanding/collapsing topbar is difficult to maintain and not very useful.
2023-05-17 01:59:34 +08:00
Cotes Chung 52f5ee9cd3
perf: calculate heading font size dynamically (#983) 2023-05-13 11:35:55 +08:00
Cotes Chung b3c4d741b2
refactor(img): disable transition effect in popup images 2023-05-13 08:17:41 +08:00
Cotes Chung d9e1d84f08
refactor(deps): upgrade bootstrap from v4.6 to v5.2
- update class name of the spacing, font style, cards and toasts
- update attribute names &  tooltip usage
- remove custom smooth scroll
- syntax colors
2023-05-13 02:05:33 +08:00
Cotes Chung 3210c59466
feat(ui): new design footer content layout 2023-05-13 02:05:33 +08:00
Cotes Chung 83f1c34f92
feat(ui): improve the design for top bar 2023-05-13 02:05:33 +08:00
Cotes Chung 83bbe4ac93
feat(ui): redesign the sidebar 2023-05-13 02:05:33 +08:00
Cotes Chung 6d99f5cc36
feat(ui): improve code snippet design 2023-05-13 02:05:33 +08:00
Cotes Chung 0c80552d77
perf(ui): mute the marker in lists 2023-05-13 02:05:32 +08:00
Cotes Chung e38309f3bd
perf(ui): improve inline code in light mode 2023-05-13 02:05:32 +08:00