This commit is contained in:
2026-01-01 23:58:32 +08:00
parent 5fb144ea64
commit 05feb6dbbb
9 changed files with 250 additions and 59 deletions

View File

@@ -1,21 +0,0 @@
@layer utilities {
.line {
@apply block relative min-h-[1rem] pl-[6.25rem];
}
}
.line::before {
content: attr(data-line);
position: absolute;
left: 0;
width: 5.25rem;
padding-right: 1rem;
text-align: right;
color: white;
user-select: none;
font-size: 0.85em;
}
.dark .line::before {
color: #666666;
}

View File

@@ -135,4 +135,10 @@ html {
.prose pre {
background-color: var(--code-bg, #111827);
overflow-x: auto;
overflow-y: hidden;
}
.prose pre code {
white-space: pre;
}