summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/style.css13
1 files changed, 8 insertions, 5 deletions
diff --git a/static/style.css b/static/style.css
index c7a664e..60296c9 100644
--- a/static/style.css
+++ b/static/style.css
@@ -5,11 +5,6 @@
font-size: 1.1em;
background-color: #fff;
}
- pre code {
- width: 95%;
- overflow-x: scroll;
- display: inline-block;
- padding-bottom: 5px;
}
img {
max-width: 99%;
@@ -174,6 +169,14 @@ blockquote {
padding-left: 15px;
color: #666666;
}
+pre {
+ width: 93%;
+ padding-bottom: 5px;
+ white-space: pre-wrap;
+ padding: 11px;
+ background-color: #f0f0f0;
+ word-break: keep-all;
+}
/* ----------- Articles images */
article figure {