-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (94 loc) · 1.82 KB
/
Copy pathstyle.css
File metadata and controls
111 lines (94 loc) · 1.82 KB
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
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');
html, body{
font-family: 'Anonymous Pro';
overflow-x: clip;
}
.hide {
display: none;
}
.header-container {
position: sticky;
top: 0;
}
.zoom-in {
transition: transform 0.2s;
}
.zoom-in:hover {
transform: scale(1.1);
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #f0f0f0;
}
.logo {
font-size: 24px;
font-weight: bold;
margin: 0;
}
.credits {
margin: 0;
font-size: 14px;
color: #666;
}
.menu {
position: absolute;
top: 16px;
right: 1%;
background-color: white;
padding: 1.5%;
padding-right: 100px;
opacity: 0;
transform: translateX(10px);
transition: opacity 0.3s ease, transform 0.3s ease;
border-radius: 10%;
}
.menu ul {
list-style-type: none;
padding: 10px;
margin: 0;
}
.menu ul li {
margin-bottom: 10px;
}
.menu ul li a {
text-decoration: none;
color: #333;
font-size: 16px;
}
/* Show menu when hamburger button is clicked */
.menu.active {
display: block;
opacity: 1;
z-index: 999;
transform: translateX(0);
}
#hamburger-btn {
position: relative;
width: 40px;
z-index: 1000;
height: 40px;
background-color: transparent;
border: none;
cursor: pointer;
padding: 0;
}
.bar {
display: block;
width: 100%;
height: 2px;
background-color: #000;
margin-bottom: 6px;
transition: transform 0.3s ease;
}
#hamburger-btn.open .bar:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
#hamburger-btn.open .bar:nth-child(2) {
transform: rotate(-45deg);
}
#hamburger-btn.open .bar:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}