aboutsummaryrefslogtreecommitdiff
path: root/styles/card.css
blob: 0b3a20cdbd05b880b2f07534366eb25d313107cf (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
.postCard {
	background-color: var(--oxford-blue);
	padding: 12px;
	border-radius: 8px;

	overflow-x: hidden;
	color: var(--fg) !important;
}

.postCard::after {
	display: none;
}

.postCard .cover {
	width: 100%;
	border-radius: 6px;
	max-height: 220px;
	object-fit: cover;
	margin-bottom: 6px;
}

.postCard .title {
	font-size: 24px;
}

.postCard .subtitle {
	font-weight: 500;
}

@media (prefers-color-scheme: light) {
	.postCard {
		background-color: var(--heliotrope-gray);
	}
}