-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
147 lines (126 loc) · 2.07 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
html,
body {
min-height: 100vh;
overflow: auto;
}
header {
text-align: center;
width: 100%;
font-size: 1.5rem;
color: white;
top: 0;
position: absolute;
}
h1 {
line-height: 2;
font-weight: bold;
color: white
}
h1 > span {
color: white;
font-size: 20px;
}
h2 {
font-size: 2rem;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #407294;
}
main {
display: flex;
justify-content: center;
text-align: center;
flex-wrap: wrap;
width: 85vw;
height: 60vh;
margin-top: 150px;
}
main > div {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 7px;
}
.game-box {
display: grid;
grid-template-columns: repeat(3, 3fr);
grid-template-rows: repeat(3, 3fr);
margin: 5px;
}
.small-box {
display: flex;
justify-content: center;
align-items: center;
font-size: 100%;
color: #03273f;
border: white solid 3px;
margin: 10px;
background-color: white;
border-radius: 10px;
width: 150px;
height: 150px;
font-size: 75px;
font-weight: bold;
/* transition: border 2s; */
}
.next {
border: black solid 7px;
}
td:hover {
cursor: pointer;
background-color: white;
transform: scale(1.2);
transition: 0.5s;
}
.small-box:hover {
transform: scale(1.1);
transition: 0.8s;
}
.restart {
padding: 5px 5px;
border-radius: 7px;
border: 3px solid white;
background-color: #407294;
color: white;
font-size: 40px;
margin-top: 50px;
}
.restart:hover {
cursor: pointer;
transform: scale(1.1);
transition: 0.5s;
}
.red {
background-color: red;
}
.blue {
background-color: blue;
}
table {
width: 100%;
height: 100%;
/* pointer-events: none; Cant click on tables */
}
td {
background-color: #d5e1df;
border-radius: 7px;
width: 20px;
height: 20px;
text-align: center;
font-size: 20px;
font-weight: bold;
}
.turns {
color: white;
font-size: 1.5rem;
font-weight: bolder;
margin-top: 70px;
margin-bottom: 20px;
}