-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (75 loc) · 1.2 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
:root {
--color-light-1: #fff;
--color-light-2: #e8e8e8;
--color-light-3: #d8ebe4;
--color-dark: #6b011f;
--color-button: #0033cc;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: var(--color-light-2);
}
h2 {
margin: 1em;
font-size: 2rem;
text-align: center;
color: #693c72;
}
.container {
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.row {
display: flex;
justify-content: center;
align-items: center;
}
.column {
width: 60px;
height: 60px;
cursor: pointer;
text-align: center;
font-size: 2.9em;
}
.box1,
.box2 {
border-right: 3px solid var(--color-dark);
border-bottom: 3px solid var(--color-dark);
}
.box4,
.box5,
.box8,
.box7 {
border-right: 3px solid var(--color-dark);
}
.box3,
.box4,
.box5,
.box6 {
border-bottom: 3px solid var(--color-dark);
}
.winner {
margin: 1rem;
font-size: 1.5rem;
color: var(--color-button);
}
.restart {
width: 5rem;
height: 2rem;
background-color: #007580;
font-weight: 600;
font-size: 1rem;
border-radius: 0.3rem;
border: none;
outline: none;
color: var(--color-light-3);
cursor: pointer;
}