-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlink.css
94 lines (80 loc) · 1.58 KB
/
link.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
*,
::before,
::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
}
body,h1,p{
margin: 0;
}
body {
font-family: 'Lato', sans-serif;
height: 100vh;
padding-top: 4rem;
display: flex;
justify-content: center;
align-items: center;
}
#navbar {
background-color:#1e40af ;
}
#navbar {
background-color: #1e40af;
display: flex;
justify-content: space-between; /* Justify content mueve las cajas en el eje x */
padding: 0 1rem;
height: 4rem;
align-items: center; /* align items mueve las cajas en el eje y */
position: fixed;
top: 0;
left: 0;
right: 0;
}
#navbar-logo {
color: #eff6ff;
}
#main-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
flex-direction: column;
gap: 1rem;
padding: 0 1rem;
}
#main-logo {
color: #1e40af;
text-transform: uppercase;
font-size: 3rem;
}
#main-desc-container {
display: flex;
flex-direction: column;
gap: 1rem;
}
#main-desc {
text-align: justify;
}
#main-link {
color: #eff6ff;
background-color: #1e40af;
padding: 0.5rem 1rem;
text-align: center;
text-decoration: none;
border-radius: 0.5rem;
transition: all 0.3s ease-in-out;
}
#main-link:hover {
background-color: #1e3a8a;
}
@media (min-width:640px) {
#main-container {
flex-direction: row;
width: 75%;
}
#main-link {
width: 40%;
margin: 0 auto;
}
}