| 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 139 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 .p-container | |
|
ire
2017/06/27 08:36:31
Note: I couldn't really figure out where else to p
juliandoucette
2017/07/03 23:12:38
I don't like the name of this class because it's t
ire
2017/07/04 11:03:11
Yeah you'e right it could have a better name.
I
juliandoucette
2017/07/04 15:33:08
This is what I had in mind.
But it's not clear:
-
ire
2017/07/05 10:33:09
Ah I see what you mean! The .section class *should
ire
2017/07/05 10:53:50
Done.
| |
| 161 { | |
| 162 margin-bottom: $md; | |
| 163 | |
| 164 @media (min-width: $mobile-breakpoint) | |
| 165 { | |
| 166 margin-bottom: $lg; | |
| 167 } | |
| 168 | |
| 169 @media (min-width: $tablet-breakpoint) | |
| 170 { | |
| 171 margin-bottom: $xl; | |
| 172 } | |
| 173 } | |
| 174 | |
| 175 .p-container p:first-child | |
|
ire
2017/06/27 08:36:32
This is a change from the `.row p:first-child` sel
| |
| 176 { | |
| 177 margin-top: 0; | |
| 178 } | |
| 179 | |
| 180 // Links /////////////////////////////////////////////////////////////////////// | 160 // Links /////////////////////////////////////////////////////////////////////// |
| 181 | 161 |
| 182 a | 162 a |
| 183 { | 163 { |
| 184 cursor: pointer; | 164 cursor: pointer; |
| 185 text-decoration: underline; | 165 text-decoration: underline; |
| 186 color: $accent; | 166 color: $accent; |
| 187 font-weight: 400; | 167 font-weight: 400; |
| 188 } | 168 } |
| 189 | 169 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 445 // hr background color is the line color | 425 // hr background color is the line color |
| 446 background-color: $primary-fg; | 426 background-color: $primary-fg; |
| 447 } | 427 } |
| 448 | 428 |
| 449 // Place hr under h1 or h2 inside hN margin | 429 // Place hr under h1 or h2 inside hN margin |
| 450 h1 + hr, | 430 h1 + hr, |
| 451 h2 + hr | 431 h2 + hr |
| 452 { | 432 { |
| 453 position: absolute; | 433 position: absolute; |
| 454 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 } | |
| 455 } | 440 } |
| 456 | 441 |
| 457 // center hr in centered blocks | 442 // center hr in centered blocks |
| 458 .center hr | 443 .center hr |
| 459 { | 444 { |
| 460 margin: $sm auto; | 445 margin: $sm auto; |
| 461 } | 446 } |
| 462 | 447 |
| 463 // Tables ////////////////////////////////////////////////////////////////////// | 448 // Tables ////////////////////////////////////////////////////////////////////// |
| 464 | 449 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 498 { | 483 { |
| 499 vertical-align: bottom; | 484 vertical-align: bottom; |
| 500 text-transform: uppercase; | 485 text-transform: uppercase; |
| 501 border-bottom: 2px solid $info; | 486 border-bottom: 2px solid $info; |
| 502 } | 487 } |
| 503 | 488 |
| 504 table tbody + tbody | 489 table tbody + tbody |
| 505 { | 490 { |
| 506 border-top: 2px solid $info; | 491 border-top: 2px solid $info; |
| 507 } | 492 } |
| LEFT | RIGHT |