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

Delta Between Two Patch Sets: static/scss/content/_typography.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
Left Patch Set: Handle responsive styling Created June 22, 2017, 3:27 p.m.
Right Patch Set: Fix alignment of hr under headings Created July 6, 2017, 10:25 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // hr background color is the line color 425 // hr background color is the line color
426 background-color: $primary-fg; 426 background-color: $primary-fg;
427 } 427 }
428 428
429 // Place hr under h1 or h2 inside hN margin 429 // Place hr under h1 or h2 inside hN margin
430 h1 + hr, 430 h1 + hr,
431 h2 + hr 431 h2 + hr
432 { 432 {
433 position: absolute; 433 position: absolute;
434 margin: -$md 0 $md 0; 434 margin: -$md 0 $md 0;
435
436 @media (max-width: $mobile-breakpoint)
437 {
438 margin-top: -$sm - 5px;
ire 2017/07/06 10:31:38 The $xs size was every so slightly off
439 }
435 } 440 }
436 441
437 // center hr in centered blocks 442 // center hr in centered blocks
438 .center hr 443 .center hr
439 { 444 {
440 margin: $sm auto; 445 margin: $sm auto;
441 } 446 }
442 447
443 // Tables ////////////////////////////////////////////////////////////////////// 448 // Tables //////////////////////////////////////////////////////////////////////
444 449
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 { 483 {
479 vertical-align: bottom; 484 vertical-align: bottom;
480 text-transform: uppercase; 485 text-transform: uppercase;
481 border-bottom: 2px solid $info; 486 border-bottom: 2px solid $info;
482 } 487 }
483 488
484 table tbody + tbody 489 table tbody + tbody
485 { 490 {
486 border-top: 2px solid $info; 491 border-top: 2px solid $info;
487 } 492 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld