| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 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 13 matching lines...) Expand all Loading... | |
| 24 } | 24 } |
| 25 | 25 |
| 26 h1, | 26 h1, |
| 27 .h1 | 27 .h1 |
| 28 { | 28 { |
| 29 margin: $xl 0 $lg 0; | 29 margin: $xl 0 $lg 0; |
| 30 text-transform: none; | 30 text-transform: none; |
| 31 font-size: $font-size-h1; | 31 font-size: $font-size-h1; |
| 32 font-weight: 300; | 32 font-weight: 300; |
| 33 | 33 |
| 34 @media (max-width: $tablet-breakpoint) | 34 @media (max-width: $tablet-breakpoint) |
|
juliandoucette
2017/06/16 18:47:53
NIT: Regarding all $font-size-N - N calculations:
ire
2017/06/19 11:51:04
In some cases, it would work to use a smaller font
juliandoucette
2017/06/20 16:38:36
I prefer the later actually. I think it's more con
ire
2017/06/22 15:41:44
Okay, I'll leave it as it is then.
| |
| 35 { | 35 { |
| 36 font-size: $font-size-h1 - 12px; | 36 font-size: $font-size-h1 - 12px; |
| 37 margin-top: $md; | 37 margin-top: $md; |
| 38 } | 38 } |
| 39 @media (max-width: $mobile-breakpoint) | 39 @media (max-width: $mobile-breakpoint) |
| 40 { | 40 { |
| 41 font-size: $font-size-h1 - 16px; | 41 font-size: $font-size-h1 - 16px; |
| 42 margin-bottom: $lg - 20px; | 42 margin-bottom: $lg - 20px; |
| 43 } | 43 } |
| 44 } | 44 } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 150 blockquote, | 150 blockquote, |
| 151 p, | 151 p, |
| 152 ul, | 152 ul, |
| 153 ol, | 153 ol, |
| 154 dl, | 154 dl, |
| 155 .block | 155 .block |
| 156 { | 156 { |
| 157 margin: $sm 0; | 157 margin: $sm 0; |
| 158 } | 158 } |
| 159 | 159 |
| 160 .row p:first-child | |
| 161 { | |
| 162 margin-top: 0; | |
|
ire
2017/06/15 11:16:23
I had to override this because it was adding extra
juliandoucette
2017/06/16 18:47:53
You should change components/_columns.scss instead
ire
2017/06/19 11:51:04
Acknowledged.
| |
| 163 } | |
| 164 | |
| 165 // Links /////////////////////////////////////////////////////////////////////// | 160 // Links /////////////////////////////////////////////////////////////////////// |
| 166 | 161 |
| 167 a | 162 a |
| 168 { | 163 { |
| 169 cursor: pointer; | 164 cursor: pointer; |
| 170 text-decoration: underline; | 165 text-decoration: underline; |
| 171 color: $accent; | 166 color: $accent; |
| 172 font-weight: 400; | 167 font-weight: 400; |
| 173 } | 168 } |
| 174 | 169 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 430 // hr background color is the line color | 425 // hr background color is the line color |
| 431 background-color: $primary-fg; | 426 background-color: $primary-fg; |
| 432 } | 427 } |
| 433 | 428 |
| 434 // Place hr under h1 or h2 inside hN margin | 429 // Place hr under h1 or h2 inside hN margin |
| 435 h1 + hr, | 430 h1 + hr, |
| 436 h2 + hr | 431 h2 + hr |
| 437 { | 432 { |
| 438 position: absolute; | 433 position: absolute; |
| 439 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 } | |
| 440 } | 440 } |
| 441 | 441 |
| 442 // center hr in centered blocks | 442 // center hr in centered blocks |
| 443 .center hr | 443 .center hr |
| 444 { | 444 { |
| 445 margin: $sm auto; | 445 margin: $sm auto; |
| 446 } | 446 } |
| 447 | 447 |
| 448 // Tables ////////////////////////////////////////////////////////////////////// | 448 // Tables ////////////////////////////////////////////////////////////////////// |
| 449 | 449 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 483 { | 483 { |
| 484 vertical-align: bottom; | 484 vertical-align: bottom; |
| 485 text-transform: uppercase; | 485 text-transform: uppercase; |
| 486 border-bottom: 2px solid $info; | 486 border-bottom: 2px solid $info; |
| 487 } | 487 } |
| 488 | 488 |
| 489 table tbody + tbody | 489 table tbody + tbody |
| 490 { | 490 { |
| 491 border-top: 2px solid $info; | 491 border-top: 2px solid $info; |
| 492 } | 492 } |
| LEFT | RIGHT |