Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/blog/index.md

Issue 29657629: Issue 6211 - Fixed size of blog post thumbnails on mobile (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Addressed #3 (forgot to fix 766) Created Jan. 8, 2018, 12:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « includes/blog/all-posts.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title=Blog | Acceptable Ads 1 title=Blog | Acceptable Ads
2 description=Keeping you up-to-date with everything related to acceptable ads. 2 description=Keeping you up-to-date with everything related to acceptable ads.
3 breadcrumb=Blog 3 breadcrumb=Blog
4 custom=1 4 custom=1
5 5
6 <style> 6 <style>
7 .card h3 7 .card h3
8 { 8 {
9 font-size: 20px; 9 font-size: 20px;
10 height: 70px; 10 height: 70px;
11 } 11 }
12 12
13 .card img
14 {
15 display: block;
16 height: auto;
17 width: auto;
18 margin: 0 auto;
19 }
20
21 @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
22 {
23 .card img { max-height: 200px; }
24 }
25
13 @media(min-width: 768px) 26 @media(min-width: 768px)
14 { 27 {
15 .card img.block 28 .card img { max-height: 100px; }
16 {
17 width: auto !important;
18 height: auto;
19 max-height: 100px;
20 margin: 0 auto;
21 }
22 } 29 }
23 </style> 30 </style>
24 31
25 <div class="container" markdown="1"> 32 <div class="container" markdown="1">
26 # {{blog-heading[Blog Heading] The official Acceptable Ads blog}} 33 # {{blog-heading[Blog Heading] The official Acceptable Ads blog}}
27 34
28 --- 35 ---
29 36
30 <div class="section" markdown="1"> 37 <div class="section" markdown="1">
31 {{blog-paragraph1[Acceptable Ads Blog Paragraph 1] Stay connected.}} 38 {{blog-paragraph1[Acceptable Ads Blog Paragraph 1] Stay connected.}}
32 </div> 39 </div>
33 40
34 </div> 41 </div>
35 42
36 <? include blog/all-posts ?> 43 <? include blog/all-posts ?>
OLDNEW
« no previous file with comments | « includes/blog/all-posts.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld