Skip to content

Commit

Permalink
Better style for image without caption
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Feb 13, 2015
1 parent 912a558 commit bdbb3d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions zinnia/static/zinnia/theme/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,12 @@ table {
background: transparent url("../img/category.png") no-repeat scroll 0.5em; }
.zinnia .entry-last-update {
display: none; }
.zinnia .entry-image img {
width: 100%; }
.zinnia .entry-image {
margin-bottom: 1.5em; }
.zinnia .entry-image img {
width: 100%; }
.zinnia .entry-image p {
margin: 0; }
.zinnia .entry-summary p {
text-align: justify;
font-size: 1.2em;
Expand Down
4 changes: 4 additions & 0 deletions zinnia/static/zinnia/theme/sass/partials/_entry.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ h2.entry-title {
}

.entry-image {
margin-bottom: 1.5em;
img {
width: 100%;
}
p {
margin: 0;
}
}

.entry-summary {
Expand Down

0 comments on commit bdbb3d4

Please sign in to comment.