Skip to content

Commit

Permalink
Styling improvements for ft image / ingredients
Browse files Browse the repository at this point in the history
Closes #109
  • Loading branch information
bryceadams committed Jan 2, 2015
1 parent 4283f9e commit 1bea16b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 11 deletions.
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -136,8 +136,12 @@ Sure, but on food-steroids. Just check out the screenshots area.
## Changelog

= 1.0.8 =
* Frontend CSS file renaming
* Filters for post type and tax args
* Enhancement: Frontend CSS file renaming
* Dev: Filters for post types and tax args
* Bug Fix: Fix gallery thumbnail sizing
* Bug Fix: Featured image width link fix
* Bug Fix: Better margins for featured image
* Bug Fix: Vertically aligned ingredients

= 1.0.7 =
* Bug Fix: Update Settings Link
Expand Down
9 changes: 6 additions & 3 deletions README.txt
Expand Up @@ -135,9 +135,12 @@ Sure, but on food-steroids. Just check out the screenshots area.
== Changelog ==

= 1.0.8 =
* Frontend CSS file renaming
* Filters for post types and tax args
* Fix gallery thumbnail sizing
* Enhancement: Frontend CSS file renaming
* Dev: Filters for post types and tax args
* Bug Fix: Fix gallery thumbnail sizing
* Bug Fix: Featured image width link fix
* Bug Fix: Better margins for featured image
* Bug Fix: Vertically aligned ingredients

= 1.0.7 =
* Bug Fix: Update Settings Link
Expand Down
11 changes: 7 additions & 4 deletions assets/frontend/css/recipe-hero.css
Expand Up @@ -137,6 +137,8 @@ nav.recipe-hero-pagination {
*/ }
.recipe-hero article.recipe {
line-height: 1.4; }
.recipe-hero article.recipe .entry-header {
margin-bottom: 1.8em; }
.recipe-hero article.recipe h4 {
font-size: 23px;
margin-bottom: 18px;
Expand Down Expand Up @@ -188,6 +190,9 @@ nav.recipe-hero-pagination {
content: none; }
.recipe-hero article.recipe .images {
margin-bottom: 10px; }
.recipe-hero article.recipe .images .recipe-hero-main-image img {
display: inline-block;
margin-bottom: 0; }
.recipe-hero article.recipe .images .thumbnails {
margin-top: 5px;
*zoom: 1; }
Expand Down Expand Up @@ -331,13 +336,11 @@ nav.recipe-hero-pagination {
text-align: right;
min-width: 20%;
display: inline-block;
font-weight: bold;
vertical-align: top; }
font-weight: bold; }
.recipe-hero article.recipe .recipe-single-ingredients ul.ingredients-list li.ingredients-item .name {
text-align: left;
display: inline-block;
padding-left: 5px;
vertical-align: top; }
padding-left: 5px; }
.recipe-hero article.recipe .recipe-single-instructions h4 {
margin-top: 25px; }
.recipe-hero article.recipe .recipe-single-instructions ol.steps-list {
Expand Down
11 changes: 9 additions & 2 deletions assets/frontend/css/recipe-hero.scss
Expand Up @@ -114,6 +114,9 @@ nav.recipe-hero-pagination {
.recipe-hero {
article.recipe {
line-height: 1.4;
.entry-header {
margin-bottom: 1.8em;
}
h4 {
font-size: 23px;
margin-bottom: 18px;
Expand Down Expand Up @@ -156,6 +159,12 @@ nav.recipe-hero-pagination {
}
.images {
margin-bottom: 10px;
.recipe-hero-main-image {
img {
display: inline-block;
margin-bottom: 0;
}
}
.thumbnails {
margin-top: 5px;
@include clearfix();
Expand Down Expand Up @@ -313,13 +322,11 @@ nav.recipe-hero-pagination {
min-width: 20%;
display: inline-block;
font-weight: bold;
vertical-align: top;
}
.name {
text-align: left;
display: inline-block;
padding-left: 5px;
vertical-align: top;
}
}
}
Expand Down

0 comments on commit 1bea16b

Please sign in to comment.