-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path_header.scss
91 lines (78 loc) · 1.46 KB
/
_header.scss
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
.header {
position: fixed;
top: 0;
left: 0;
z-index: 10;
display: none;
align-items: center;
width: 100%;
height: 7.7rem;
background-color: $header-bg-color;
color: $light;
&__left {
flex: 0 0 4rem;
text-align: center;
.fa-bars {
@media (min-width: 768px) {
display: none;
}
}
}
&__right {
flex: 1;
padding-right: 10%;
text-align: center;
@media (min-width: 768px) {
display: flex;
justify-content: space-between;
padding-left: 5%;
}
}
&__icon{
font-size: 2rem;
cursor: pointer;
}
&__title {
align-self: center;
font-family: $font-title;
font-size: 2.4rem;
}
&__menu {
display: none;
font-size: 1.9rem;
nav {
ul {
list-style: none;
a {
text-decoration: none;
cursor: pointer;
img {
height: 2.3rem;
}
li {
display: inline;
padding: 0 15px 0 0;
&:hover {
// border-bottom: 2px solid $light-brown;
// text-decoration: underline $light-brown ;
color: $light-brown;
}
}
}
}
}
@media (min-width: $tablet-width) {
display: flex;
font-size: 1.4rem;
img {
height: 1.0rem;
}
ul {
margin-top: 25px;
}
}
@media (min-width: $desktop-width) {
font-size: 2.0rem;
}
}
}