From 272c3d1f95da56181413c16ee469b9fc644f3cea Mon Sep 17 00:00:00 2001 From: Tommy Vedvik Date: Thu, 28 Feb 2019 21:29:04 +0100 Subject: [PATCH] Add list style --- src/assets/style/_base.scss | 10 ---------- src/assets/style/_typography.scss | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/assets/style/_base.scss b/src/assets/style/_base.scss index b506606..65a0a9c 100644 --- a/src/assets/style/_base.scss +++ b/src/assets/style/_base.scss @@ -25,14 +25,4 @@ a:not(.button) { img { max-width: 100%; -} - -h1,h2,h3,h4,h5,h6 { - transition: color .6s; - color: var(--title-color); -} - - -li { - list-style: disc; } \ No newline at end of file diff --git a/src/assets/style/_typography.scss b/src/assets/style/_typography.scss index b29a8b4..df12ebc 100644 --- a/src/assets/style/_typography.scss +++ b/src/assets/style/_typography.scss @@ -15,12 +15,15 @@ p { } h1, h2, h3, h4, h5 { + transition: color .6s; + color: var(--title-color); margin: 2.75rem 0 1rem; font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.15; } + h1 { margin-top: 0; font-size: 1.802em; @@ -48,4 +51,21 @@ blockquote { em { font-style: italic; +} + +ul { + list-style-type: disc; + margin-left: 1.25em; + margin-bottom: 1.25em; + li { + margin-bottom: 1em; + } +} +ol { + list-style-type: decimal; + margin-left: 1.25em; + margin-bottom: 1.25em; + li { + margin-bottom: 1em; + } } \ No newline at end of file