Skip to content

Commit 359d6c1

Browse files
committed
End mark
1 parent fa463e2 commit 359d6c1

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

_sass/layout/article.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use 'abstracts/mixins' as *;
2+
13
article {
24
header {
35
display: grid;
@@ -21,4 +23,19 @@ article {
2123
}
2224
}
2325
}
26+
27+
// Long articles get endmarks.
28+
&.long {
29+
section.content {
30+
>p:last-of-type::after {
31+
content: "";
32+
33+
// TODO: If I want to sign as mb
34+
// @include fontVariations($casl: 1,
35+
// $slnt: var(--name-slant),
36+
// $crsv: 1,
37+
// $wght: var(--font-weight-black))
38+
}
39+
}
40+
}
2441
}

_sass/layout/footer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ footer {
1111

1212
p {
1313
font-size: var(--step--1);
14-
line-height: 1lhr;
14+
line-height: 1rlh;
1515
}
1616

1717
.switch {

_sass/themes/_themes.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,15 @@ section.changelog {
128128
color: var(--accent);
129129
}
130130
}
131+
}
132+
133+
// Long articles get endmarks.
134+
article {
135+
&.long {
136+
section.content {
137+
>p:last-of-type::after {
138+
color: var(--accent);
139+
}
140+
}
141+
}
131142
}

0 commit comments

Comments
 (0)