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

Side by Side Diff: static/css/index.css

Issue 29721780: Fixes #33 - Adjustments to features section of index page (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created March 13, 2018, 8:44 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/features.html ('k') | static/css/main.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /****************************************************************************** 1 /******************************************************************************
2 * Temparary styles 2 * Temparary styles
3 *****************************************************************************/ 3 *****************************************************************************/
4 4
5 .avoid-wrap {display: inline-block;} 5 .avoid-wrap {display: inline-block;}
6 .small {font-size: smaller;} 6 .small {font-size: smaller;}
7 .maxthon-only {display: none;} 7 .maxthon-only {display: none;}
8 .maxthon .maxthon-only {display: block;} 8 .maxthon .maxthon-only {display: block;}
9 9
10 #content, 10 #content,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 @supports (display: flex) 188 @supports (display: flex)
189 { 189 {
190 #media-list 190 #media-list
191 { 191 {
192 display: flex; 192 display: flex;
193 justify-content: space-between; 193 justify-content: space-between;
194 align-items: center; 194 align-items: center;
195 } 195 }
196 } 196 }
197 }
197 198
199 /******************************************************************************
200 * #features
ire 2018/03/14 08:44:01 TOL: I'm working on the download page, and I think
juliandoucette 2018/03/14 11:50:37 Acknowledged. I'd encourage you to change this if
ire 2018/03/14 13:07:42 Sure. I'll confirm from Jeen, and handle this in t
201 *****************************************************************************/
202
203 #features
204 {
205 text-align: center;
206 padding-top: 3em;
207 padding-bottom: 3em;
208 }
209
210 #features h2
211 {
212 text-transform: uppercase;
213 }
214
215 @media (max-width: 575px)
216 {
217 #features .column
218 {
219 margin-bottom: 3em;
220 }
221
222 #features .column:last-of-type
223 {
224 margin-bottom: 0;
225 }
226 }
227
228 @media (min-width: 576px) and (max-width: 1023px)
229 {
230 #features
231 {
232 text-align: left;
233 }
234
235 #features .column
236 {
237 position: relative;
238 width: auto;
239 padding: 0 3em 2em 10.5em;
ire 2018/03/14 08:21:39 This spacing only works for LTR
ire 2018/03/14 08:21:39 The bottom spacing here is causing > 3em spacing i
juliandoucette 2018/03/14 11:50:37 Done. Good catch.
juliandoucette 2018/03/14 11:50:37 Done. Good catch.
240 }
241
242 #features img
243 {
244 position: absolute;
245 left: 3em;
246 top: 0.5em;
247 }
248
249 [dir="rtl"] #features img
250 {
251 left: auto;
252 right: 0;
ire 2018/03/14 08:21:39 right should be 3em
juliandoucette 2018/03/14 11:50:37 Done. Good catch.
253 }
254
255 #features h2
256 {
257 margin: 0;
258 }
198 } 259 }
199 260
200 /****************************************************************************** 261 /******************************************************************************
201 * #abb-notification 262 * #abb-notification
202 *****************************************************************************/ 263 *****************************************************************************/
203 264
204 #abb-notification h2, 265 #abb-notification h2,
205 #abb-notification h3 266 #abb-notification h3
206 { 267 {
207 text-transform: uppercase; 268 text-transform: uppercase;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 padding: 0px 30px; 323 padding: 0px 30px;
263 } 324 }
264 325
265 @media(max-width: 767px) 326 @media(max-width: 767px)
266 { 327 {
267 #footnote 328 #footnote
268 { 329 {
269 padding: 0px 20px; 330 padding: 0px 20px;
270 } 331 }
271 } 332 }
OLDNEW
« no previous file with comments | « includes/features.html ('k') | static/css/main.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld