Add kbd style, correct margin

This commit is contained in:
Midgard 2020-06-09 13:46:48 +02:00
parent 102b12cd25
commit 9a796e0b2a
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -24,6 +24,14 @@ pre {
white-space: pre-wrap; white-space: pre-wrap;
} }
kbd {
padding: 0.3em 0.4em 0.2em;
border-radius: 0.5em;
background-color: #fff;
border-bottom: 1px solid #ddd;
vertical-align: middle;
}
body { body {
@ -55,7 +63,6 @@ main {
footer { footer {
grid-area: footer; grid-area: footer;
align-self: end; align-self: end;
margin-top: 2em;
} }
@media (min-width:900px) or ((min-aspect-ratio:1/1) and (min-width:300px)) { @media (min-width:900px) or ((min-aspect-ratio:1/1) and (min-width:300px)) {
@ -230,6 +237,7 @@ body.blog {
line-height: 1.5; line-height: 1.5;
max-width: 50em; max-width: 50em;
background: #fff5f0; background: #fff5f0;
margin-bottom: 2em;
} }
@media (min-width:900px) or ((min-aspect-ratio:1/1) and (min-width:300px)) { @media (min-width:900px) or ((min-aspect-ratio:1/1) and (min-width:300px)) {
.blog main { .blog main {
@ -237,8 +245,6 @@ body.blog {
} }
} }
main h1 { main h1 {
margin: 0.5em 0 0; margin: 0.5em 0 0;
} }