-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPPT.css
More file actions
89 lines (75 loc) · 1.58 KB
/
Copy pathPPT.css
File metadata and controls
89 lines (75 loc) · 1.58 KB
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
body {
font-family: "ARCO", sans-serif;
text-align: center;
background: rgb(15, 143, 143);
margin: 0;
padding: 0;
}
.paper {
color: #ffffff;
}
.scissors {
color: #4f80a8;
}
.container {
margin: 20px auto; /* Centra la caja automáticamente */
padding: 20px; /* Añadido para evitar contenido pegado al borde */
max-width: 90%; /* Ancho máximo del contenedor */
width: 500px; /* Tamaño por defecto */
border: 1px solid black;
border-radius: 30px;
background-color: #39434b;
}
h1 {
color: #201f1f;
font-size: 2rem; /* Tamaño de fuente relativo */
}
.choices {
margin: 20px 0;
}
button {
font-size: 2.5rem; /* Ajuste relativo */
padding: 10px 20px;
margin: 0 10px;
cursor: pointer;
border: none;
border-radius: 5px;
background-color: #4caf50;
color: black;
}
button:hover {
background-color: #45a049;
}
.result {
margin-top: 20px;
font-size: 1rem; /* Ajuste relativo */
}
.scoreboard {
margin-top: 20px;
font-size: 1rem; /* Ajuste relativo */
}
/* Consultas de medios para hacerlo responsive */
@media (max-width: 768px) {
.container {
max-width: 95%; /* Hacerlo más ancho en pantallas pequeñas */
width: auto;
padding: 10px; /* Reducir el padding */
}
button {
font-size: 1.2rem; /* Reducir tamaño del texto en botones */
padding: 8px 15px;
}
.result,
.scoreboard {
font-size: 0.9rem; /* Ajustar tamaño del texto */
}
}
@media (max-width: 480px) {
button {
font-size: 1rem; /* Reducir aún más el tamaño */
padding: 5px 10px;
}
h1 {
font-size: 1.5rem; /* Ajustar el encabezado */
}
}