Skip to content

Commit

Permalink
[FIX] website_blog: fixed mobile css for the blog footer
Browse files Browse the repository at this point in the history
  • Loading branch information
mba-odoo authored and tde-banana-odoo committed Aug 5, 2014
1 parent dbca345 commit dc72b26
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
17 changes: 17 additions & 0 deletions addons/website_blog/static/src/css/website_blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,23 @@ div#blog_angle_down a:hover {
cursor: pointer;
}

/* mobile preview: for blog h1,h2 font-size and cover-footer height of image overlapas */
@media (max-width: 768px) {
.cover h1 {
font-size: 26px;
}
.cover h2 {
font-size: 20px;
}

.cover_footer {
min-height: 280px;
height: 50vh;
}
.cover_footer .blog_title {
top: 2%;
}
}
/*Inline Discussion */
.discussion {
padding: 5px 10px 10px;
Expand Down
13 changes: 13 additions & 0 deletions addons/website_blog/static/src/css/website_blog.sass
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ div#blog_angle_down
height: 65vh
cursor: pointer

/* mobile preview: for blog h1,h2 font-size and cover-footer height of image overlapas */
@media (max-width: 768px)
.cover
h1
font-size: 26px
h2
font-size: 20px
.cover_footer
min-height: 280px
height: 50vh
.blog_title
top: 2%

/*Inline Discussion
.discussion
Expand Down

0 comments on commit dc72b26

Please sign in to comment.