Merge branch 'master' into master

This commit is contained in:
newhinton
2019-02-28 14:57:20 +01:00
committed by GitHub
14 changed files with 62 additions and 10534 deletions

View File

@ -36,6 +36,7 @@
a {
flex: 0 0 auto;
max-width: 100%;
text-decoration: none;
}
}

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;

View File

@ -30,8 +30,7 @@ pre[class*="language-"] {
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
margin: 0;
overflow: auto;
}