diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-07 23:06:23 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-07 23:06:23 +0900 |
| commit | 9d5ec5e3bc01c6174dea048e118edee579c36565 (patch) | |
| tree | 8bdb98836728e14f61bad56043f67bb352590963 /services/nuldoc/public/about/style.css | |
| parent | 479747454273abdbe9b5cc3f5c3dd18bbda7741a (diff) | |
| download | nsfisis.dev-9d5ec5e3bc01c6174dea048e118edee579c36565.tar.gz nsfisis.dev-9d5ec5e3bc01c6174dea048e118edee579c36565.tar.zst nsfisis.dev-9d5ec5e3bc01c6174dea048e118edee579c36565.zip | |
fix(style): fix codeblock style for rouge
Diffstat (limited to 'services/nuldoc/public/about/style.css')
| -rw-r--r-- | services/nuldoc/public/about/style.css | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/services/nuldoc/public/about/style.css b/services/nuldoc/public/about/style.css index eba86a34..4090151a 100644 --- a/services/nuldoc/public/about/style.css +++ b/services/nuldoc/public/about/style.css @@ -181,18 +181,18 @@ code { font-size: 0.9rem; } -.shiki code { +.codeblock code { background-color: unset; padding: 0; } /* https://github.com/shikijs/shiki/issues/3 */ -.shiki code { +.codeblock.numbered code { counter-reset: codeblock-line-number; counter-increment: codeblock-line-number 0; } -.numbered .shiki code .line::before { +.codeblock.numbered code .codeblock-line::before { content: counter(codeblock-line-number); counter-increment: codeblock-line-number; width: 2rem; @@ -280,7 +280,7 @@ h1 { .admonition { background-color: #f5f5f5; - border: 1px solid #d1d1d1; + border: 1px solid #ddd; padding: 1rem 1.5rem; margin: 1rem 0; } @@ -335,8 +335,8 @@ img { gap: 1rem; margin: 2rem 0; padding: 1rem 0; - border-top: 1px solid #d1d1d1; - border-bottom: 1px solid #d1d1d1; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; } .pagination-page { @@ -368,7 +368,7 @@ img { color: #fff; } -.pagination-elipsis { +.pagination-ellipsis { color: #999; } |
