7 Commits

Author SHA1 Message Date
Johnathan Lin
cd89b8d726
Merge branch 'master' into from-remote 2024-04-01 20:32:35 +08:00
Aditya Telange
045c08496d
Highlight.js -> Hugo's chromastyles (#1364)
* remove hljs

* rename var --hljs-bg to --code-block-bg

* bundle chroma-styles from css/includes/chroma-styles.css

* add compatibility fixes for papermod <-> chroma

* fix line-num and line padding and set width for line container to 100%

* After a lot of experimentation this compatiblity should work well

* fix inline line highlights not working

* Use catppuccin-macchiato as default theme with highlightStyle 'bg:#474733'

- hugo gen chromastyles --style catppuccin-macchiato --highlightStyle 'bg:#474733' > assets/css/includes/chroma-styles.css
2023-12-31 10:27:54 +05:30
JohnathanLin
4e68850975 修改间距 2023-12-15 23:39:55 +08:00
JohnathanLin
af9a7f7172 优化了圆角弧度,增加了藏书shortcodes 2023-05-02 19:55:11 +08:00
JohnathanLin
111261d496 修改页面样式 2023-02-23 23:52:08 +08:00
Aditya Telange
7c930ee4ea
Converts colour values from rgba/hex to rgb (#560)
- Except for code-copy btn
- Emojis were affected by theme opacity values, fixes: #557
2021-09-20 21:08:44 +05:30
Aditya Telange
e503367a1a
[BREAKING] Split-up css into sub-parts (#317)
* Move styles into 3 different locations
- core
- common
- hljs

* Load all stylesheets in proper order
2021-03-27 11:28:55 +05:30