- commit
- 2173c3a733d8ce7b77b5375e493e91febdf6e5b3
- parent
- ea3e207ae8540201a4e0bcca8291570ed72e3f5b
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-04-10 05:23
css: rm nesting
Diffstat
M | style/components/_blog.scss | 7 | +++---- |
M | style/components/_code.scss | 25 | +++++++++++++++---------- |
M | style/components/_header.scss | 32 | ++++++++++++++------------------ |
3 files changed, 32 insertions, 32 deletions
diff --git a/style/components/_blog.scss b/style/components/_blog.scss
@@ -12,8 +12,7 @@ 12 12 13 13 .tag { 14 14 font-size: 70%;15 -116 -1 &:before {17 -1 content: "#";18 -1 }-1 15 } -1 16 .tag:before { -1 17 content: "#"; 19 18 }
diff --git a/style/components/_code.scss b/style/components/_code.scss
@@ -1,11 +1,16 @@1 -1 .sourceCode {2 -1 .cf, .kw, .bu, .im {3 -1 font-weight: bold;4 -1 }5 -1 .dv, .ot, .st, .fl, .ch {6 -1 opacity: 0.8;7 -1 }8 -1 .co {9 -1 opacity: 0.6;10 -1 }-1 1 .sourceCode .cf, -1 2 .sourceCode .kw, -1 3 .sourceCode .bu, -1 4 .sourceCode .im { -1 5 font-weight: bold; -1 6 } -1 7 .sourceCode .dv, -1 8 .sourceCode .ot, -1 9 .sourceCode .st, -1 10 .sourceCode .fl, -1 11 .sourceCode .ch { -1 12 opacity: 0.8; -1 13 } -1 14 .sourceCode .co { -1 15 opacity: 0.6; 11 16 }
diff --git a/style/components/_header.scss b/style/components/_header.scss
@@ -1,18 +1,15 @@ 1 1 .header__nav { 2 2 text-transform: lowercase;3 -14 -1 ul {5 -1 margin: 0;6 -1 padding: 0;7 -1 }8 -19 -1 li {10 -1 display: inline;11 -112 -1 &:not(:first-child)::before {13 -1 content: " | ";14 -1 }15 -1 }-1 3 } -1 4 .header__nav ul { -1 5 margin: 0; -1 6 padding: 0; -1 7 } -1 8 .header__nav li { -1 9 display: inline; -1 10 } -1 11 .header__nav li:not(:first-child)::before { -1 12 content: " | "; 16 13 } 17 14 18 15 .header__title { @@ -21,11 +18,10 @@ 21 18 margin: 0; 22 19 font-family: sans-serif; 23 20 font-weight: bold;24 -125 -1 a {26 -1 color: inherit;27 -1 text-decoration: none;28 -1 }-1 21 } -1 22 .header__title a { -1 23 color: inherit; -1 24 text-decoration: none; 29 25 } 30 26 31 27 @media (min-width: 20em) {