Add kbd style, correct margin
This commit is contained in:
parent
102b12cd25
commit
9a796e0b2a
1 changed files with 9 additions and 3 deletions
|
@ -24,6 +24,14 @@ pre {
|
|||
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 {
|
||||
|
@ -55,7 +63,6 @@ main {
|
|||
footer {
|
||||
grid-area: footer;
|
||||
align-self: end;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
@media (min-width:900px) or ((min-aspect-ratio:1/1) and (min-width:300px)) {
|
||||
|
@ -230,6 +237,7 @@ body.blog {
|
|||
line-height: 1.5;
|
||||
max-width: 50em;
|
||||
background: #fff5f0;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
@media (min-width:900px) or ((min-aspect-ratio:1/1) and (min-width:300px)) {
|
||||
.blog main {
|
||||
|
@ -237,8 +245,6 @@ body.blog {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
main h1 {
|
||||
margin: 0.5em 0 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue