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 #5 Created Jan. 9, 2018, 2:22 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 }
11
12 .card img
13 {
14 display: block;
15 height: auto;
16 max-height: 200px;
17 width: auto;
18 max-width: 100%;
19 margin: 0 auto;
11 } 20 }
12 21
13 @media(min-width: 768px) 22 @media(min-width: 768px)
14 { 23 {
15 .card img.block 24 .card h3 { height: 70px; }
ire 2018/01/10 10:08:39 Why is this here? (This height doesn't actually co
juliandoucette 2018/01/11 12:43:56 I knew this would come back to bite me :D This is
ire 2018/01/12 12:44:46 Haha ack. I don't think it is particularly helpful
16 { 25 .card img { max-height: 100px; }
17 width: auto !important;
18 height: auto;
19 max-height: 100px;
20 margin: 0 auto;
21 }
22 } 26 }
23 </style> 27 </style>
24 28
25 <div class="container" markdown="1"> 29 <div class="container" markdown="1">
26 # {{blog-heading[Blog Heading] The official Acceptable Ads blog}} 30 # {{blog-heading[Blog Heading] The official Acceptable Ads blog}}
27 31
28 --- 32 ---
29 33
30 <div class="section" markdown="1"> 34 <div class="section" markdown="1">
31 {{blog-paragraph1[Acceptable Ads Blog Paragraph 1] Stay connected.}} 35 {{blog-paragraph1[Acceptable Ads Blog Paragraph 1] Stay connected.}}
32 </div> 36 </div>
33 37
34 </div> 38 </div>
35 39
36 <? include blog/all-posts ?> 40 <? 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