Commit Graph

40 Commits

Author SHA1 Message Date
Cotes Chung 50835b4c71
refactor: optimize meta font size 2023-10-08 04:40:16 +08:00
Cotes Chung 2574118f40
perf(ui): standardize metadata text styles (#1295) 2023-10-04 14:29:44 -05:00
Cotes Chung 0465a985dc
fix(posts): resume target highlighting for superscripts and footnotes (#1253)
`<sup>` and `<footnote>` are highlighted when in `:target` state, but this feature has been missing since `v6.1.0` due to an oversight in development.
2023-09-20 04:27: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 37c976499e
perf(ui): improve web accessibility (#447)
- Make color and contrast meets WCAG 2 AA and above
- Fixes `aria-label` on button "copy link" in posts
2023-08-02 21:08:56 +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 83bbe4ac93
feat(ui): redesign the sidebar 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
Song-Zi Vong 7ec31e8948
refactor: enhance the configurability of fonts (#986) 2023-04-17 01:31:49 +08:00
Cotes Chung 3c7934abf0
style: improve code style of SCSS & YAML 2023-03-16 03:36:52 +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 ab16fdc7fc
feat: add shimmer background when image loads 2022-12-24 23:51:47 +08:00
Cotes Chung 5561cd86b5
refactor(icons): upgrade font-awesome syntax to version 6 2022-12-08 06:16:22 +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 4986db1204 Improve SCSS comment symbols: change `//` to `/* */` 2022-02-14 23:39:50 +08:00
Cotes Chung e52dc9551c Beautify heading style (margin, anchor) 2022-02-14 22:15:38 +08:00
Cotes Chung fc36f8b66d Improve the color of prompts 2022-01-28 23:48:46 +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 96e7cd79af Avoid whitespace before anchors when wrapping 2022-01-12 22:51:38 +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 d919f833f1 Show heading anchor on touch devices 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 1487ae5284 Add style for heading anchor 2021-12-07 16:26:26 +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 1c758cf4a2 Update related styles 2021-12-02 05:54:43 +08:00
Cotes Chung 833b6c9d5c Hide the cursor of icons, images, and code snippets
Found on Windows with mouse
2021-12-02 05:51:30 +08:00
Cotes Chung 395b24736a Improve the layout of sidebar icons 2021-09-24 14:54:15 +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 c1b8e28601 Fix links color in search results 2021-04-11 01:18:19 +08:00
Cotes Chung 834de0f02c Optimize the typo color 2021-04-02 16:10:07 +08:00
Cotes Chung adc117972a Fix the year of copyright 2021-01-28 03:37:08 +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/_addon/module.scss (Browse further)