body blocks : add code mark and style
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s

This commit is contained in:
isUnknown 2026-03-31 19:28:10 +02:00
parent b492fbcf9b
commit f1733992db
4 changed files with 28 additions and 1 deletions

View file

@ -75,6 +75,19 @@ html {
border: none;
}
code {
font-family: monospace;
font-size: 1.1rem;
padding: 0.1rem 0.4rem;
background-color: #fff;
color: #000;
}
[data-theme="light"] code {
background-color: #000;
color: #ffff;
}
@media screen and (min-width: 640px) {
body.full-width {
--padding-body: calc(var(--unit--horizontal) * 10);

View file

@ -106,6 +106,19 @@ html {
border: none;
}
code {
font-family: monospace;
font-size: 1.1rem;
padding: 0.1rem 0.4rem;
background-color: #fff;
color: #000;
}
[data-theme=light] code {
background-color: #000;
color: white;
}
@media screen and (min-width: 640px) {
body.full-width {
--padding-body: calc(var(--unit--horizontal) * 10);

File diff suppressed because one or more lines are too long

View file

@ -8,3 +8,4 @@ marks:
- italic
- link
- underline
- code