-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
89 lines (77 loc) · 1.32 KB
/
index.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
body {
margin: auto;
width: 100%;
max-width: 1200px;
text-align: center;
font-family: 'Arial';
font-weight: bold;
background-color: #020202;
color: white;
}
h1 {
font-size: 60px;
color: #2cbb05;
margin-left: 20px;
}
#gameGrid {
display: grid;
grid-template-columns: auto auto auto;
margin: 20px auto;
width: 95%;
}
.gameField {
border: 8px solid #2cbb05;
color: white;
font-size: 100px;
padding: 15px 0px;
text-align: center;
height: 110px;
cursor: pointer;
}
.gameField:nth-child(-n+3) {
border-top: none;
}
.gameField:nth-child(n+7) {
border-bottom: none;
}
.gameField:nth-child(3n) {
border-right: none;
}
.gameField:nth-child(3n+1) {
border-left: none;
}
button {
background-color: #2cbb05;
font-family: 'Montserrat';
font-weight: bold;
font-size: 16px;
color: white;
margin: 50px;
width: 130px;
height: 60px;
border: none;
display: inline-block;
}
#header {
display: flex;
justify-content: center;
align-items: center;
}
#message {
background-color: whitesmoke;
padding: 18px;
font-size: 30px;
box-shadow: 0px 0px 25px 0px #2cbb05;
color: #2cbb05;
transition: all .4s ease-in-out;
animation: scaleMessage 1.6s infinite;
display: none;
}
@keyframes scaleMessage {
50% {
transform: scale(0.8);
}
100% {
transform: scale(1);
}
}