Mercurial > libervia-templates
diff default/static/blog.css @ 104:b12de12e2e5b
css (blog): add a background image if --bg-img custom property is set (in dynamic style)
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 22 Jan 2018 08:49:49 +0100 |
parents | 920f03abba53 |
children | 490114e3d9e2 |
line wrap: on
line diff
--- a/default/static/blog.css Mon Jan 22 08:49:49 2018 +0100 +++ b/default/static/blog.css Mon Jan 22 08:49:49 2018 +0100 @@ -114,6 +114,9 @@ text-decoration: None; color: inherit; font-variant: small-caps; + background: rgba(200,200,200,0.6); + border-radius: 0.5em; + padding: 0.2em; } .bottom_links a:hover { @@ -209,6 +212,7 @@ border: none; border-radius: 0; padding: 0; + min-height: 0; } /*** comments ***/ @@ -277,6 +281,14 @@ /*** media queries ***/ @media (min-width: 500px) { + /*** general ***/ + + #main_area { + background-image: var(--bg-img); + background-repeat: no-repeat; + background-size: cover; + } + article.box { width: 80%; border-style: solid solid none solid;