-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.css
113 lines (108 loc) · 1.73 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
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
111
112
113
.nav-bar {
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
background-color: hsl(0, 0%, 100%);
left: 0;
right: 0;
height: 70px;
padding-left: 20px;
padding-right: 20px;
}
.left-side {
flex: 1;
text-align: end;
padding-top: 5px;
max-width: 300px;
}
.right-side {
flex: 1;
max-width: 330px;
margin-left: 50px;
}
.middle {
flex: 1;
max-width: 600px;
/* background-color: lightblue; */
text-align: center;
}
.link {
display: inline-block;
padding-left: 12px;
padding-right: 12px;
cursor: pointer;
font-size: 15px;
color: hsl(233, 8%, 62%);
transition: 0.5s;
}
.link:hover {
font-size: 18px;
color: grey;
}
.request-btn {
padding: 12px 32px 12px 32px;
border: none;
background-color: hsl(136, 65%, 51%);
color: white;
border-radius: 2.5rem;
font-weight: 600;
cursor: pointer;
transition: 0.5s;
}
.button .request-btn:hover {
padding-left: 36px;
padding-right: 36px;
}
.hidden-hamburger {
display: none;
}
@media (min-width: 773px) {
.hamburger {
display: none;
/* z-index: 0; */
}
.mobile-view {
display: none;
}
}
@media (max-width: 1202px) {
.right-side {
display: none;
}
.left-side {
text-align: center;
}
.middle {
text-align: center;
}
}
@media (max-width: 773px) {
.left-side {
text-align: start;
}
.middle {
text-align: end;
}
.link {
display: none;
}
.nav-bar {
position: relative;
}
.mobile-view {
position: absolute;
top: 40px;
background-color: white;
color: hsl(233, 8%, 62%);
left: 0;
right: 0;
padding-top: 20px;
padding-bottom: 20px;
text-align: center;
line-height: 2;
}
.m-link {
list-style: none;
}
}