From 69e61cef1ccc1835e3ffb5860632368fc07a7786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Debois?= Date: Tue, 22 Mar 2016 00:01:46 +0100 Subject: [PATCH] Demo styling --- examples/Demo.elm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/Demo.elm b/examples/Demo.elm index bd3044b..e14d969 100644 --- a/examples/Demo.elm +++ b/examples/Demo.elm @@ -137,10 +137,14 @@ stylesheet = Style.stylesheet """ border-width: 1px; padding-left: 1.3ex; border-color: rgb(255,82,82); + font-style: normal; /* TODO: Really need a way to specify "secondary color" in inline css. */ } + p, blockquote { + max-width: 33em; + } """ @@ -150,8 +154,7 @@ view addr model = let top = div [ style - [ ("max-width", "55rem") - , ("margin", "auto") + [ ("margin", "auto") , ("padding-left", "5%") , ("padding-right", "5%") ]