From a4a7b4ebeba19f26112c6f7cc9db8575e2d5d99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20M=2E=20Sapka?= Date: Wed, 1 Mar 2023 21:13:48 +0100 Subject: feat: better code --- static/style.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'static') 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 { -- cgit v1.2.3 From 05c02ab52753caf84581b471f5fa0c436e40da9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20M=2E=20Sapka?= Date: Wed, 1 Mar 2023 23:38:01 +0100 Subject: fix: header img --- static/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 60296c9..3406aaf 100644 --- a/static/style.css +++ b/static/style.css @@ -86,7 +86,9 @@ width: 100%; } #logo-space img { - align-self: center; + align-self: center; + width: 37px; + height: auto; } #logo-space h1 { display: flex; -- cgit v1.2.3 From 7e5f7bb3391ef263d48b9e0850e442b08657f8bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20M=2E=20Sapka?= Date: Thu, 2 Mar 2023 16:07:03 +0100 Subject: fix: shring images on phones --- static/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'static') diff --git a/static/style.css b/static/style.css index 3406aaf..871c99e 100644 --- a/static/style.css +++ b/static/style.css @@ -193,6 +193,10 @@ img.float-right { display: inline; margin-left: 10px; } +img.center { + max-width: 100%; + height: auto; +} /* ----------- Articles adjustement navigation */ .next-link { -- cgit v1.2.3