-
Notifications
You must be signed in to change notification settings - Fork 0
/
tac.css
183 lines (153 loc) · 3.16 KB
/
tac.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/* * {
border: 1px solid white;
} */
body {
background-color: black;
overflow: hidden;
}
.first {
width: 100%;
position: absolute;
left: 0px;
top: 0px;
z-index: -1;
animation-name:fadeinout;
animation-duration:2s, 1s;
animation-iteration-count:infinite, 1;
animation-direction:alternate, normal;
}
@font-face {
font-family:'Pac-Font';
src: url(pac-font.ttf);
}
h1 {
font-family: 'Pac-Font';
color: white;
font-size: 100px;
margin-left:auto;
margin-right:auto;
width:100%;
display: inline-block;
text-align: center;
}
.container {
display: grid;
grid-template-columns: repeat(3, 300px);
grid-template-rows: repeat(3, 300px);
margin: 0 auto;
text-align: center;
justify-content: center;
}
.box0, .box1, .box2, .box3, .box4, .box5, .box6, .box7, .box8 {
border: dotted 5px #1919A6;
margin: 12px;
background-color: black;
font-family: 'Pac-Font';
color: white;
font-size: 200px;
text-align: center;
justify-content: center;
display: flex;
align-items: center;
}
#winningMessageText {
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif ;
color: white;
font-size: 60px;
}
#bg-image-One, #bg-image-Two{
position:relative;
margin:0 auto;
}
#bg-image-One img {
left:0;
opacity: 0;
animation-name:fadeinout, slidein;
animation-duration:2s, 1s;
animation-iteration-count:infinite, 1;
animation-direction:alternate, normal;
}
#bg-image-Two img {
left:0;
opacity: 0;
animation-name:fadeinout, slidein;
animation-duration:2s, 1s;
animation-iteration-count:infinite, 1;
animation-direction:alternate, normal;
}
@keyframes fadeinout {
0% {
opacity:0
}
100% {
opacity:100
}
}
@keyframes slidein {
from {
left:-100px;
}
to {
left:0px;
}
}
#imageBlock img:hover {
opacity:0;
}
.restartBtn {
width: 300px;
height: 80px;
margin: 0 auto;
background-color: orange;
border: solid 5px orangered;
border-radius: 10px;
font-family: 'Pac-Font';
font-size: 20px;
color: black;
display: table-cell;
vertical-align: bottom;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: absolute; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: white(0,0,0); /* Fallback color */
background-color: white(0,0,0,0.4); /* Black w/ opacity */
align-self: center;
}
/* Modal Content/Box */
.modal-content {
background-color: black;
margin: 15% auto; /* 15% from the top and centered */
padding: 50px;
border: 1px solid #1919A6;
width: 500px;
align-items: center;
/* font-family: 'Roboto Mono', monospace; */
text-align: center;
}
/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.btn-wrapper {
text-align: center;
}
.result {
font-family: 'Roboto Mono', monospace;;
}