forked from data-students/AEDChallenge
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyleDatos.css
74 lines (66 loc) · 1.4 KB
/
styleDatos.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
/* Resetear margenes y relleno */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Estilo del body */
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
height: 100vh;
padding: 20px;
background-color: #f4f4f9;
overflow-y: auto; /* Permitir scroll si el contenido excede la altura de la pantalla */
}
/* Estilo del h1 */
h1 {
margin-bottom: 20px;
text-align: center;
font-size: 2.5rem;
color: #333;
}
/* Estilo del formulario */
form {
width: 80%;
max-width: 800px;
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
/* Estilo de los campos del formulario */
form label {
font-size: 1rem;
margin-bottom: 5px;
display: block;
}
form input, form select, form textarea {
width: 100%;
padding: 10px;
margin: 10px 0 20px 0;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Estilo del botón de envío */
form input[type="submit"] {
width: auto;
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
}
form input[type="submit"]:hover {
background-color: #45a049;
}
/* Espaciado adicional en el form */
form textarea {
resize: vertical;
}