Cotes Chung
41b8f9f519
feat(layout): center the footer
2023-09-07 01:58:03 +08:00
Cotes Chung
4f86b04a84
perf(ui): improve code snippet design
...
- Apply the new syntax color themes
- Center the text in the code snippet header
- Maintaining space to the left of a 3-digit line number or more
2023-09-03 20:13:00 +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
e07e6d46d7
refactor: revert media query range notation ( #1072 )
...
Media queries range syntax not supported by Safari for iOS under 16.4
See also:
- https://caniuse.com/?search=media-queries
This reverts commit 1682ce9d7c
.
2023-07-02 20:16:36 +08:00
Cotes Chung
1682ce9d7c
style(scss): fix style-lint media-feature-range-notation
issue ( #1072 )
...
See also: https://stylelint.io/user-guide/rules/media-feature-range-notation/
2023-06-04 12:29:33 +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
6d99f5cc36
feat(ui): improve code snippet design
2023-05-13 02:05:33 +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
3c7934abf0
style: improve code style of SCSS & YAML
2023-03-16 03:36:52 +08:00
Cotes Chung
41ed331456
fix: copy command line incomplete(.gp
part)
2023-01-13 03:52:32 +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
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
378b65a061
fix: the code
doesn’t wrap inside the prompt ( #626 )
...
Fixes #626
2022-07-02 00:53:55 +08:00
Cotes Chung
76a1b6a068
fix(theme mode): SCSS
syntax error ( #588 )
...
Fixes #588
2022-05-30 05:50:46 +08:00
Cotes Chung
4986db1204
Improve SCSS comment symbols: change //
to /* */
2022-02-14 23:39:50 +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
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
6a65f3a7f7
New design for code snippet header
2021-12-03 16:34:26 +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
a34b77969f
Simplify the style of <a>
2021-12-02 05:51:30 +08:00
Cotes Chung
b5c26fed08
Fix SCSS code style
2021-10-26 04:29:16 +08:00
Cotes Chung
9844b964a8
Improve the alignment of code block
2021-09-29 16:44:03 +08:00
Cotes Chung
9e9278ce30
Fix code style of SCSS files
2021-09-24 15:35:44 +08:00
Cotes Chung
1bb54096f4
Improve the UX of clipboard button
2021-09-24 15:13:00 +08:00
Cotes Chung
abb548fcee
Change the icon & color of the code block header
2021-09-24 15:13:00 +08:00
Cotes Chung
ed93fbdfde
Covert the language alias on code header
2021-09-24 15:13:00 +08:00
Cotes Chung
4ad0a76789
Add label icon to code snippet header
2021-09-24 15:13:00 +08:00
Cotes Chung
e5bf234835
Fix cursor for some buttons & links ( fix #411 )
2021-09-17 16:58:32 +08:00
Cotes Chung
e607e5fe86
Restore the copy URL function that was deleted by mistake
2021-09-16 17:55:52 +08:00
Cotes Chung
beabb36d7f
Add custom title to code block
2021-09-16 01:17:09 +08:00
Cotes Chung
53b0329e5a
Improve the clipboard UX
2021-09-15 14:57:59 +08:00
Cotes Chung
20454e5a57
Add the feature of hiding line numbers
2021-09-13 22:26:17 +08:00
Cotes Chung
2537283beb
Add clipboard button to code block
2021-09-11 00:30:21 +08:00
Cotes Chung
7dc7a7efc8
Add code block header
2021-09-11 00:30:21 +08:00
Cotes Chung
961ebb545b
Set the dollar sign of code snippets to non-selectable
2021-07-08 21:19:33 +08:00
Cotes Chung
c98a41317f
Add a hook for custom variables ( fix #355 )
2021-07-04 23:24:30 +08:00
Cotes Chung
de7d2fab7c
Optimize the language badge position in code block
2021-02-10 21:15:58 +08:00
Cotes Chung
adc117972a
Fix the year of copyright
2021-01-28 03:37:08 +08:00
Cotes Chung
b7266aceac
Contact theme styles
2021-01-25 02:44:35 +08:00