Tweaked styles to better handle code examples

This commit is contained in:
Marcus Noble 2017-10-11 19:57:52 +01:00
parent 8ba23cc535
commit 0b62e359e2
1 changed files with 19 additions and 3 deletions

View File

@ -39,8 +39,24 @@ a {
} }
pre code { pre code {
overflow: scroll; overflow-x: auto;
overflow-y: auto;
padding-bottom: 15px; padding-bottom: 15px;
font-size: 0.85em;
}
p > code {
background-color: #3f3f3f;
color: #dcdcdc;
font-size: 0.9em;
padding: 2px;
}
blockquote {
border-left: 8px solid rgba(121, 130, 139, 0.52);
margin-left: 0;
padding-left: 1em;
color: #79828B;
} }
figure { figure {
@ -68,7 +84,7 @@ iframe {
} }
.container { .container {
max-width: 732px; max-width: 1020px;
margin: 0 auto; margin: 0 auto;
} }
@ -142,4 +158,4 @@ footer {
a svg { a svg {
height: 40px; height: 40px;
} }
} }