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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; |
| 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 Loading... |
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 } |
LEFT | RIGHT |