From: sabadev Date: Wed, 6 Oct 2021 13:46:22 +0000 (-0400) Subject: Added line-height to the paragraphs and the links. X-Git-Url: http://sabadev.xyz:4321/?a=commitdiff_plain;h=b33447e3b76c178135a7173410face3711f0b4cd;p=website.git Added line-height to the paragraphs and the links. --- 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