From b38de27edc6fa2d6ca5ce8b7ef701a06d0e5f3a4 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sun, 2 Apr 2023 14:11:44 +0200 Subject: Add styling adjustments to story single pages --- sass/style.scss | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'sass/style.scss') diff --git a/sass/style.scss b/sass/style.scss index 8227863..9599128 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -172,17 +172,19 @@ h3 { } .story-text { - padding: 3em; - margin: 2em 1em; - border: 1px solid $box-color; - line-height: 1.8rem; - font-size: 0.9em; - @media screen and (min-width: 480px) { - line-height: 2rem; - margin: 2em; - } - @media screen and (min-width: 768px) { - line-height: 2.5rem; - font-size: 1em; + p { + padding: 2em; + margin: 2em 1em; + background-color: $box-color; + line-height: 1.8rem; + font-size: 0.9em; + @media screen and (min-width: 480px) { + line-height: 2rem; + margin: 2em; + } + @media screen and (min-width: 768px) { + line-height: 2.5rem; + font-size: 1em; + } } } -- cgit v1.2.3