summaryrefslogtreecommitdiffhomepage
path: root/style.css
blob: d91690e358cf0bcdbd17a8a4cb4502a698f1e52c (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@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;
}

dl {
	display: grid;
	grid-template-columns: max-content auto;
	row-gap: 1rem;

	dt {
		grid-column-start: 1;
		font-weight: bold;
	}

	dd {
		grid-column-start: 2;
	}
}