Improve styles
This commit is contained in:
parent
5dde0aeb5c
commit
b3063a4c85
2 changed files with 8 additions and 4 deletions
|
@ -59,5 +59,6 @@
|
||||||
|
|
||||||
img.header {
|
img.header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border-radius: var(--radius);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -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] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue