blob: 14a5baf78bd71467786e58c5391c032840ee7e35 (
plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
@use "../../../styles/abstracts/functions" as fun;
.footer {
margin-top: auto;
}
.wrapper {
--scale-up: 1.05;
--scale-down: 0.95;
display: flex;
flex-flow: column wrap;
max-width: var(--card-width, 40ch);
padding: 0;
text-align: center;
.article {
flex: 1;
display: flex;
flex-flow: column nowrap;
justify-content: flex-start;
}
.cover {
place-content: center;
height: fun.convert-px(150);
object-fit: scale-down;
margin: auto;
border-bottom: fun.convert-px(1) solid var(--color-border);
}
.title,
.tagline,
.footer {
padding: 0 var(--spacing-md);
}
.title {
width: fit-content;
margin: var(--spacing-sm) auto;
}
h2.title {
background: none;
text-shadow: none;
}
.tagline {
flex: 1;
margin-bottom: var(--spacing-md);
color: var(--color-fg);
font-weight: 400;
}
.list {
margin-bottom: var(--spacing-md);
}
.meta {
&__item {
flex-flow: row wrap;
place-content: center;
gap: var(--spacing-2xs);
margin: auto;
}
&__label {
flex: 0 0 100%;
}
&__value {
padding: fun.convert-px(2) var(--spacing-xs);
border: fun.convert-px(1) solid var(--color-primary-darker);
color: var(--color-fg);
font-weight: 400;
&::before {
display: none;
}
}
}
&:not(:disabled):focus {
text-decoration: none;
.title {
text-decoration: underline solid var(--color-primary) 0.3ex;
}
}
}
|