From 6a400d0e2c699b9edee7897755d36253bedd51ea Mon Sep 17 00:00:00 2001 From: Mijndert Stuij Date: Tue, 26 Mar 2024 09:00:09 +0100 Subject: [PATCH] Fix code blocks --- css/base.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/css/base.css b/css/base.css index 239d3ea..aa53d56 100644 --- a/css/base.css +++ b/css/base.css @@ -98,11 +98,14 @@ picture { } pre { - overflow: scroll; background-color: #badae229; padding: .5em; } +code { + overflow: scroll; +} + blockquote { margin: 1em 0; padding: 0 1em; @@ -121,17 +124,13 @@ blockquote { } ul { - margin-left: 0; + margin-left: 2em; } img, picture { margin: 4px 0; } - - pre { - overflow: auto; - } } /* Responsive CSS for Mobile */ @@ -148,6 +147,10 @@ blockquote { h1 { font-size: 1em; } + + ul { + margin-left: 1em; + } img, picture { @@ -155,7 +158,6 @@ blockquote { } pre { - overflow: auto; font-size: 12px; }