-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathunion.css
195 lines (170 loc) · 3.07 KB
/
union.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
184
185
186
187
188
189
190
191
192
193
194
195
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
width: 100%;
height: 100%;
}
body {
background: linear-gradient(
0deg,
rgba(34, 193, 195, 1) 0%,
rgba(253, 187, 45, 1) 100%
);
font-family: sans-serif;
color: white;
background-repeat: no-repeat;
}
.main {
width: 900px;
margin: 100px auto 50px;
display: flex;
background-color: rgba(255, 255, 255, 0.2);
align-items: center;
}
.container {
display: grid;
grid-template-columns: repeat(4, 2fr);
margin: auto;
background-color: rgba(255, 255, 255, 0.02);
text-align: center;
}
button {
height: 100px;
width: 100px;
border-radius: 8px;
background-color: white;
background-image: url("assets/assembler.webp");
background-size: 95px 95px;
background-repeat: no-repeat;
}
button:hover {
cursor: pointer;
background-color: antiquewhite;
}
.titulo {
grid-column: 1/5;
}
.results {
background-color: rgba(250, 235, 215, 0.37);
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
width: 250px;
height: 400px;
padding: 0 20px;
}
.estadisticas {
border: 1px solid white;
height: 100px;
border-radius: 8px;
padding: 8px 20px;
box-sizing: border-box;
}
footer {
text-align: center;
}
img {
width: 95px;
height: 100px;
border-top: 10px;
border-radius: 8px;
}
#name-score {
color: red;
font-size: 50px;
}
#actual-player-info {
background: rgb(63, 94, 251);
background: radial-gradient(
circle,
rgba(63, 94, 251, 1) 0%,
rgba(252, 70, 107, 1) 100%
);
font-size: 35px;
text-align: center;
}
.user-zone {
margin: 400px auto 0;
width: 500px;
display: flex;
}
h3 {
margin-top: 50px;
}
/* CSS FINISH */
.finalgame {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-image: url("https://www.transparenttextures.com/patterns/45-degree-fabric-light.png");
width: 50%;
margin: 80px 50px 75px 80px;
border-radius: 6px;
}
.finalgame img {
align-items: center;
width: 50%;
height: 50%;
}
.btn-play {
height: 50px;
width: 150px;
background: linear-gradient(
135deg,
#ff9f66 0,
#ff9366 12.5%,
#ff8362 25%,
#ff6e5c 37.5%,
#f25353 50%,
#e3334c 62.5%,
#d70349 75%,
#ce004b 87.5%,
#c70051 100%
);
color: white;
border-radius: 6px;
text-transform: uppercase;
font-weight: bold;
/* text-align: center; */
border: none;
margin: 0 auto;
}
.won {
font-weight: bold;
margin: 10px;
}
.bodyfinish {
display: flex;
gap: 5rem;
}
.finalscore {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-image: url("https://www.transparenttextures.com/patterns/45-degree-fabric-light.png");
width: 22%;
margin: 80px 50px 75px 50px;
border-radius: 6px;
}
.finish5 {
display: none;
}
.userName {
width: 300px;
display: flex;
flex-direction: column;
gap: 2em;
background-color: rgba(255, 255, 255, 0.2);
transform: translateX(-15px);
}
.score-zone {
background-color: rgba(255, 255, 255, 0.2);
height: 200px;
}
#nombre-user {
margin-top: 20px;
}