about summary refs log tree commit diff
path: root/served/styles/home.css
blob: bd23605d06b8c65e6eef1d49e0b052d52105da25 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#hello {
	margin: 1rem 0;
}

#contact {
	border: 1px solid black;
	box-shadow: 5px -5px 0px #999, 10px -10px 0px #666, 15px -15px 0px #333;
	padding: 1rem 2rem 1rem 1rem;

	max-width: var(--pwidth);
	height: min-content;
}

#contact>h2 {
	margin-top: 0;
}

#contact>ul {
	margin: 0;
	list-style: none;
	padding: 0;
}

@media (max-width: 50rem) {
	#contact {
		margin-top: 1.5rem;
		margin-right: 1rem;
	}
}

@media (min-width: 50rem) {
	#hello {
		display: grid;
		grid-template-columns: 30rem 1fr;
		row-gap: 1rem;
		column-gap: 1rem;
	}

	#hello>p,
	#hello>h1 {
		grid-column: 1 / 2;
		margin: 0;
	}

	#hello>#contact {
		grid-column: 2 / 3;
		grid-row: 2 / 5;

		width: fit-content;
	}
}