Skip to content

Commit

Permalink
Add default image styling to blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewborstein committed May 13, 2020
1 parent 125920d commit 9835825
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/layouts/blog.njk
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ layout: layouts/base
font-size: 100%;
line-height: 1.6;
}
img {
max-width: 100%;
box-shadow: 1px 1px 10px rgba(0,0,0,0.15);
}
@media (min-width: 30rem) {
article {
font-size: 120%;
Expand Down
4 changes: 4 additions & 0 deletions _site/blog/hello-world-and-why-im-blogging/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
font-size: 100%;
line-height: 1.6;
}
img {
max-width: 100%;
box-shadow: 1px 1px 10px rgba(0,0,0,0.15);
}
@media (min-width: 30rem) {
article {
font-size: 120%;
Expand Down
4 changes: 4 additions & 0 deletions _site/blog/moving-my-blog-to-eleventy-part-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
font-size: 100%;
line-height: 1.6;
}
img {
max-width: 100%;
box-shadow: 1px 1px 10px rgba(0,0,0,0.15);
}
@media (min-width: 30rem) {
article {
font-size: 120%;
Expand Down

0 comments on commit 9835825

Please sign in to comment.