-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
80 lines (69 loc) · 1.34 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
/* Estilos generales */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
}
/* Estilos del encabezado */
header {
background: #333;
color: #fff;
padding: 1rem 0;
text-align: center;
}
/* Estilos del menú de navegación */
nav ul {
list-style: none;
padding: 0;
text-align: center; /* Alineación centrada para el menú */
}
nav ul li {
display: inline;
margin: 0 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
/* Estilos del contenido principal */
main {
padding: 2rem;
max-width: 900px;
margin: auto;
}
/* Estilos de sección */
section {
margin-bottom: 2rem;
}
/* Estilos del pie de página */
footer {
background: #333;
color: #fff;
text-align: center;
padding: 1rem 0;
position: fixed;
width: 100%;
bottom: 0;
}
/* Estilos de imágenes */
img {
max-width: 100%; /* Imágenes responsivas */
height: auto;
display: block; /* Elimina espacio adicional debajo de las imágenes */
margin: 0 auto 15px; /* Alineación centrada y margen inferior */
}
/* Estilos para divs */
div {
overflow: hidden;
margin-bottom: 20px;
}
div img {
float: right;
margin-left: 15px;
margin-bottom: 15px;
}
/* Estilos para párrafos */
p {
text-align: justify; /* Justificación de párrafos */
}