Skip to content

Commit d3ebb91

Browse files
committed
add hamburgers css from vendor
1 parent 2b32e72 commit d3ebb91

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

css/main.css

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,48 @@ h1 {
3333
font-weight: bolder;
3434
margin: 20px 2px;
3535
vertical-align: baseline;
36-
}
36+
}
37+
38+
/* CSS for menu */
39+
.menuToggle {
40+
display: block;
41+
position: absolute;
42+
top: 0px;
43+
left: -300px;
44+
z-index: 99;
45+
-webkit-user-select: none;
46+
user-select: none;
47+
48+
background-color: whitesmoke;
49+
width:300px;
50+
height: 100%;
51+
52+
/* transision animation */
53+
transition-duration: 0.4s;
54+
transition-timing-function: ease;
55+
}
56+
57+
/* trigger if active */
58+
.menu-active {
59+
left : 0px;
60+
}
61+
62+
.menu {
63+
margin-top: 100px;
64+
padding-left: 20px;
65+
}
66+
67+
.menu a {
68+
text-decoration: none;
69+
70+
/* transition: color 0.3s ease; */
71+
}
72+
73+
.menu a:hover {
74+
color: #4D4D4D;
75+
}
76+
77+
#hamburger {
78+
position: relative;
79+
z-index: 999;
80+
}

vendor/hamburgers

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit c9adb729e2966e235f38218ad167033bc5e3cbc3

0 commit comments

Comments
 (0)