Improve styles

This commit is contained in:
pancakes 2025-08-20 18:09:46 +10:00
parent 5dde0aeb5c
commit b3063a4c85
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
2 changed files with 8 additions and 4 deletions

View file

@ -59,5 +59,6 @@
img.header {
width: 100%;
border-radius: var(--radius);
}
</style>

View file

@ -103,16 +103,19 @@ video {
}
code {
padding-left: 0.15em;
padding-right: 0.15em;
padding-left: 0.3em;
padding-right: 0.3em;
background-color: var(--foreground);
border: 2px dotted color-mix(in srgb, var(--foreground) 60%, var(--accent));
border-radius: var(--radius);
font-family: "Fira Code VF", monospace;
}
pre code {
display: block;
width: 100%;
padding: 0.5rem;
padding: 1rem;
overflow-x: scroll;
background-color: var(--foreground);
}
details[open] {