about summary refs log tree commit diff
path: root/served/styles/statistics.css
blob: 1089c4ccb38e05be1b605d4d55d180f8d917f4ca (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
#hostmeminfo,
#hostnetinfo,
#hostcpuinfo {
	width: 256px;
	height: 160px;
	image-rendering: pixelated;
	border: 1px solid var(--text);
}

.stat {
	h2 {
		margin: 0;
	}

	p:first-of-type {
		margin-top: 0;
	}
}

#stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 0.5rem;
}

/* too-narrow. "mobile" style */
@media (max-width: 50rem) {
	#stats {
		display: flex;
		flex-direction: column;
		row-gap: 0.5rem;
	}
}