mirror of
https://github.com/aelve/guide.git
synced 2024-12-23 21:02:13 +03:00
Merge pull request #143 from aelve/issue60
Switch h3 to strong, aesthetic change to banner
This commit is contained in:
commit
1fc06fbde6
@ -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
|
||||
|
@ -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%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user