disable text wrapping in code blocks

This commit is contained in:
Felix Lange 2019-11-01 14:09:53 +01:00
parent 536193e210
commit 44ca35842d

View file

@ -1,46 +1,52 @@
body { body {
padding-top: 50px; padding-top: 50px;
} }
h1, h2, h3 { h1, h2, h3 {
margin-top: 36px; margin-top: 36px;
margin-bottom: 24px; margin-bottom: 24px;
}
pre code {
white-space: pre;
} }
code { code {
color: #7b8a8b; color: #7b8a8b;
background-color: #ecf0f1; background-color: #ecf0f1;
overflow-x: scroll;
overflow-y: hidden;
} }
a code { a code {
color: #18bc9c; color: #18bc9c;
} }
.hljs { .hljs {
background-color: inherit; background-color: inherit;
} }
.jumbotron h2 { .jumbotron h2 {
margin-top: 21px; margin-top: 21px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.fa { .fa {
margin-right: 4px; margin-right: 4px;
} }
.emoji { .emoji {
width: 1.5em; width: 1.5em;
height: 1.5em; height: 1.5em;
display: inline-block; display: inline-block;
margin-bottom: -0.25em; margin-bottom: -0.25em;
} }
table { table {
margin-top: 16px; margin-top: 16px;
margin-bottom: 16px; margin-bottom: 16px;
} }
table thead tr th, table tbody tr td { table thead tr th, table tbody tr td {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
padding: 4px; padding: 4px;
} }