1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 12:52:31 +03:00

Merge pull request #143 from aelve/issue60

Switch h3 to strong, aesthetic change to banner
This commit is contained in:
Aaron Friel 2017-01-29 16:57:59 -06:00 committed by GitHub
commit 1fc06fbde6
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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%;
}