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
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
5561cd86b5
refactor(icons): upgrade font-awesome syntax to version 6
2022-12-08 06:16:22 +08:00
Nihil
8134209aa2
chore: optimize list indentation ( #727 )
2022-11-05 04:58:23 +08:00
Cotes Chung
1fd665bf49
perf: modify checkbox icon with Liquid
...
Also optimize list padding start
2022-10-24 21:06:02 +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
3432413020
refactor(mobile): resume footer slide animation & content min-height
2022-10-14 01:48:28 +08:00
Cotes Chung
fd5df7e1a1
refactor(typo): optimize the site-title position
2022-10-13 22:36:09 +08:00
Cotes Chung
1082d041ca
refactor: improve prompt box layout
...
When the prompt is inside the list, the icon position is outside the prompt box.
Introduced by fb13e32
2022-10-09 20:10:03 +08:00
Cotes Chung
eac3f9b434
perf(typography): optimize the line height of post content
2022-10-09 20:10:03 +08:00
Cotes Chung
fb13e3219b
fix: prompt content overflows horizontally ( #705 )
...
Resolves #705
2022-10-07 18:34:12 +08:00
Cotes Chung
d2fb98b3e5
perf(posts): improve core block bottom padding
...
Fixes the relative position between the bottoms of the core-wrapper and the ToC (caused by b405a58
)
2022-10-06 03:30:09 +08:00
Josh Johanning
39da11e3f3
perf: optimize the extra padding in lists ( #703 )
...
Resolves #702
2022-10-05 15:17:50 +08:00
Cotes Chung
3ffd19d81d
refactor: rename color variable
2022-09-29 22:50:41 +08:00
Cotes Chung
49bb93cc0c
perf(layout): improve the min-height of main content ( #674 )
2022-09-29 22:50:40 +08:00
Cotes Chung
378b65a061
fix: the code
doesn’t wrap inside the prompt ( #626 )
...
Fixes #626
2022-07-02 00:53:55 +08:00
Cotes Chung
fd0f983bbe
chore: optimize the layout of main content and search input
2022-06-09 03:46:47 +08:00
Cotes Chung
5d6e8c5ef6
perf: improve the responsive design for ultrawide screens ( #540 )
...
Resolves #540
2022-06-08 16:15:38 +08:00
Cotes Chung
d127183b97
feat(PWA): add Service Worker update notification
2022-06-04 23:54:06 +08:00
Cotes Chung
76a1b6a068
fix(theme mode): SCSS
syntax error ( #588 )
...
Fixes #588
2022-05-30 05:50:46 +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
Jayitha
30787fc4cf
fix: horizontal scroll for long equations ( #545 )
2022-04-03 04:10:34 +08:00
Cotes Chung
4986db1204
Improve SCSS comment symbols: change //
to /* */
2022-02-14 23:39:50 +08:00
Cotes Chung
35e013f7fd
Adapt the search input to Bootstrap 4.6
2022-02-14 22:15:38 +08:00
Cotes Chung
e52dc9551c
Beautify heading style (margin, anchor)
2022-02-14 22:15:38 +08:00
Cotes Chung
5753118d8b
Keep the original image shadow of the theme
...
Bootstrap 4.6.x has its own class `.shadow`
2022-02-14 21:41:50 +08:00
Cotes Chung
6c4d0e0def
Rename prompt type note
to info
2022-02-14 20:14:39 +08:00
Cotes Chung
15cfa84ddb
Add tip
type prompt
2022-02-13 03:08:57 +08:00
Cotes Chung
3685685b28
Make the source of the static assets configurable
...
- Easy to switch between different CDN
- Allow self-host static assets
2022-02-10 04:12:35 +08:00
Cotes Chung
fc36f8b66d
Improve the color of prompts
2022-01-28 23:48:46 +08:00
Cotes Chung
3d8184602b
Merge branch 'feature/filepath-code'
2022-01-23 04:04:38 +08:00
Cotes Chung
756465d621
Add filepath
style for code
2022-01-23 03:49:28 +08:00
Cotes Chung
ca181422a6
Add blockquote prompts ( resolve #489 )
2022-01-23 01:59:36 +08:00
Cotes Chung
a6c73e8f4f
Avoid image caption shifting on load
2022-01-13 01:07:47 +08:00
Cotes Chung
f8f4dd889e
Normalized attribute name in HTML
...
Add prefix `data-` for following attributes:
- `topbar-visible`
- `mode`
- `label-text`
- `title-succeed`
2022-01-13 00:23:08 +08:00
Cotes Chung
96e7cd79af
Avoid whitespace before anchors when wrapping
2022-01-12 22:51:38 +08:00
Cotes Chung
2cef631385
Hide topbar when mobile orientation in landscape mode ( resolve #459 )
2022-01-09 19:09:29 +08:00
Cotes Chung
f2a2792405
Fix responsive design of search hints
2022-01-08 02:28:10 +08:00
Cotes Chung
cad62feb91
Beautify the style of <kbd>
( resolve #471 )
2022-01-02 16:28:42 +08:00
Cotes Chung
ecf31ff308
Fix the code style of SASS
2021-12-31 00:33:04 +08:00
Cotes Chung
9e2a4fc8c9
Merge branch 'feature/simplify-html-struct'
2021-12-31 00:09:53 +08:00
iwasaki501
f7ec9cd24a
Bug Fix: Link in a heading is rendered as an anchor and becomes invisible unless it is hovered. ( #469 )
...
`<a>` tags in headings are set to apply the style of `%anchor` in `module.scss` and `common.scss`.
Therefore, if I put a link in a heading, the link will have the same style as the anchor,
which means that the font size becomes smaller and the link will not be displayed unless I hover the mouse over it.
My suggestion is to set an `anchor` class for the `<a>` tag of the anchor and apply style settings to the `anchor` class, not to the `a` tag.
2021-12-30 15:57:02 +08:00
Cotes Chung
a403ffee42
Reduce style class for page layout
2021-12-13 21:09:32 +08:00
Cotes Chung
d919f833f1
Show heading anchor on touch devices
2021-12-10 00:28:50 +08:00
Cotes Chung
df81012e28
Always close the top bar when smooth scrolling
2021-12-10 00:28:50 +08:00
Cotes Chung
09742d40dd
Prevent the anchor of the heading from being awakened early
2021-12-09 18:52:02 +08:00
Cotes Chung
cf6c8e9b3a
Improve accessibility of panel heading elements
2021-12-07 23:09:00 +08:00
Cotes Chung
c64e587335
Improve SEO & accessibility on mode toggle element
2021-12-07 23:09:00 +08:00
Cotes Chung
1487ae5284
Add style for heading anchor
2021-12-07 16:26:26 +08:00
Cotes Chung
b1377ac694
Improve heading font-size & layout
2021-12-05 23:44:04 +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
9f5e579596
Merge branch 'feature/use-default-scrollbar'
2021-12-05 16:42:43 +08:00
Cotes Chung
afcf0bde22
Refactor footer style
2021-12-05 04:42:53 +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
902546cf4d
Remove unused style for mode-toggle
2021-12-03 21:23:37 +08:00
Cotes Chung
e06d237eae
Use the default scroll bar
...
And make the Chrome scroll bar on Windows support dark mode
2021-12-03 21:23:37 +08:00