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 { img.header {
width: 100%; width: 100%;
border-radius: var(--radius);
} }
</style> </style>

View file

@ -103,16 +103,19 @@ video {
} }
code { code {
padding-left: 0.15em; padding-left: 0.3em;
padding-right: 0.15em; 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; font-family: "Fira Code VF", monospace;
} }
pre code { pre code {
display: block; display: block;
width: 100%; padding: 1rem;
padding: 0.5rem;
overflow-x: scroll; overflow-x: scroll;
background-color: var(--foreground);
} }
details[open] { details[open] {