From b33447e3b76c178135a7173410face3711f0b4cd Mon Sep 17 00:00:00 2001 From: sabadev Date: Wed, 6 Oct 2021 09:46:22 -0400 Subject: [PATCH] Added line-height to the paragraphs and the links. --- src/StyleSheet.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/StyleSheet.hs b/src/StyleSheet.hs index bf7f30a..2b9fe25 100644 --- a/src/StyleSheet.hs +++ b/src/StyleSheet.hs @@ -47,9 +47,11 @@ paragraphStyle :: Css paragraphStyle = p ? do fontSize $ rem 1 marginBottom $ rem 1.3 + lineHeight $ em 1.4 linkStyle :: ColorAction -> Color -> Css linkStyle action themeColor = do + ul # ("class" @= "blog-links") ? lineHeight (em 1.4) let regularColor = fontColor $ action 0.60 $ themeColor +. 0x40 let visitedColor = fontColor $ action 0.60 $ themeColor -. 0x40 let highlightedColor = fontColor $ action 0.75 $ themeColor +. 0x50 -- 2.20.1