-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesHeader.css
106 lines (86 loc) · 1.43 KB
/
stylesHeader.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
95
96
97
98
99
100
101
102
103
104
105
106
header{
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
}
header img{
margin-top: 2em;
height: 100px;
width:100px;
}
header nav{
width:100%;
}
header ul{
padding-left:0;
}
header li{
text-align: center;
padding: 1rem;
font-family: Pathway Gothic One;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 28px;
letter-spacing: 0.1em;
text-align: center;
text-transform: uppercase;
}
header a{
color: white;
text-decoration: none;
font-family: Pathway Gothic One;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 28px;
letter-spacing: 0.1em;
text-align: center;
}
header a:hover{
color: var(--grey-light);
}
header li:hover{
background-color: var(--header-grey);
}
header li.active{
background-color: var(--header-grey);
}
/* tablette */
@media (min-width:768px)
{
header{
flex-direction: row;
}
header img{
margin-top:0em;
}
header img{
margin-left:1.4em;
height: 100%;
width:5em;
}
header nav{
height: auto;
margin:0;
}
header ul{
height: auto;
margin:0;
display:flex;
flex-direction:row;
justify-content: flex-end;
}
header li{
list-style: none;
height: auto;
padding:1em;
padding-top:1.6em;
padding-bottom:1.6em;
cursor: pointer;
}
header a{
font-size: 0.8em;
}
}