-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecond.css
116 lines (102 loc) · 1.69 KB
/
second.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
114
115
116
/* General Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
/* Navbar Styling */
.navbar {
display: flex;
justify-content: flex-end;
padding: 10px 20px;
background-color: white;
color: black;
box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.25);
}
.Home {
padding-right: 7vh;
}
.Grid {
padding-right: 7vh;
}
a {
text-decoration: none;
text-decoration-color: black;
}
h2 {
text-align: center;
}
h3 {
text-align: center;
}
.insta {
margin-left: 47vw;
}
.insta_icon {
width: 1vw;
height: 1vw;
margin-right: 1vw;
}
/* Hamburger menu for mobile */
.hamburger {
display: none;
margin-top:3vw;
margin-left: 90vw;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 25px;
cursor: pointer;
}
.bar {
width: 100%;
height: 5px;
background-color: #333;
border-radius: 5px;
}
.menu {
display: none;
list-style: none;
padding: 0;
background-color: #fff;
top: 0;
left: 0;
width: 100%;
margin-top: 6vw;
overflow-y: auto;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.menu li {
padding: 20px;
text-align: center;
}
.menu li:last-child {
border-bottom: none;
}
.menu li:hover {
background-color: #f0f0f0;
cursor: pointer;
}
.menu.active {
display: block;
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
}
}
@media only screen and (max-width: 450px) {
.navbar {
display: none;
}
.hamburger {
display: flex;
}
.hamburger:active {
transform: scale(0.95);
}
}