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: Rebased & Addressed #2 and #3 Created March 14, 2018, 11:49 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
« 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 vertical-align: middle; 192 vertical-align: middle;
193 } 193 }
194 194
195 #media-list img 195 #media-list img
196 { 196 {
197 margin: 0 2em; 197 margin: 0 2em;
198 } 198 }
199 } 199 }
200 200
201 /****************************************************************************** 201 /******************************************************************************
202 * #features
203 *****************************************************************************/
204
205 #features
206 {
207 text-align: center;
208 padding-top: 3em;
209 padding-bottom: 3em;
ire 2018/03/14 13:07:42 TOL: It seems like we should have another `.sectio
juliandoucette 2018/03/14 13:54:42 Agreed.
210 }
211
212 #features h2
213 {
214 text-transform: uppercase;
215 }
216
217 @media (max-width: 575px)
218 {
219 #features .column
220 {
221 margin-bottom: 3em;
222 }
223
224 #features .column:last-of-type
225 {
226 margin-bottom: 0;
227 }
228 }
229
230 @media (min-width: 576px) and (max-width: 1023px)
231 {
232 #features
233 {
234 text-align: left;
ire 2018/03/14 13:07:42 This should be text-align: right on RTL
juliandoucette 2018/03/14 13:54:42 Good catch! I tested this today and didn't even n
ire 2018/03/14 14:04:35 Haha I didn't notice either the first time :P
235 }
236
237 #features .column
238 {
239 position: relative;
240 width: auto;
241 padding: 0 3em 2em 10.5em;
242 }
243
244 [dir="rtl"] #features .column
245 {
246 padding: 0 10.5em 2em 3em;
247 }
248
249 #features .column:last-of-type
250 {
251 padding-bottom: 0;
252 }
253
254 #features img
255 {
256 position: absolute;
257 left: 3em;
258 top: 0.5em;
259 }
260
261 [dir="rtl"] #features img
262 {
263 left: auto;
264 right: 3em;
265 }
266
267 #features h2
268 {
269 margin: 0;
270 }
271 }
272
273 /******************************************************************************
202 * #abb-notification 274 * #abb-notification
203 *****************************************************************************/ 275 *****************************************************************************/
204 276
205 #abb-notification h2, 277 #abb-notification h2,
206 #abb-notification h3 278 #abb-notification h3
207 { 279 {
208 text-transform: uppercase; 280 text-transform: uppercase;
209 } 281 }
210 282
211 #abb-logo 283 #abb-logo
(...skipping 20 matching lines...) Expand all
232 * #footnote 304 * #footnote
233 *****************************************************************************/ 305 *****************************************************************************/
234 306
235 #footnote 307 #footnote
236 { 308 {
237 padding-top: 3em; 309 padding-top: 3em;
238 padding-bottom: 2em; 310 padding-bottom: 2em;
239 font-size: 13px; 311 font-size: 13px;
240 color: #7d7d7d; 312 color: #7d7d7d;
241 } 313 }
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