From 4aa3f21544242d9511a3f2ede661f8d12256f456 Mon Sep 17 00:00:00 2001 From: Aaron Friel Date: Sun, 29 Jan 2017 16:53:50 -0600 Subject: [PATCH] Switch h3 to strong, aesthetic change to banner --- src/Guide/View.hs | 3 +-- static/markup.css | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Guide/View.hs b/src/Guide/View.hs index 42bef43..a035723 100644 --- a/src/Guide/View.hs +++ b/src/Guide/View.hs @@ -734,8 +734,7 @@ renderCategoryStatus category = do catBanner :: MonadIO m => HtmlT m () -> HtmlT m () catBanner divContent = do div_ [class_ "category-status-banner"] $ - h3_ divContent - + strong_ divContent renderCategoryInfo :: MonadIO m => Category -> HtmlT m () renderCategoryInfo category = cached (CacheCategoryInfo (category^.uid)) $ do diff --git a/static/markup.css b/static/markup.css index bef0001..62aea41 100644 --- a/static/markup.css +++ b/static/markup.css @@ -42,7 +42,10 @@ a:hover {text-decoration: underline;} a:active {text-decoration: underline;} .category-status-banner { - background-color: #FFE97A; + background-color: #FFF694; text-align: center; border: 2px solid #202020; + padding: 0.5em; + margin-left: 10%; + margin-right: 10%; }