-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand file tree
/
Copy pathPostCard.css
More file actions
42 lines (38 loc) · 857 Bytes
/
PostCard.css
File metadata and controls
42 lines (38 loc) · 857 Bytes
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
@layer patterns {
.post-card {
display: flex;
flex-direction: column;
border: var(--border-width-1) solid var(--color-border-secondary);
border-radius: var(--radius-base);
gap: var(--space-4);
overflow: hidden;
padding: var(--space-4);
min-height: var(--size-88);
height: 100%;
@media (--md-up) {
min-height: var(--size-100);
}
}
.post-card__labels {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
margin-bottom: var(--space-4);
}
.post-card__link {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: inherit;
color: inherit;
text-decoration: none;
height: 100%;
}
.post-card__cover {
margin-bottom: var(--space-3);
display: block;
height: var(--size-40);
width: 100%;
object-fit: cover;
}
}