-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.css
64 lines (50 loc) · 1.14 KB
/
header.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
/*------------HEADER------------*/
header {
grid-area: 1 / 1 / 2 / 10;
height: fit-content;
/*Cuadrícula grid dentro del header*/
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-template-rows: repeat(2, 5rem);
}
/*Barra de identificación*/
header div.identificacion {
grid-area: 1 / 1 / 2 / 10;
background-color: var(--primary-color);
/*Layout de la barra*/
display: flex;
justify-content: space-between;
align-items: center;
color: var(--terciary-color);
}
/*Logo*/
header div.identificacion img {
width: 5rem;
height: 5rem;
}
/*Enlaces*/
header div.identificacion .enlaces {
padding: 1rem;
display: flex;
align-items: center;
}
header div.identificacion .enlaces p {
padding: 1rem;
cursor:pointer;
}
/*Barra de navegación*/
header nav {
grid-area: 2 / 4 / 3 / 7;
/*Estilos*/
color: var(--primary-color);
background-color: var(--secondary-color);
border-radius: 0.5rem;
}
header nav ul {
display: flex;
justify-content: space-between;
margin-right: 4rem;
margin-top: 0;
list-style-type: none;
cursor:pointer;
}