diff options
author | Joris | 2018-06-17 23:24:47 +0200 |
---|---|---|
committer | Joris | 2018-06-18 11:13:55 +0200 |
commit | 0a4d3c8f12dc5797a919a00b6bcaf759947687cc (patch) | |
tree | bcb89781e22c2314bf0c064ebb37cb7f8a362f5c /src/View/Html/Design.hs | |
parent | e2a5c7c5c596d057b6fa9c08a8204ce1429cfdc4 (diff) | |
download | ad-listener-0a4d3c8f12dc5797a919a00b6bcaf759947687cc.tar.gz ad-listener-0a4d3c8f12dc5797a919a00b6bcaf759947687cc.tar.bz2 ad-listener-0a4d3c8f12dc5797a919a00b6bcaf759947687cc.zip |
Add ouest france parser
Diffstat (limited to 'src/View/Html/Design.hs')
-rw-r--r-- | src/View/Html/Design.hs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/View/Html/Design.hs b/src/View/Html/Design.hs deleted file mode 100644 index 662c4d0..0000000 --- a/src/View/Html/Design.hs +++ /dev/null @@ -1,40 +0,0 @@ -{-# LANGUAGE OverloadedStrings #-} - -module View.Html.Design - ( definitionList - , definitionDescription - , price - , pro - ) where - -import Data.Text.Lazy (Text) -import qualified Data.Text.Lazy as T - -import Clay - -definitionList :: Text -definitionList = inlineRender $ do - fontWeight bold - fontSize (px 16) - -definitionDescription :: Text -definitionDescription = inlineRender $ do - marginLeft (px 0) - marginBottom (px 10) - color orangered - -pro :: Text -pro = inlineRender $ do - marginLeft (px 10) - color (rgb 122 179 88) - -price :: Text -price = inlineRender $ do - marginLeft (px 10) - color orangered - -inlineRender :: Css -> Text -inlineRender = - T.dropEnd 1 - . T.drop 1 - . renderWith compact [] |