-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.css
110 lines (91 loc) · 1.82 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
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Cinzel Decorative', 'Delius Unicase', 'Finger Paint', 'Fira Sans Condensed', 'Kelly Slab', serif;
}
header {
background-color:rgba(0, 57, 45, 1);
height: 200px;
display: flex;
align-items: flex-end;
justify-content: space-between;
position: sticky;
top: 0;
width: 100%;
padding: 0px;
z-index: 1000;
transition: all 0.3s ease;
}
.large-header img {
display: flex;
max-width: 400px;
color: white;
margin-left: -20%;
padding-bottom: 20px;
}
.menu {
list-style-type: none;
padding-left: 20px;
padding-bottom: 10px;
margin: 0;
display: flex;
gap: 10px;
}
.menu li {
margin-right: 20px;
}
.menu .link {
color: white;
text-decoration: none;
font-size: 20px;
transition: color 0.3s ease;
}
.small-header {
background-color: black;
height: 90px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
}
.small-header .logo {
max-width: 200px;
justify-content: center;
margin-right: auto;
margin-left: -40%;
padding-top: 15px;
}
.small-header .link {
justify-content: center;
align-items: center;
color: white;
text-decoration: none;
font-size: 20px;
transition: color 0.3s ease;
}
@media only screen and (max-width: 768px) {
header {
height: auto;
flex-direction: column;
align-items: center;
}
.menu {
padding-top: 20px;
justify-content: center;
align-items: center;
}
.small-header {
display: none;
}
.large-header img {
margin-left: 2%;
}
}
@media screen and (max-width: 500px) {
.large-header img {
max-width: 250px;
}
}