Support pre blocks in our style

We use this in our changelogs. Style for this is straight from Bootstrap 3 minus the border.
This commit is contained in:
Jérémie Astori 2017-12-22 22:04:41 -05:00
parent df858a5aaf
commit cbe9a4e221
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -80,6 +80,7 @@ button {
code, code,
kbd, kbd,
pre,
.irc-monospace, .irc-monospace,
textarea#user-specified-css-input { textarea#user-specified-css-input {
font-family: Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace; font-family: Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
@ -93,6 +94,19 @@ code {
border-radius: 2px; border-radius: 2px;
} }
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
color: #333;
word-break: break-all;
word-wrap: break-word;
background-color: #f5f5f5;
border-radius: 4px;
}
kbd { kbd {
display: inline-block; display: inline-block;
font-size: 11px; font-size: 11px;