- commit
- 0fb63ea022e4b21b4e5b465ca1017851c276b1f7
- parent
- 970ca45c09173981ad7aa065b98ad4f701e8eeb2
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2017-09-04 15:34
do not add space above first heading note that the specificity of the selector does not change see https://alistapart.com/article/axiomatic-css-and-lobotomized-owls
Diffstat
| M | sass/base.scss | 6 | +++++- |
1 files changed, 5 insertions, 1 deletions
diff --git a/sass/base.scss b/sass/base.scss
@@ -30,7 +30,11 @@ html {
30 30 h1, h2, h3, h4, h5, h6 {
31 31 line-height: 1.2;
32 32 margin-bottom: 0.8rem;
33 -1 margin-top: 1.5 * $spacer;
-1 33 margin-top: 0;
-1 34
-1 35 * + & {
-1 36 margin-top: 1.5 * $spacer;
-1 37 }
34 38 }
35 39
36 40 a {