-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
145 lines (119 loc) · 2.73 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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Nunito';
}
body {
text-align: center;
color: #0c4fe1;
height: 100%;
}
h1 {
color: #EABE3F;
padding: 50px;
font-size: 40px;
}
.container {
background-color: none;
max-width: 80%;
margin: auto;
border: 3px solid #EABE3F;
border-radius: 20px;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
padding: 50px 0;
justify-content: center;
align-items: center;
overflow: hidden; /* Evitar desbordamiento horizontal en dispositivos móviles */
}
.container2 {
background-color: none;
max-width: 80%;
margin: auto;
border: 3px solid #EABE3F;
border-radius: 20px;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
padding: 50px 0;
justify-content: center;
align-items: center;
overflow: hidden; /* Evitar desbordamiento horizontal en dispositivos móviles */
}
.textosuperior {
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 20px;
justify-content: center;
align-items: center;
color:black;
padding-right: 0.5em;
padding-left: 0.5em;
}
.pregunta {
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 40px;
justify-content: center;
align-items: center;
padding-right: 0.5em;
padding-left: 0.5em;
}
.guess-button {
background-color: #4285f4;
border: 2px solid #000;
color: #fff;
padding: 20px 20px;
font-size: 25px;
border-radius: 5px;
cursor: pointer;
margin-top: 20px;
}
.guess-button:hover {
background-color: #3367d6;
}
/* Estilos para las imágenes de los ciclistas */
#imagenes-animales img {
width: 300px; /* Ajustar según necesidad */
height: auto;
margin: 10px;
}
.msj {
font-size: 30px;
height: 30px;
}
#play-again-button {
background-color: #4285f4;
border: 2px solid #000;
color: #fff;
padding: 10px 10px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
margin-top: 20px;
}
#play-again-button:hover {
background-color: #3367d6;
}
#result {
font-size: 24px;
margin-top: 20px;
font-weight: bold;
}
@media (max-width: 768px) {
.container, .container2 {
max-width: 80%; /* Ancho completo en dispositivos móviles */
flex-wrap: wrap; /* Permitir envolver las imágenes en múltiples líneas */
}
.guess-button {
font-size: 15px;
padding: 5x 5px;
}
#imagenes-animales img {
width: 80px;
margin: 5px;
}
.msj {
font-size: 20px;
}
}