diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-06-23 09:01:21 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-06-23 09:02:05 +0200 |
| commit | 15c24ab23377cd0cff8401f2f32af0f2442bfd25 (patch) | |
| tree | f097bf6fe3fc8c2f4f52d1703b49b8ca3f06934b | |
| parent | cde1a64ac46a549ea26b6cf1b41df0cd10a27cec (diff) | |
[FIX] website_blog: wrong indentation in sass
| -rw-r--r-- | addons/website_blog/static/src/css/website_blog.css | 20 | ||||
| -rw-r--r-- | addons/website_blog/static/src/css/website_blog.sass | 18 |
2 files changed, 23 insertions, 15 deletions
diff --git a/addons/website_blog/static/src/css/website_blog.css b/addons/website_blog/static/src/css/website_blog.css index ffbab0908f2..352d505bdcf 100644 --- a/addons/website_blog/static/src/css/website_blog.css +++ b/addons/website_blog/static/src/css/website_blog.css @@ -41,24 +41,27 @@ div#blog_angle_down a:hover { .cover .blog_title { position: absolute; } + .blog_title { text-align: center; + top: 20%; margin-right: auto; margin-left: auto; - top: 20%; left: 0; right: 0; } -.blog_title h1{ +.blog_title h1 { font-weight: bold; } .cover_full { height: 100vh; } + .cover_narrow { height: 50vh; } + .cover_footer_bg { min-height: 350px; height: 65vh; @@ -69,19 +72,24 @@ div#blog_angle_down a:hover { .blog_title h1 { font-size: 26px; } + .blog_title h2 { font-size: 20px; } + .cover_narrow { height: 65vh; } + #title .blog_title { top: 10%; } - .cover_footer_bg { + + .cover_footer { min-height: 280px; height: 50vh; } + .cover_footer .blog_title { top: 2%; } @@ -144,10 +152,10 @@ div#blog_angle_down a:hover { } .discussion:hover > a, .discussion.hovered > a { opacity: 1; - background: #57ad68; + background: #57AD68; } .discussion:hover > a:after, .discussion.hovered > a:after { - border-top-color: #57ad68; + border-top-color: #57AD68; } #discussions_wrapper { @@ -174,7 +182,7 @@ div#blog_angle_down a:hover { font-weight: normal; } -mark + .popover, .cover_footer{ +mark + .popover, .cover_footer { cursor: pointer; } diff --git a/addons/website_blog/static/src/css/website_blog.sass b/addons/website_blog/static/src/css/website_blog.sass index b090ef55fe5..a6ca5f08823 100644 --- a/addons/website_blog/static/src/css/website_blog.sass +++ b/addons/website_blog/static/src/css/website_blog.sass @@ -36,14 +36,14 @@ div#blog_angle_down position: absolute .blog_title - text-align: center - top: 20% - margin-right: auto - margin-left: auto - left: 0 - right: 0 - h1 - font-weight: bold + text-align: center + top: 20% + margin-right: auto + margin-left: auto + left: 0 + right: 0 + h1 + font-weight: bold .cover_full height: 100vh @@ -170,7 +170,7 @@ mark + .popover, .cover_footer padding-top: 16px .cover_footer_bg[style*="background-image: none;"] - background-color: #B8B8B8 + background-color: #B8B8B8 #js_blogcover background-blend-mode: multiply |
