From cbe9a4e221c508524889265d0429b73490f546b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Fri, 22 Dec 2017 22:04:41 -0500 Subject: [PATCH] Support `pre` blocks in our style We use this in our changelogs. Style for this is straight from Bootstrap 3 minus the border. --- client/css/style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/css/style.css b/client/css/style.css index 78c0dba4..f643fd1c 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -80,6 +80,7 @@ button { code, kbd, +pre, .irc-monospace, textarea#user-specified-css-input { font-family: Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace; @@ -93,6 +94,19 @@ code { 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 { display: inline-block; font-size: 11px;