| Index: pages/blog/index.md |
| =================================================================== |
| --- a/pages/blog/index.md |
| +++ b/pages/blog/index.md |
| @@ -5,25 +5,32 @@ |
| <style> |
| .card h3 |
| { |
| font-size: 20px; |
| height: 70px; |
| } |
| +.card img |
| +{ |
| + display: block; |
| + height: auto; |
| + width: auto; |
| + margin: 0 auto; |
| +} |
| + |
| +@media (max-width: 767px) |
|
ire
2018/01/09 08:26:34
You probably don't need this media query. This cou
juliandoucette
2018/01/09 14:24:03
Good point :D
|
| +{ |
| + .card img { max-height: 200px; } |
| +} |
| + |
| @media(min-width: 768px) |
| { |
| - .card img.block |
| - { |
| - width: auto !important; |
| - height: auto; |
| - max-height: 100px; |
| - margin: 0 auto; |
| - } |
| + .card img { max-height: 100px; } |
| } |
| </style> |
| <div class="container" markdown="1"> |
| # {{blog-heading[Blog Heading] The official Acceptable Ads blog}} |
| --- |