aboutsummaryrefslogtreecommitdiff
path: root/styles/card.css
blob: 8a589e212f5c7f08b507eb0ed9104590cb6b3d1c (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
.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;
}

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

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

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