Commit Graph

54 Commits

Author SHA1 Message Date
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 3c7934abf0
style: improve code style of SCSS & YAML 2023-03-16 03:36:52 +08:00
Cotes Chung 02b7bd5095
feat: change TOC plugin to `tocbot` (#774) 2023-03-16 03:00:29 +08:00
Cotes Chung b1453ccb0c
chore: delete useless code 2023-02-18 10:43:16 +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 4b6ccbcbcc
feat: set preview image ratio to 1.91 : 1 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
Cotes Chung bffaf6374f
feat: support LQIP for images 2022-12-15 02:27:12 +08:00
Cotes Chung ca41c7ebff
chore(deps): use `lazysizes` to load images 2022-12-09 07:36:06 +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
Cotes Chung eac3f9b434
perf(typography): optimize the line height of post content 2022-10-09 20:10:03 +08:00
Cotes Chung 3ffd19d81d
refactor: rename color variable 2022-09-29 22:50:41 +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
Naufal Shidqi 0dcd39d491
fix: add missing color to linkedin icon for share list (#683) 2022-09-07 23:28:05 +08:00
Cotes Chung d792a2f6af
chore: improve responsive design of archive entries 2022-08-08 20:56:38 +08:00
Cotes Chung 22d4275f75
refactor: optimize the layout of archive timeline 2022-08-03 19:13:01 +08:00
Cotes Chung 2bd6efa95a
feat: support showing description of preview image
Also moved the image position to the metadata area
2022-04-26 04:55:38 +08:00
Cotes Chung 6d35f5f8da
perf: avoid the layout shift for post datetime 2022-04-26 04:55:37 +08:00
Cotes Chung 55fd119d35 Fix hover color for links at the tail of posts 2022-01-28 23:48:46 +08:00
Cotes Chung 4360e2938c Avoid Disqus jitter 2021-12-31 20:49:00 +08:00
Cotes Chung ecf31ff308 Fix the code style of SASS 2021-12-31 00:33:04 +08:00
Cotes Chung d315bf57e7 Integrate utterances comments 2021-12-13 04:40:05 +08:00
Cotes Chung 09e8eb4274 Make the preview image full screen width on mobile 2021-12-10 21:54:24 +08:00
Cotes Chung df81012e28 Always close the top bar when smooth scrolling 2021-12-10 00:28:50 +08:00
Cotes Chung cf6c8e9b3a Improve accessibility of panel heading elements 2021-12-07 23:09:00 +08:00
Cotes Chung cf8dae9454 Merge branch 'feature/improve-meta-display'
# Conflicts:
#	_sass/addon/commons.scss
2021-12-05 17:46:14 +08:00
Cotes Chung e2003f2b03 Add a link to the author of the post 2021-12-05 04:42:53 +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 3c91dc1f6f Move the preview image of the post to the top 2021-12-03 16:36:40 +08:00
Cotes Chung 1c758cf4a2 Update related styles 2021-12-02 05:54:43 +08:00
Cotes Chung b5c26fed08 Fix SCSS code style 2021-10-26 04:29:16 +08:00
Cotes Chung 77c2009658 Improve the layout of toc entries 2021-09-29 22:17:22 +08:00
Cotes Chung 063b2a6651 Prevent Disqus from jumping when page loading 2021-09-29 03:24:41 +08:00
Cotes Chung 9e9278ce30 Fix code style of SCSS files 2021-09-24 15:35:44 +08:00
Cotes Chung 1ce350e33e Beautify the style of categories button 2021-09-24 15:21:49 +08:00
Cotes Chung fa0155de6f Lighten the light mode color scheme 2021-09-23 20:39:16 +08:00
Cotes Chung e5bf234835 Fix cursor for some buttons & links (fix #411) 2021-09-17 16:58:32 +08:00
Cotes Chung 1b16b152df Optimize icon position 2021-09-16 17:56:12 +08:00
Cotes Chung 7dc7a7efc8 Add code block header 2021-09-11 00:30:21 +08:00
Cotes Chung 0b29c0321f Add layout localization 2021-07-21 23:50:16 +08:00
Cotes Chung 2e76300d04 Revert "Delete useless SCSS snippets"
This reverts commit ab8cef9174.
2021-07-21 01:00:05 +08:00
Cotes Chung ab8cef9174 Delete useless SCSS snippets 2021-07-19 17:53:44 +08:00
Cotes Chung eb247b8886 Improve the paginator design for the mobile screens (#331) 2021-05-19 11:09:52 +08:00
Cotes Chung 991f53f8b2 Unify the text color in the panel 2021-04-06 02:32:53 +08:00
Cotes Chung eae506113b Fix the corners of the page navigation buttons of the latest/oldest post 2021-03-04 15:02:06 +08:00
Cotes Chung d2bb423220 Change the order of post meta & improve timeago 2021-03-03 18:32:06 +08:00
Cotes Chung efc8c60b5d Fix image width in the list (when screen width is 768px) 2021-02-22 14:57:29 +08:00
Cotes Chung 273f2e152d Restore the copy link button in the post sharing option
Affected version >= 3.0.3, <= 3.2.0
2021-02-10 23:48:26 +08:00
Cotes Chung 94b99350fc Restore the prompt in the page nav button in the latest/oldest articles 2021-02-02 21:56:17 +08:00