-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
128 lines (109 loc) · 2.29 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
@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: 35px;
justify-content: center;
align-items: center;
padding-right: 0.5em;
padding-left: 0.5em;
}
#result {
font-size: 24px;
margin-top: 20px;
font-weight: bold;
padding-left: 0.5em;
padding-right: 0.5em;
}
#color-circle {
width: 200px;
height: 200px;
border-radius: 50%;
margin-bottom: 20px;
border-color: #000;
border: 4px solid #000;
}
.guess-button {
background-color: #4285f4;
border: 2px solid #000;
color: #fff;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
margin: 10px;
}
.guess-button:hover {
background-color: #3367d6;
}
@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 */
}
.pregunta {
font-size: 25px;
}
.guess-button {
font-size: 12px;
padding: 5x 5px;
}
.circle {
width: 60px;
height: 60px;
}
.result {
font-size: 20px;
}
}