Commit graph

328 commits

Author SHA1 Message Date
Cotes Chung
e439e65258 Reduce the font size of inline code. 2020-08-23 16:09:35 +08:00
Cotes Chung
3a449672cb Upgrade web-fonts source. 2020-08-23 15:19:33 +08:00
Cotes Chung
7bb861b573 Beautify the layout for posts heading and preview-image. 2020-08-21 23:03:05 +08:00
Cotes Chung
f0b4e30363 Improve the layout of list. 2020-08-21 23:03:05 +08:00
Cotes Chung
a1b2c71b89 Increase the margin between lists. 2020-08-21 01:26:18 +08:00
Cotes Chung
9e14673349 Improve SASS code style. 2020-08-20 02:29:13 +08:00
Cotes Chung
038bccb3ca Fix JS object injection. 2020-08-19 23:45:10 +08:00
Cotes Chung
9b35380849 Improve JS code style. 2020-08-19 23:45:10 +08:00
Cotes Chung
a8f8bbaa1c Fix the unsupported code snippets in rouge. (#101) 2020-08-15 21:10:54 +08:00
Cotes Chung
188d8ffc69 Resume the min-width of the tables.
It was lost by mistake while fixing #85
2020-08-15 01:01:27 +08:00
Cotes Chung
544f72efff Optimized font colors. 2020-07-30 05:28:16 +08:00
Cotes Chung
112091cbf6 Improved the posts layout. 2020-07-30 05:12:36 +08:00
Cotes Chung
ad48a9ab06 Fixed empty PV issue. 2020-07-26 22:25:26 +08:00
Cotes Chung
b2f0b4cb1b Improved post date display. 2020-07-23 20:57:11 +08:00
Cotes Chung
209058b84a Code improvement.
Passing parameters to includes
2020-07-22 23:02:11 +08:00
Cotes Chung
562fcd4fd8 Fixed posts' base-url on cache list. 2020-07-17 16:27:11 +08:00
Cotes Chung
22115f3797 Optimized update list & fixed sw cache list. 2020-07-16 21:00:19 +08:00
Cotes Chung
c0ba181246 Improved the PV fetching.
Discard some of the old permalink PV records.
2020-07-14 03:24:25 +08:00
Cotes Chung
b9b8dd8cf1 Beautified the comment block. 2020-06-24 20:47:01 +08:00
Cotes Chung
30b013f354 Make the tables responsive. (#85) 2020-06-24 20:08:38 +08:00
Cotes Chung
4d4e9a063e Ensure the LocalStroage keys are valid.
Also update the cache key name.
2020-06-24 02:57:02 +08:00
Cotes Chung
afccb144b1 Improved styles for hiding line numbers. 2020-06-24 02:57:02 +08:00
Cotes Chung
e87ef0d40e Fixed the PV cache. 2020-06-24 02:57:02 +08:00
Cotes Chung
42e0617bde Prettified the inline-code code style. 2020-06-22 21:17:58 +08:00
Cotes Chung
edeb08aa28 Removed the line number of the snippet in the search results. 2020-06-17 21:22:44 +08:00
Cotes Chung
b0a35de9c6 Resume page link hover effect. 2020-06-17 16:17:03 +08:00
Cotes Chung
618ae9dcbc Optimized the TOC position. 2020-06-11 22:01:15 +08:00
Cotes Chung
f9706411e7 Optimized pin icon size. 2020-06-09 20:37:42 +08:00
Felix Wolfsteller
ea4cd78921 typo fix: s/defualt/default/ 2020-06-08 15:44:59 +02:00
Cotes Chung
fbbd387402 Otpimized pin icon layout. 2020-06-07 21:51:11 +08:00
Cotes Chung
ba47cc0509 Optimized responsive layout. 2020-06-07 21:22:24 +08:00
Cotes Chung
34d54f9349 Super feature: Pinned posts. 2020-06-06 18:51:56 +08:00
Cotes Chung
3caafbd50d Unified file naming style. 2020-06-05 06:14:40 +08:00
Cotes Chung
88eac91909 Fixed anchor position (desktop views). 2020-06-02 22:14:40 +08:00
Cotes Chung
b28724b4d4 Hide the empty trending tags from panel. 2020-06-02 02:34:24 +08:00
Cotes Chung
75c57d1725 Simplified the post JS file. 2020-06-02 02:34:24 +08:00
Cotes Chung
75e462a9e9 Replaced the blank loading image with HTML trick. 2020-06-01 19:50:29 +08:00
Cotes Chung
02a269910f Optimized sidebar icons location.
screen width >= 1650px
2020-06-01 16:38:31 +08:00
Cotes Chung
be1d1554ea Corrected url within mainfest. 2020-05-30 17:48:16 +08:00
Cotes Chung
a2deea6537 Split the CSS selection from head tag. 2020-05-30 17:48:16 +08:00
Cotes Chung
1a2767ca24 Combine local JS.
’yui-compressor’ is no longer used.
2020-05-30 17:48:16 +08:00
Cotes Chung
cfb67a1cb9 Fixed image lazy loading. 2020-05-29 06:18:53 +08:00
Cotes Chung
db5eb0a18a Beautified syntax highlight for language diff. 2020-05-29 06:18:53 +08:00
Cotes Chung
064cefd9ff Combine CDN resources. 2020-05-26 23:25:57 +08:00
Cotes Chung
a57baf7e2c Optimized dark mode colors.
- the further reading cards
- button back-to-top
- table
2020-05-26 14:49:54 +08:00
Cotes Chung
c5783c1289 Reduce the heading font weight. 2020-05-23 20:41:08 +08:00
Cotes Chung
bcd394598b Fixed heading layout in blockquote. 2020-05-22 20:49:27 +08:00
Cotes Chung
8db0e2d238 Speed up PV display. 2020-05-12 02:16:36 +08:00
Cotes Chung
0f5c2b5c9d Added exclude list for PWA caching. 2020-05-12 01:40:39 +08:00
Cotes Chung
d8e45694bd New feature: PWA 2020-05-10 04:02:52 +08:00
Cotes Chung
ac9dc4d9ac Remove line number from post snippet (#51).
Involves:
- Home page
- relate posts
- search results
- feed
2020-05-09 01:15:33 +08:00
Cotes Chung
3f843f010a Avoid color sparkles when switching modes.
- the search bar (desktop view)
- the site title.
2020-05-09 01:15:33 +08:00
Cotes Chung
9c3d3fdeed Improved loading performance by merging CSS files. 2020-05-09 01:15:33 +08:00
Cotes Chung
8c4b186c52 Improved responsive design for search results.
in mobile views.
2020-05-04 00:56:56 +08:00
Karl Sandin
2cc399d015 Fix to search result overflow (#51)
* Fix to search result overflow
2020-05-04 00:53:00 +08:00
Cotes Chung
b543f3e19b Resume avatar brightness. 2020-05-01 02:18:04 +08:00
Cotes Chung
e561dfb9be Simplified the lazy loading of post images. 2020-05-01 02:18:04 +08:00
Cotes Chung
7b3e0f741a Fixed json parse issue on search. 2020-04-24 15:16:52 +08:00
Cotes Chung
078dab0299 Omit PV cache file from output. 2020-04-23 22:11:50 +08:00
Cotes Chung
f6d9ea10e2 Optimized the home page layout.
for tablet and above
2020-04-23 22:11:50 +08:00
Cotes Chung
d8a5ed194b Update lang-button style. 2020-04-23 22:11:50 +08:00
Cotes Chung
6f42bbc6e5 Fix issue #37. 2020-04-23 22:11:50 +08:00
Cotes Chung
648b199be8 Reduce the brightness in dark mode.
affect:
- images
- site title text
2020-04-23 22:11:50 +08:00
Cotes Chung
b393e12e30 Optimized typography. 2020-04-09 03:08:56 +08:00
Cotes Chung
3e8dc979c6 Optimized topbar responsive layout. 2020-04-08 02:12:25 +08:00
Cotes Chung
caf8dec568 Update the post meta design. 2020-04-08 02:12:25 +08:00
Cotes Chung
23784b3295 Optimized table color. 2020-04-08 02:12:25 +08:00
Cotes Chung
456f04112c Removed the border of code snippets. 2020-04-08 02:12:25 +08:00
Cotes Chung
1ce1455ce2 Improved the PV fetching experience. 2020-04-04 01:03:00 +08:00
Cotes Chung
8f0c3659d6 Resume hover effect for links on Category/Tag pages. 2020-04-01 20:45:41 +08:00
Cotes Chung
da55d34d9b Optimized some colors in light-mode. 2020-04-01 20:45:41 +08:00
Cotes Chung
91bb726216 Format the pv number. 2020-03-19 20:34:13 +08:00
Cotes Chung
d1e3b7b5ae Recover categories style.
missing on SCSS rewrite.
2020-03-04 07:29:31 +08:00
Cotes Chung
6fa8bbe922 Optimized the position of TOC. 2020-03-03 20:17:51 +08:00
Cotes Chung
01fe877ebb Optimize the tooltip position of sharing icons. 2020-03-01 05:03:40 +08:00
Cotes Chung
0425b1058f Optimize the typography. 2020-03-01 05:03:40 +08:00
Cotes Chung
3b4ea05cd3 Move files. 2020-02-28 06:19:38 +08:00
Cotes Chung
259a6624ed Improve the way of using color schemes.
- Gracefully switch code color scheme in the future.
- Also uniform border color.
2020-02-28 06:03:20 +08:00
Cotes Chung
4f903b3041 Separate the major variables. 2020-02-27 20:17:37 +08:00
Cotes Chung
bc8f8cb132 More friendly to sidebar personalization. 2020-02-27 15:29:40 +08:00
Cotes Chung
ec15ec4d8b Move elements' position.
for button ‘back-to-top’ and mode-toggle placeholder.
2020-02-27 04:04:00 +08:00
Cotes Chung
e4875b6318 Increase the footer border width.
in mobile views.
2020-02-26 03:13:09 +08:00
Cotes Chung
d6586ec2e6 Fixed dark mode compatibility for old browsers.
refer to issue #30
2020-02-26 03:13:09 +08:00
Cotes Chung
73d1027acc Rewrite styles with SCSS. 2020-02-26 00:49:51 +08:00
Cotes Chung
b7ffc43d8d Rewrite post’s style as sass. 2020-02-22 04:57:53 +08:00
Cotes Chung
6102d79e6e Add configurable label to post-nav button. 2020-02-22 03:15:26 +08:00
Cotes Chung
021311974f Replace the non-link elements.
Good for CSP.
2020-02-22 03:15:26 +08:00
Cotes Chung
ed15a81300 Footer responsive improvement. 2020-02-21 19:01:51 +08:00
Cotes Chung
232c956b81 Optimized icon position. 2020-02-21 04:48:07 +08:00
Cotes Chung
8e01d90018 Prettified the border. 2020-02-21 04:48:07 +08:00
Cotes Chung
8b059432d3 Improved the responsive of sidebar bottom. 2020-02-21 04:48:07 +08:00
Cotes Chung
4c631f6839 Enhanced JS function. 2020-02-21 04:48:07 +08:00
Cotes Chung
64125e6e42 Optimized the JS import sequence. 2020-02-21 04:48:07 +08:00
Cotes Chung
16bb4e4544 Changed the position of lastmod and related posts. 2020-02-21 04:48:07 +08:00
Cotes Chung
32d838fede Prettified the mode toggle switch. 2020-02-21 04:48:06 +08:00
Cotes Chung
840eab9566 Feature: Added post sharing options.
Also added a license statement at the bottom of the posts.
2020-02-21 04:48:06 +08:00
Cotes Chung
2ad56cf249 Redesigned Footer. 2020-02-21 04:48:06 +08:00
Cotes Chung
f302f798aa Change the tooltips placement.
Also modified code indentation.
2020-02-17 02:51:12 +08:00
Cotes Chung
65040ddd90 Optimized the dark-mode toggle 2020-02-15 16:36:19 +08:00
Cotes Chung
cdab915bd9 Optimized the footer responsive design. 2020-02-15 16:36:19 +08:00
Cotes Chung
44aba76849 Added footnote's dark-mode color. 2020-02-13 22:55:15 +08:00
Cotes Chung
f3a9b4b293 Rename CSS class. 2020-02-13 22:31:28 +08:00
Cotes Chung
a4435a45ec Imported the dark-mode toggle. 2020-02-13 22:31:28 +08:00
Cotes Chung
4390a00604 Set the dark-mode color of <hr>. 2020-02-13 22:24:31 +08:00
Cotes Chung
58af2fefce Finished the rest dark mode toggle job. 2020-02-13 22:24:31 +08:00
Cotes Chung
7e92a32243 Code style merge and resume some colors. 2020-02-12 00:27:35 +08:00
Miloslav Pavelka
7728cc4d3e Adding visibility classes for light and dark theme. 2020-02-09 18:11:58 +01:00
Miloslav Pavelka
3f11cef46f Allow toggling of dark scheme with a body class. 2020-02-09 15:23:39 +01:00
Cotes Chung
8e67f69297 Added new button style. 2020-02-09 03:06:27 +08:00
Cotes Chung
b27ae2e436 Beautified the dark-mode color of blockquote. 2020-02-04 04:55:09 +08:00
Cotes Chung
df288e38b9 Beautified the nav-button of Posts. 2020-02-04 04:55:09 +08:00
Cotes Chung
c53f23df5c Beautified the ToC. 2020-02-04 04:55:09 +08:00
Cotes Chung
9bd0b1bdf8 Optimized the position of avatar. 2020-02-04 04:55:09 +08:00
Cotes Chung
e09fd4d6c8 Beautified the table's in dark mode. 2020-02-04 04:55:09 +08:00
Cotes Chung
53e01c1778 Code optimization. 2020-01-14 02:57:31 +08:00
Cotes Chung
335b956e13 Reduce font weight of post nav-button. 2020-01-14 02:57:31 +08:00
Cotes Chung
8fcf1e35fc Dark mode color optimization. 2020-01-14 02:57:31 +08:00
Cotes Chung
b534ab74de Optimized the dark mode color of Categories. 2020-01-14 02:57:31 +08:00
Cotes Chung
a812ded9cd Updated Docs. 2020-01-14 02:57:31 +08:00
Cotes Chung
34836f7703 Beautified sidebar in x-large screens.
screen width >= 1650px
2020-01-14 02:57:31 +08:00
Cotes Chung
2386fe5bd8 Another super feature: auto dark mode! 2020-01-14 02:57:31 +08:00
Cotes Chung
1c2be0c243 Updated syntax highlighter. 2020-01-14 02:57:31 +08:00
Cotes Chung
9495596f49 Changed images location and effects. 2020-01-14 02:57:31 +08:00
Cotes Chung
a42a5bfab4 Beautified the navigation button in post. 2020-01-14 02:57:31 +08:00
Cotes Chung
2ad4dc1b4e Display title in post's page button. 2020-01-14 02:57:31 +08:00
Cotes Chung
8591e921e4 Added more project info in files. 2020-01-14 02:57:31 +08:00
Cotes Chung
fa43f92370 Beautified the hover of related post. 2020-01-14 02:57:31 +08:00
Cotes Chung
5bb810875b Moved search cache. 2020-01-02 08:45:51 +08:00
Cotes Chung
3248343c22 A super huge improvement in search.
- Added a cleanup button within input form.
- Optimized TopBar responsive effect(for search layout).
- Redesign the search results layout.
2020-01-02 02:29:13 +08:00
Cotes Chung
fc3a19c4d6 Split more Post's CSS. 2019-12-24 01:32:08 +08:00
Cotes Chung
77a47c4b62 Fixed some HTML tags. 2019-12-24 00:37:26 +08:00
Cotes Chung
40e44158ae Optimize response design for License text. 2019-12-21 23:20:43 +08:00
Cotes Chung
870b11bd70 Change pagination position.
screen  width <= 830px.
2019-12-21 23:20:43 +08:00
Cotes Chung
1f8bfdf257 Make configuration more flexible. 2019-12-19 04:08:40 +08:00
Cotes Chung
3422e2a66f Fixed a potential JSONP callback exception. 2019-12-19 04:08:40 +08:00
Cotes Chung
3c8fb76356 Beautified PV loading icon. 2019-12-19 03:06:33 +08:00
Cotes Chung
bbdad4ebd9 Optimized the indentation of layout Category and Tag. 2019-12-16 00:06:45 +08:00
Cotes Chung
9992e11228 Change the ToC hiding rule.
Adapt to bootstrap-toc plugins.
2019-12-16 00:06:45 +08:00
Cotes Chung
ebbd818223 Split the css importing.
CRP optimization.
2019-12-02 03:07:48 +08:00
Cotes Chung
3010e0b34e Beautified the profile text responsive design.
for screens >= 1650px wide
2019-12-02 03:05:23 +08:00
Cotes Chung
7bdbd2aa4f Optimize the style of footnotes. 2019-12-02 03:05:23 +08:00
Cotes Chung
7f3ea0d79b Move file. 2019-12-02 03:05:23 +08:00
Cotes Chung
98e1cf8252 Beautified the tags in posts. 2019-12-02 03:05:23 +08:00
Cotes Chung
5354a2adbf Optimized anchor location. 2019-12-02 03:05:23 +08:00
Cotes Chung
1c77b8f9f2 Fixed post content min-height. 2019-12-02 03:05:23 +08:00
Cotes Chung
8417727e6e Fixed the posts' layout jumping in loading.
screen width >= 1200px and the panel is visible.
2019-12-02 03:05:23 +08:00
Cotes Chung
bd5e8be215 Hide ToC when scrolling to bottom. 2019-12-02 03:05:23 +08:00
Cotes Chung
54ed9bcc18 Correct spelling. 2019-12-02 03:05:23 +08:00
Cotes Chung
bec924ed4c Optimize performance. 2019-12-02 03:05:23 +08:00
Cotes Chung
0e6edb0d1a Optimized JS to hide empty ToC. 2019-11-25 01:07:01 +08:00
Cotes Chung
75b825cdde Add animation to ToC. 2019-11-24 23:54:27 +08:00
Cotes Chung
81721ef295 Change arrow direction in Categories page. 2019-11-23 00:51:55 +08:00
Cotes Chung
7f94cbe787 Reduce pagination button size. 2019-11-23 00:27:41 +08:00
Cotes Chung
a65472d2d8 Optimized the width of footer. 2019-11-23 00:01:57 +08:00
Cotes Chung
97e0b61eed Optimized tab's layout. 2019-11-22 23:55:24 +08:00
Cotes Chung
e8b22b8eb0 Optimized the layout for x-large screens.
Including 2K or above screen resolution.
2019-11-21 22:43:01 +08:00
Cotes Chung
299d7e799f Remove unused css. 2019-11-20 01:51:16 +08:00
Cotes Chung
bb60c9dcf8 Beautified the search input. 2019-11-20 01:50:55 +08:00
Cotes Chung
aa77054172 Increase tables' default width. 2019-11-20 01:50:55 +08:00
Cotes Chung
6a65ce2db2 Split the CSS to save load time. 2019-11-20 01:50:55 +08:00
Cotes Chung
274038fcc0 Optimized the sidebar in extra small screens. 2019-11-20 01:50:55 +08:00
Cotes Chung
2208b43bae Redesign sidebar for xlarge screens.
Screen width greater than FHD.
2019-11-20 01:50:55 +08:00
Cotes Chung
9565429ee0 Optimized sidebar cursor effect on touch screens. 2019-11-20 01:50:55 +08:00
Cotes Chung
342a28d6ed Truncate long title with ellipsis in Archives.
Extended from mobile views to desktop views.
2019-11-20 01:50:55 +08:00
Cotes Chung
79b5f51eb5 Hide line-number in console/terminal snippet. 2019-11-20 01:50:55 +08:00
Cotes Chung
91c7fbe30a Simplified trending tags structure. 2019-11-20 01:50:55 +08:00
Cotes Chung
15a2a98e05 Improved post loading speed.
Also improved the layout for Home page.
2019-11-20 01:50:55 +08:00
Cotes Chung
31cacb7278 Beautified the tags. 2019-11-20 01:50:55 +08:00
Cotes Chung
94cb59fc27 Beautified the relate-posts card. 2019-11-20 01:50:55 +08:00
Cotes Chung
d585d66fc5 Fixed the sidebar cursor jumping on Safari. 2019-11-20 01:50:55 +08:00
Cotes Chung
3b102ee4c6 Improved the Recent-Update list. 2019-11-20 01:50:55 +08:00
Cotes Chung
094b3da714 Add Related-Posts in the bottom of each posts. 2019-11-20 01:50:55 +08:00
Cotes Chung
4287b9e612 Renamed variable in Config. 2019-11-20 01:50:55 +08:00
Cotes Chung
a589831812 Improved the compatibility in Firefox. 2019-11-20 01:50:55 +08:00
Cotes Chung
574be381c6 Beautified the style for code snippets. 2019-11-20 01:50:55 +08:00
Cotes Chung
cf4a7f2e2f Improved the TOC.
Automatically hide TOC titles
2019-11-20 01:50:55 +08:00
Cotes Chung
e7c689e255 Beautified the timeline on Archive page. 2019-11-20 01:50:55 +08:00
Cotes Chung
b845c829f6 Import the framework. 2019-11-18 01:08:03 +08:00