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/default | |
| 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/default')
| -rw-r--r-- | services/nuldoc/public/default/404.html | 2 | ||||
| -rw-r--r-- | services/nuldoc/public/default/index.html | 2 | ||||
| -rw-r--r-- | services/nuldoc/public/default/style.css | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/services/nuldoc/public/default/404.html b/services/nuldoc/public/default/404.html index 466c34d4..0cc57490 100644 --- a/services/nuldoc/public/default/404.html +++ b/services/nuldoc/public/default/404.html @@ -14,7 +14,7 @@ <meta name="Hatena::Bookmark" content="nocomment"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>Page Not Found|nsfisis.dev</title> - <link rel="stylesheet" href="/style.css?h=81dfc0b483beda175e3e17562faac7c9"> + <link rel="stylesheet" href="/style.css?h=c3724e2d900f13528c82005e79a8ec23"> </head> <body class="single"> <header class="header"> diff --git a/services/nuldoc/public/default/index.html b/services/nuldoc/public/default/index.html index b5bc01e6..51088ef7 100644 --- a/services/nuldoc/public/default/index.html +++ b/services/nuldoc/public/default/index.html @@ -15,7 +15,7 @@ <link rel="alternate" type="application/atom+xml" href="https://nsfisis.dev/atom.xml"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>nsfisis.dev</title> - <link rel="stylesheet" href="/style.css?h=81dfc0b483beda175e3e17562faac7c9"> + <link rel="stylesheet" href="/style.css?h=c3724e2d900f13528c82005e79a8ec23"> </head> <body class="single"> <header class="header"> diff --git a/services/nuldoc/public/default/style.css b/services/nuldoc/public/default/style.css index eba86a34..4090151a 100644 --- a/services/nuldoc/public/default/style.css +++ b/services/nuldoc/public/default/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; } |
