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

Side by Side Diff: static/scss/components/_cards.scss

Issue 29438582: Issue 5135 - Reduce font size and padding on smaller screens on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created May 16, 2017, 4:26 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This file is part of acceptableads.org. 1 // This file is part of acceptableads.org.
2 // Copyright (C) 2016 Eyeo GmbH 2 // Copyright (C) 2016 Eyeo GmbH
3 // 3 //
4 // acceptableads.org is free software: you can redistribute it and/or modify 4 // acceptableads.org is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by 5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or 6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version. 7 // (at your option) any later version.
8 // 8 //
9 // acceptableads.org is distributed in the hope that it will be useful, 9 // acceptableads.org is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 20 matching lines...) Expand all
31 margin: $sm 0 $sm 0; 31 margin: $sm 0 $sm 0;
32 } 32 }
33 33
34 .card-icon 34 .card-icon
35 { 35 {
36 margin: $sm 0; 36 margin: $sm 0;
37 } 37 }
38 38
39 .center .card-icon 39 .center .card-icon
40 { 40 {
41 margin: $lg - $sm 0 $md 0; 41 margin: $lg - $sm 0 $md 0;
juliandoucette 2017/05/16 19:07:34 Awesome! (NIT: No extra line breaks please.)
ire 2017/05/16 21:32:28 ACK
42
42 } 43 }
43 44
44 img.card-icon, 45 img.card-icon,
juliandoucette 2017/05/30 14:22:56 I don't think that these icons are too big on mobi
ire 2017/05/30 17:44:58 Acknowledged.
45 .card-icon img 46 .card-icon img
46 { 47 {
47 height: 48px; 48 height: 48px;
49
50 @media screen and (max-width: $tablet-breakpoint)
juliandoucette 2017/05/16 19:07:34 We have been restricting each file to one media qu
juliandoucette 2017/05/16 19:07:34 Why screen? This would be useful for print too?
ire 2017/05/16 21:32:27 Thanks! Yes I will.
ire 2017/05/16 21:32:28 Kind of a habit to write screen for most cases. Yo
juliandoucette 2017/05/17 13:09:11 Cool :) Can you [explain in markdown, upload expl
ire 2017/05/18 00:27:14 Sure. Do you mean as a separate codereview (i.e. a
51 {
52 height: 30px;
53 margin: $xs 0;
54 }
48 } 55 }
49 56
50 .card img.block 57 .card img.block
51 { 58 {
52 margin: 0; 59 margin: 0;
53 } 60 }
54 61
55 .card-summary { 62 .card-summary {
56 margin: $md 0; 63 margin: $md 0;
57 height: $lg; 64 height: $lg;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 .card.list a 136 .card.list a
130 { 137 {
131 text-decoration: none; 138 text-decoration: none;
132 color: $primary-fg; 139 color: $primary-fg;
133 } 140 }
134 141
135 .card.list a%active 142 .card.list a%active
136 { 143 {
137 color: $accent; 144 color: $accent;
138 } 145 }
OLDNEW

Powered by Google App Engine
This is Rietveld