Commit Graph

235 Commits

Author SHA1 Message Date
Cotes Chung 893db51ff0 Improve the copyrights of the assets 2021-01-26 20:24:47 +08:00
Cotes Chung cbb3bd4be5 Set default values for site variables
good for gem-based first run
2021-01-26 20:24:47 +08:00
Cotes Chung da9f7b8218 Process JS files with gulp 2021-01-25 06:43:02 +08:00
Cotes Chung 0e9104a58f Fix a typo on css 2021-01-25 02:44:35 +08:00
Cotes Chung b7266aceac Contact theme styles 2021-01-25 02:44:35 +08:00
Cotes Chung 28f36bee23 Make code block 100% screen width on mobile 2021-01-23 13:19:51 +08:00
Cotes Chung 994b3e32d3 Optimize image width of list on mobile screens 2021-01-23 13:18:02 +08:00
Cotes Chung ab0e3f6ee4 Fix PV display when baseurl exists 2021-01-19 00:01:01 +08:00
Ryan TG ef1d05d342 Fix typo in dark typography SCSS (#249) 2021-01-15 02:29:28 +08:00
Cotes Chung e8170f8379 Prevent the URLs of code block from being clickable 2021-01-10 18:48:36 +08:00
Cotes Chung 66a132c462 Remove the image files 2021-01-09 23:05:55 +08:00
Dinesh Prasanth M K 940db20c5c Add instructions to setup Page Views
This patch adds a new blog post to setup Page Views
using Google analytics superProxy.

Signed-off-by: Dinesh Prasanth M K <mkdineshprasanth@gmail.com>
2021-01-06 00:05:15 +08:00
Cotes Chung 3c72298563 Improve the smooth scrolling
- Add smooth scrolling to the footnotes
- Add hash to URL
2020-12-31 21:37:17 +08:00
Cotes Chung 7a88347c63 Remove inline code extra content 2020-12-28 19:38:24 +08:00
Cotes Chung c381353f86 Use liquid to determine whether to render ToC 2020-12-28 02:30:32 +08:00
Cotes Chung aa6c33526a Fix the compatibility of the smooth scrolling in Safari
Safari(at least on v14) does not support CSS property `scroll-behavior`
2020-12-28 02:28:57 +08:00
Cotes Chung 505da84a26 Fix the position of the table scroll bar 2020-12-26 00:41:06 +08:00
Cotes Chung dfba411d61 Jump to the anchor position smoothly 2020-12-26 00:41:06 +08:00
Cotes Chung fa310d3190 Optimize typography
- Set the table width to 100% on small screens
- Optimize list style
- Optimize image style
- Make checkbox color lighter (light mode)
- Reduce the space for inline code
2020-12-26 00:41:06 +08:00
Cotes Chung ef0c9ce770 Simplify sidebar style
Avoid element shifting when rendering
2020-12-26 00:41:06 +08:00
Cotes Chung 8e0004146b Improve CSS selector for image 2020-12-19 00:18:30 +08:00
Cotes Chung 6dc6f2a7cf Improve code style 2020-12-18 21:05:47 +08:00
Cotes Chung 8e5d8b8931 Feature: display the language of code snippets 2020-12-18 20:52:39 +08:00
Cotes Chung 260a906b11 Optimize code snippet background color 2020-12-18 20:24:14 +08:00
Cotes Chung 5ffbfaec26 Beautify the pin label on home page 2020-12-17 15:30:49 +08:00
Cotes Chung b9ffe15ffb Feature: Add reading time to posts 2020-12-17 15:30:49 +08:00
Cotes Chung cb984aa021 Simplify checkbox with fontawesome icon 2020-12-15 15:20:40 +08:00
Cotes Chung 0225d28fd3 Beautify shape and color of checkbox 2020-12-15 00:39:50 +08:00
Cotes Chung aba3d25d7a Always load browser default checkbox 2020-12-15 00:39:50 +08:00
Cotes Chung dc88321ed5 Improve image style (#204) 2020-12-15 00:39:50 +08:00
Cotes Chung cc24af11fc Revert "Improve image style (#204)"
This reverts commit 07d29ec9bf.
2020-12-14 14:02:32 +08:00
Cotes Chung d70354021c Make table horizontal scroll (#206) 2020-12-14 02:13:31 +08:00
Cotes Chung d61446fafc Create a more beautiful checkbox
The browser's default checkbox is too ugly, especially in dark mode
2020-12-14 02:13:31 +08:00
Cotes Chung cea339088b Improve the checkbox style (#207)
Hotfix: the solution of #203 will affect the layout `archives`
2020-12-13 01:45:52 +08:00
Cotes Chung 07d29ec9bf Improve image style (#204) 2020-12-13 00:43:19 +08:00
Alexandra Zaharia 464fa001b2 Add checkbox style to remove bogus rendered bullet (#203) 2020-12-13 00:35:45 +08:00
Cotes Chung 53a98feff3 Update pwa cache list 2020-12-11 23:08:57 +08:00
Cotes Chung cdaa79cf80 Improve JS loading sequence 2020-12-10 20:13:03 +08:00
Cotes Chung d53769e52b Improve the dark-mode color of the italics in code snippet 2020-12-10 20:13:03 +08:00
Cotes Chung 6335991164 Avoid mode switch button shifting 2020-12-06 14:09:47 +08:00
Cotes Chung 13aca77275 Change mode-toggle icon 2020-12-05 01:40:01 +08:00
Cotes Chung 270d3ba499 Use `collections` to improve the tabs 2020-11-22 04:24:09 +08:00
Cotes Chung 8fa1f3b497 Clean up the discarded shell scripts 2020-11-19 21:47:46 +08:00
Cotes Chung 62aef9f850 Improve the SCSS code style 2020-10-27 22:08:04 +08:00
Cotes Chung 57a4bfdb82 Replace heading elements of panel with span.
Fix the heading levels audit.
2020-10-27 05:41:36 +08:00
Cotes Chung b9fb716e6a Optimize the hover effect of related-post card. 2020-10-18 13:11:05 +08:00
Cotes Chung db5a58638d Add more class to specify image position. 2020-10-10 20:18:24 +08:00
Cotes Chung ea5b6cf1f6 Specify the image location gracefully. 2020-10-08 02:42:57 +08:00
Cotes Chung cb908bbb2b Added caption sytle for hyperlinked images (#144). 2020-10-07 12:24:44 +08:00
Cotes Chung c221a3e0bc Reduce image caption margin. 2020-10-06 23:41:29 +08:00