-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
183 lines (141 loc) · 3.03 KB
/
styles.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
@import url('https://fonts.googleapis.com/css?family=Raleway:900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--tokens:#f3ea60;
--tokenShadow: aqua;
--tokenText: #020202;
--background: hsl(231, 38%, 79%);
--btnBackground: #3edaf1;
--btnShadow: #0885da;
--btnText: #135fb5;
}
.board{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 4px;
width: 310px;
margin: 30px auto 30PX;
}
body{
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
background-color: var(--background);
color: var(--tokenText);
}
.token{
background-color: var(--tokens);
width: 100px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
cursor: pointer;
border-radius: 4px;
box-shadow: 3px 3px var(--tokenShadow);
}
#container {
/* Center the text in the viewport. */
/*position: absolute;
margin: auto;*/
width: 100vw;
height: 80pt;
top: 0;
bottom: 0;
/* This filter is a lot of the magic, try commenting it out to see how the morphing works! */
filter: url(#threshold) blur(0.6px);
}
/* Your average text styling */
#text1, #text2 {
position: absolute;
width: 90%;
display: inline-block;
font-family: 'Raleway', sans-serif;
font-size: 80pt;
/*text-align: center;*/
user-select: none;
}
/*PANTALLA INICIAL */
.first-screen{
border: 0px solid red;
text-align: center;
}
.first-screen p{
font-weight: bold;
font-size: 32px;
}
.first-screen img{
width: 350px;
height: 350px;
cursor: pointer;
margin: 45px auto;
}
/*Botones*/
.startBtn-container{
border: 2px solid white;
position: relative;
width: 280px;
margin: 0 auto 300px;
}
.play-btn{
width: 280px;
height: 60px;
font-size: 32px;
border-radius: 8px;
cursor: pointer;
background-color: var(--btnBackground);
color: var(--btnText);
border: none;
position: absolute;
top: 0;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.btn-shadow{
width: 280px;
height: 60px;
background-color: var(--btnShadow);
border-radius: 8px;
border-radius: 8px;
position: absolute;
top: 4px;
z-index: -1;
}
.counter-container{
text-align: center;
font-size: 40px;
margin-top: 60px;
}
.counter{
display: none;
}
.game-over{
font-size: 48px;
border: 1px solid white;
width: 300px;
text-align: center;
margin: 60px 0px;
}
/*musica
#playbtn{
color: black;
width: 200px;
height: 30px;
font-size: 18px;
cursor: pointer;
margin: 10px auto;
background-color: var(--btnBackground);
gap: 2px;
}
#pausebtn{
color: black;
width: 200px;
height: 30px;
font-size: 18px;
cursor: pointer;
display: grid;
margin: 10px auto;
background-color: var(--btnBackground);
}*/