summaryrefslogtreecommitdiffhomepage
path: root/style.css
blob: 31d40dccf9f139406b8f698e3d951c234b7a757c (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
54
55
56
57
@page {
	size: auto;
	margin: 0;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	display: grid;
	grid-template-columns: 1fr min(800px, 90%) 1fr;
	margin: 0;
	font-size: 1.1rem;
}

body > * {
	grid-column: 2;
}

#links {
	padding-inline-start: 1rem;
}

@media (min-width: 480px) {
	#links {
		display: flex;
		width: 100%;
		justify-content: space-between;
		padding-inline: 0;
	}

	#links li {
		list-style: none;
	}
}

x-entry {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

x-entry > header {
	font-weight: bold;
}

x-entry > :is(x-job-title, x-time-range, x-description) {
	text-align: right;
}

x-entry > p {
	grid-column: span 2;
}

section > x-entry:not(:last-child) {
	margin-bottom: 1rem;
}