-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
165 lines (144 loc) · 2.81 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
body {
font-family: 'Montserrat', sans-serif;
background-color: rgb(95, 13, 13);
}
#seleccionar-mascota {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.titulo {
color: rgb(236, 236, 236);
font-size: 350%;
}
.subtitulo {
color: rgb(236, 236, 236);
font-size: 20px;
}
.tarjetas, .tarjetas-ataques {
display: flex;
gap: 10px;
}
.tarjeta-de-mokepon {
width: 120px;
height: 245px;
background: rgb(236, 236, 236);
padding: 10px;
box-sizing: border-box;
border-radius: 20px;
justify-content: center;
align-items: center;
color: rgb(95, 13, 13);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Añadido */
}
.tarjeta-de-mokepon img {
width: 90px;
}
#boton-mascota {
width: 180px;
height: 40px;
border-radius: 20px;
background: transparent;
border: 2px solid white;
color: white;
margin-top: 30px;
cursor: pointer; /* Añadido */
}
input {
display: none;
}
#seleccionar-ataque {
display: flex;
flex-direction: column;
align-items: center;
}
.boton-de-ataque {
width: 200px;
height: 125px;
background: rgb(236, 236, 236);
padding: 10px;
box-sizing: border-box;
border-radius: 20px;
justify-content: center;
align-items: center;
color: rgb(95, 13, 13);
display: flex;
font-family: 'Montserrat', sans-serif;
font-size: 120%;
font-weight: 600;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Añadido */
cursor: pointer; /* Añadido */
}
.boton-de-ataque img {
width: 90px;
}
#mensajes {
width: 280px;
background: rgb(219, 218, 218);
padding: 20px;
margin-top: 20px;
border-radius: 20px;
display: flex;
align-items: center;
flex-direction: column;
color: rgb(95, 13, 13);
}
#boton-reiniciar {
width: 100px;
background: rgb(219, 218, 218);
padding: 10px;
margin-top: 10px;
border-radius: 10px;
display: flex;
align-items: center;
flex-direction: column;
color: rgb(95, 13, 13);
cursor: pointer; /* Añadido */
}
.ataques {
display: grid;
grid-template-columns: 100px 100px;
color: white;
}
#vidas-jugador, #vidas-enemigo {
font-size: 32px;
margin-bottom: 0;
}
.ataques-jugador, .ataques-enemigo {
display: flex;
flex-direction: column;
align-items: center;
}
#ver-mapa {
flex-direction: column;
align-items: center;
justify-content: center;
}
#mapa {
border: 2px solid white;
}
#ver-mapa button {
width: 80px;
height: 80px;
border-radius: 30px;
flex-direction: column;
align-items: center;
justify-content: center;
background: white;
color: black;
border: 2px solid black;
cursor: pointer; /* Añadido */
}
@media (max-width: 900px) {
.tarjetas, .tarjetas-ataques {
flex-direction: column;
}
}
@media (max-width: 300px) {
#ver-mapa div { /* Corregido el ID */
display: flex;
align-items: center;
flex-direction: column;
}
}