about summary refs log tree commit diff
path: root/style.css
blob: 78686f8f968647d345a8b26b1a87574cb4f08c24 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	width: 100vw;
	height: 100vh;
}

main {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#game-area {
	margin: 0 auto;
	padding: 2rem;
	width: 32rem;
	aspect-ratio: 1 / 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

#game-area div {
	border: 2px solid black;
}

/*
wey
asdn

*/
#keyboard {
	padding-bottom: 2rem;
}

#row0,
#row1 {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
}

button {
	border: 1px solid salmon;
	border-radius: 0.2rem;
	width: 10vw;
	height: 10vw;
}

@media (max-width: 40rem) {

	/* Modile target */
	#game-area {
		width: 75vw;
	}
}

@media (min-width: 40rem) {
	/* Desktop target */
}