summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-03-01 21:13:48 +0100
committerMichał M. Sapka <michal@sapka.me>2023-03-01 21:13:48 +0100
commita4a7b4ebeba19f26112c6f7cc9db8575e2d5d99c (patch)
tree1d8c72984ba6aae081d172f5229724f02de009a0 /static
parent92d765aba0354a08f0a644cd9f48bafd92f0f516 (diff)
feat: better code
Diffstat (limited to 'static')
-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 {