aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/components/twitter/tweet-media.module.css
blob: 375461e660f09006bdd52cf0c0444d32bb5f5fdb (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
53
.root {
	margin-top: 0.75rem;
	overflow: hidden;
	position: relative;
}
.rounded {
	border: var(--tweet-border);
	border-radius: 12px;
}
.mediaWrapper {
	display: grid;
	grid-auto-rows: 1fr;
	gap: 2px;
	height: 100%;
	width: 100%;
}
.grid2Columns {
	grid-template-columns: repeat(2, 1fr);
}
.grid3 > a:first-child {
	grid-row: span 2;
}
.grid2x2 {
	grid-template-rows: repeat(2, 1fr);
}
.mediaContainer {
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mediaLink {
	text-decoration: none;
	outline-style: none;
}
.skeleton {
	padding-bottom: 56.25%;
	width: 100%;
	display: block;
}
.image {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	height: 100%;
	width: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}