Fix layout

This commit is contained in:
panr
2019-02-09 00:33:23 +01:00
parent 6a0931d54a
commit 36bae52cd3
9 changed files with 26 additions and 258 deletions

View File

@ -29,10 +29,11 @@ body {
}
h1, h2, h3, h4, h5, h6 {
display: flex;
align-items: center;
font-weight: bold;
line-height: 1.3;
&:not(first-child) {
margin-top: 40px;
}
}
h1, h2, h3 {
@ -121,12 +122,18 @@ code {
pre {
background: transparent;
padding: 20px;
padding: 20px 10px;
margin: 40px 0;
font-size: .95rem;
overflow: auto;
border-top: 1px solid rgba(255, 255, 255, .1);
border-bottom: 1px solid rgba(255, 255, 255, .1);
+ pre {
border-top: 0;
margin-top: -40px;
}
@media (--phone) {
white-space: pre-wrap;
word-wrap: break-word;