Commit graph

163 commits

Author SHA1 Message Date
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
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
bef2ac085e
Merge branch 'hotfix/6.0.1' 2023-05-20 00:37:38 +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
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
003e7b60c9
perf(ux): improve LQIP fade in effect 2023-05-13 02:05:32 +08:00
Cotes Chung
2a4d67d65c
refactor: uniform block border radius
scope:
- categories
- posts (prompt, code snippets)
2023-05-13 02:05:32 +08:00
Cotes Chung
f0266c1f78
refactor(scss): update vendor prefix 2023-05-13 02:05:31 +08:00
Cotes Chung
7626e4d005
perf(ui): improve hover effect for post preview cards
- home cards
- navigator buttons at the bottom post
2023-05-13 02:05:31 +08:00
Cotes Chung
34499f0c92
perf(ui): improve hover effect of trending tags 2023-05-13 02:05:31 +08:00
Cotes Chung
aadf9393d5
perf(ui): uniform the muted text color 2023-05-13 02:05:31 +08:00
Cotes Chung
2918da9f29
perf(ui): improve related posts design 2023-05-13 02:05:31 +08:00
Cotes Chung
97b8dfeed6
feat(ui): show preview image in home page 2023-05-13 02:05:30 +08:00
Song-Zi Vong
7ec31e8948
refactor: enhance the configurability of fonts (#986) 2023-04-17 01:31:49 +08:00
Cotes Chung
3cd81e7128
chore: recover accidentally deleted LQIP style 2023-03-18 01:49:34 +08:00
Cotes Chung
111b82838d
style: fix scss lint issue
type: declaration-block-no-redundant-longhand-properties
2023-03-18 00:29:01 +08:00
Cotes Chung
e8e4901e34
fix: some console snippets will be incompletely copied
Sample:

```console
echo $PATH
```
2023-03-17 06:39:38 +08:00
Cotes Chung
820ba62e9e
fix: notch status bar doesn't match theme color (#918)
Resolves #918
2023-03-17 01:17:06 +08:00
Cotes Chung
3c7934abf0
style: improve code style of SCSS & YAML 2023-03-16 03:36:52 +08:00
Cotes Chung
4681df7151
fix: mathematics cannot scroll horizontally (#760) 2023-03-02 05:40:33 +08:00
Cotes Chung
b1453ccb0c
chore: delete useless code 2023-02-18 10:43:16 +08:00
Cotes Chung
5df953f6c8
fix: position of prompt icon is incorrect in paragraph on mobile
mobile screens with width <= 576px
2023-01-31 00:03:59 +08:00
Cotes Chung
0c9558de8a
fix: the icon position of the prompts in the list is incorrect 2023-01-30 06:15:20 +08:00
Cotes Chung
babb4a0c5a
fix: prompt with nested blockquotes renders incorrectly (#846)
Resolves #846
2023-01-30 04:58:30 +08:00
Cotes Chung
511df11546
refactor: optimize tab cursor position calculation 2023-01-30 03:08:35 +08:00
Cotes Chung
41ed331456
fix: copy command line incomplete(.gp part) 2023-01-13 03:52:32 +08:00
Cotes Chung
808d3743e5
chore(deps): lock jekyll-sass-converter to v2.x on Linux-musl (#829)
Also, make the division formula backward compatible with `jekyll-sass-converter 2.x` (#848, #849)

Ref: https://github.com/jekyll/jekyll-sass-converter#migrate-from-2x-to-3x
2023-01-12 05:30:24 +08:00
Cotes Chung
bd374dd383
fix: post's image would cover the PWA update alert 2023-01-12 05:12:03 +08:00
Cotes Chung
d7bcb40cde
refactor: update deprecated syntax for SASS division 2022-12-27 21:50:21 +08:00
Cotes Chung
09f9305d4c
chore: hide blur edge of LQIP images 2022-12-27 21:41:45 +08:00
Cotes Chung
7a3d743419
chore: update footer meta information 2022-12-25 23:48:37 +08:00
Cotes Chung
e01eb8af14
refactor: unify the border radius of blocks
scope: code blocks, prompts, images, and videos
2022-12-25 00:00:08 +08:00
Cotes Chung
ed6dc539ef
feat: add embed video support 2022-12-25 00:00:07 +08:00
Cotes Chung
ab16fdc7fc
feat: add shimmer background when image loads 2022-12-24 23:51:47 +08:00