From 425d50412ee22bec163340c9852805896fa5f395 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Tue, 9 Jan 2018 14:08:29 +0000 Subject: [PATCH] rich text anchor and list styling --- .../src/sass/components/_rich-text.scss | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/opentech/static_src/src/sass/components/_rich-text.scss b/opentech/static_src/src/sass/components/_rich-text.scss index 0b8516bed..b979962ba 100644 --- a/opentech/static_src/src/sass/components/_rich-text.scss +++ b/opentech/static_src/src/sass/components/_rich-text.scss @@ -1,9 +1,30 @@ .rich-text { + margin-bottom: 2rem; + + a { + font-weight: $weight--bold; + border-bottom: 1px solid transparent; + transition: border, color, 0.15s ease-in-out; + + &:hover { + border-bottom: 1px solid $color--primary; + } + } + ul { - list-style: inside disc; + padding-left: 20px; + list-style: outside disc; + + li { + margin-bottom: 1rem; + } } ol { list-style: inside decimal; + + li { + margin-bottom: 1rem; + } } } -- GitLab