-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
152 lines (127 loc) · 2.62 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
148
149
150
151
152
* {
color: white;
font-family: Georgia, 'Times New Roman', Times, serif;
transition: 0.2s ease-in-out;
user-select: none;
}
h1 {
font-size: 5em;
margin: 1.5em;
animation: bounce 1s infinite;
color: rgb(178, 66, 219);
text-shadow: 0 0 50px rgb(178, 66, 219);
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}
a {
display: inline-block;
padding: 20px 30px;
font-size: 2em;
text-decoration: none;
color: white;
background-color: transparent;
box-shadow: 0 0 20px rgb(178, 66, 219);
border-radius: 5px;
transition: background-color 0.3s ease;
}
a:hover {
background-color: rgb(178, 66, 219);
box-shadow: 0 0 50px rgb(178, 66, 219);
}
.align {
display: flex;
justify-content: center;
align-items: center;
}
body {
background-color: #030303;
margin: 0;
padding: 0;
width: 100vw;
text-align: center;
padding-top: 10vh;
}
.turn-container {
width: 200px;
height: 100px;
margin: auto;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
position: relative;
}
.turn-container h3 {
margin: 0;
grid-column-start: 1;
grid-column-end: 3;
font-size: 2em ;
color: rgb(178, 66, 219);
text-shadow: o o 10px rgb(178, 66, 219);
}
.turn-container .turn-box {
border: transparent;
font-size: 1.6rem;
font-weight: 800;
text-align: center;
}
.turn-container .turn-box:nth-child(even) {
border-right: none;
}
.bg {
position: absolute;
bottom: 0;
left: 0;
width: 85px;
height: 40px;
background: rgb(178, 66, 219);
box-shadow: 0 0 10px rgb(178, 66, 219);
z-index: -1;
}
.main-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
height: 250px;
width: 250px;
margin: 30px auto;
border: 2px solid rgb(178, 66, 219);
box-shadow: 0 0 10px rgb(178, 66, 219);
}
.box {
cursor: pointer;
font-size: 2rem;
font-weight: 700;
border: 2px solid rgb(178, 66, 219);
box-shadow: 0 0 10px rgb(178, 66, 219);
}
.box:hover {
background-color: rgb(178, 66, 219);
}
#play-again {
background-color: rgb(178, 66, 219);
box-shadow: 0 0 10px rgb(178, 66, 219);
padding: 10px 25px;
border: none;
font-size: 1.2rem;
border-radius: 5px;
cursor: pointer;
display: none;
}
#play-again:hover {
padding: 10px 40px;
background-color:rgb(178, 66, 219);
color: #000;
}