blob: 7ca81837f8678a993d90feb4a0f4e22843157bf8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
@include namespace('post-list') {
@include store((
--colors: (
--cat: (
--fg: prop(--colors --fg-lo, $global: true),
),
--post: (
--idle-fg: prop(--colors --fg-lo, $global: true),
--visited-fg: prop(--colors --fg, $global: true),
),
--meta: (
--fg: prop(--colors --fg-hi, $global: true),
)
)
));
@include component(namespace()) {
margin-top: $line-height * 2rem;
@include element('category-header') {
margin-top: $line-height * 2rem;
color: prop(--colors --cat --fg);
:link,
:visited {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
@include element('category-content') {
margin-top: $line-height * .5rem;
filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)});
}
@include element('post') {
box-shadow: none;
color: prop(--colors --post --idle-fg);
&:visited {
color: prop(--colors --post --visited-fg);
}
@include next-twin-element {
margin-top: .6rem;
}
}
}
}
|