-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_header.scss
110 lines (99 loc) · 2.06 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
header{
width: 100%;
color: $primary-text-color;
background-image: linear-gradient(-45deg, $light-color, lighten($orange, 20%) 100%);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2%;
h2{
font-family: $title-font;
font-size: 6vw;
background: linear-gradient(45deg, red 10%, green, blue 70%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
a{
color: $orange;
text-decoration: none;
&:hover{
color: darken($orange, 15%);
}
&:active{
color: lighten($orange, 25%);
}
}
}
nav{
width: 80%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
background-color: inherit;
}
ul{
display: flex;
justify-content: flex-end;
margin-bottom: 15px;
width: 100%;
.fa-solid{
font-size: 1rem;
text-shadow: none;
margin-right: 5px;
@media(max-width: 646px){
font-size: 2.5vw;
margin-right: .5vw;
display: none;
}
}
}
li{
margin: 0 10px;
font-size: 1.4rem;
font-family: $font-stack;
text-shadow: -1px 1px 1px $primary-text-color;
}
#phone-number{
font-family: Arial, Helvetica, sans-serif;
font-style: italic;
}
nav > div{
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
}
nav>div>span{
margin-right: 30px;
font-family: Arial, Helvetica, sans-serif;
font-weight: 700;
}
@media(max-width:1103px){
header{
flex-direction: column;
align-items: center;
padding: 20px 0;
margin: 0;
height: auto;
}
ul{
justify-content: center;
}
nav{
align-items: center;
}
nav>div{
justify-content: space-around;
}
header>h2{
font-size:11vw;
}
}
@media(max-width:646px){
li{
font-size: 4vw;
margin: 0 1vw;
}
}