This commit is contained in:
2026-01-01 00:13:50 +08:00
parent 179f1e1f31
commit 87c2d29079
8 changed files with 453 additions and 19 deletions

19
app/assets/css/code.css Normal file
View File

@@ -0,0 +1,19 @@
@layer utilities {
pre code .line {
@apply block relative min-h-[1rem];
}
}
pre code .line::before {
content: attr(data-line);
position: absolute;
top: 0;
left: -6.25rem;
color: #cccccc;
user-select: none;
}
.dark pre code .line::before {
color: #777777;
opacity: 0.43;
}