-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
74 lines (65 loc) · 1.32 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
body {
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-align: center;
background-color: black;
color: aliceblue;
}
h1 {
position: absolute;
/* color: black; */
top: 1em;
left: 50%;
transform: translateX(-50%);
font-size: 2em;
}
a {
color: inherit;
text-decoration: none;
font-size: larger;
}
a:hover {
color: rgb(195, 147, 195);
/* text-decoration: underline; */
transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}
nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1em 6em;
position: relative;
}
.links {
position: relative;
display: flex;
gap: 1em;
}
footer {
position: relative;
bottom: 0;
width: 100%;
/* background-color: #222; */
color: white;
padding: 1em;
text-align: center;
}
main {
position: absolute;
top: 1em; /* Ajusta según la distancia desde la parte superior que prefieras */
left: 0;
right: 0;
}
@media (max-width: 645px) {
nav {
flex-direction: column;
gap: 0.5em;
}
.links {
flex-direction: column;
gap: 0.5em;
}
main {
top: 1em;
}
}