-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
67 lines (63 loc) · 1.14 KB
/
style.css
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root {
--orange: #F2C14E;
--winning-blocks: #2d414b;
}
body {
color: var(--orange);
font-family: 'Finger Paint', cursive;
}
h1 {
font-size: 54px;
text-transform: uppercase;
}
.container {
padding: 40px;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #37505C;
}
#gameboard {
width: 300px;
display: flex;
flex-wrap: wrap;
margin-top: 40px;
}
.box {
height: 100px;
width: 100px;
display: flex;
align-items: center;
justify-content: center;
color: var(--orange);
font-size: 120px;
border-right: 2px solid;
border-bottom: 2px solid;
}
.box:nth-child(3n) {
border-right: none;
}
.box:nth-child(6) ~ .box {
border-bottom: none;
}
button {
padding: 10px 20px;
border-radius: 10px;
background-color: var(--orange);
color: #333;
border-color: var(--orange);
font-size: 18px;
transition: 200ms transform;
font-weight: 600;
}
button:hover {
cursor: pointer;
transform: translateY(-2px);
}