Skip to content

Commit f97eb13

Browse files
tianzhouclaude
andcommitted
chore: style prose inline code and remove backtick decorations
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 01ab401 commit f97eb13

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

website/src/app/globals.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,20 @@
3131
}
3232
}
3333
}
34+
35+
.prose code:not(pre code) {
36+
background-color: var(--color-mist-200);
37+
padding: 0.2em 0.4em;
38+
border-radius: 0.25rem;
39+
font-size: 0.875em;
40+
font-weight: normal;
41+
42+
&::before,
43+
&::after {
44+
content: none !important;
45+
}
46+
47+
.dark & {
48+
background-color: var(--color-mist-800);
49+
}
50+
}

0 commit comments

Comments
 (0)