Commit graph

25 commits

Author SHA1 Message Date
Cotes Chung
bf3a34d054
perf(core): replace lazysizes with browser-level lazy loading (#1267) 2023-09-27 04:44:32 +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
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
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
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
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
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
83f1c34f92
feat(ui): improve the design for top bar 2023-05-13 02:05:33 +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
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
Cotes Chung
b85f6330de
feat(ux): turn home page posts into clickable cards (#895)
Resolves #895
2023-03-18 01:49:34 +08:00
Cotes Chung
e7dee2a589
refactor: update vendor prefix in SCSS
{
  "browsers": [
    "last 2 versions",
    "> 0.2%",
    "not dead"
  ]
}
2022-10-22 03:26:22 +08:00
Cotes Chung
a6ce765082
style: improve SCSS style 2022-10-22 03:26:22 +08:00
Sorin
b288587c1c
fix: correct spelling of panel (#686)
Co-authored-by: sorin-g <g.sorin94@gmail.com>
2022-09-13 04:13:15 +08:00
Cotes Chung
563e8085e8 Redesign the post meta layout
- posted date
- updated date
- read time
- license statement of post bottom
- also refactor the `timeago.js`
2021-12-05 04:42:53 +08:00
Cotes Chung
b5c26fed08 Fix SCSS code style 2021-10-26 04:29:16 +08:00
Cotes Chung
fa0155de6f Lighten the light mode color scheme 2021-09-23 20:39:16 +08:00
Cotes Chung
eb247b8886 Improve the paginator design for the mobile screens (#331) 2021-05-19 11:09:52 +08:00
Cotes Chung
8e84c6b9d6 Improve code style
- js/css
- markdown
- shell
2021-01-28 03:21:58 +08:00
Cotes Chung
b7266aceac Contact theme styles 2021-01-25 02:44:35 +08:00
Renamed from assets/css/home.scss (Browse further)