-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.html
115 lines (110 loc) · 3.32 KB
/
menu.html
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
<html>
<head>
<style>
@font-face {
font-family: Mont-Heavy;
src: url(Mont-Heavy.otf);}
@font-face {
font-family: Mont-ExtraLight;
src: url(Mont-ExtraLight.otf);
}
#links{
transition: all 1s;
position: fixed;
width: 100%;
height: 100%;
background-color: rgb(241, 255, 243);
right: -100vw;
z-index: -10;
text-align: left;
font-family: Mont-ExtraLight;
font-size: 500%;
}
#menu{
margin-right: 60px;
margin-top: 55px;
margin-bottom: 35px;
background-color: #ffffff00;
border: none;
}
#cm{
height: 10vw;
position: absolute;
right: 50px;
}
.li{
transition: color 1s;
text-decoration: none;
color:black;
line-height: 200%;
border-bottom: thick solid black;
border-bottom-style: solid;
margin: auto;
}
.li:hover{
color: green;
transition: color 1s;
}
#mentop{
line-height: 150%;
}
#top{top: 30px;
position: sticky;
background-color: rgba(193, 204, 122, 0.76);
height: 150px;
text-align: right;
box-shadow: 0px 0px 20px #888888;
display: flex;
justify-content: space-between;
z-index: 100;
border:0px;
border-radius: 25px;
width: 95vw;
margin-left: 2.5vw;
}
#logo{
margin-top: 30px;
margin-left: 5vw;
height: 90px;
max-width: 97vw;
animation-name: logo;
animation-duration: 2s;
}
#hm{
height: 50px;
top: -10px;
position: relative;
}
body, html{
padding: 0;
margin: 0;
font-family: Mont-ExtraLight;
}
ul{
list-style: none;
line-height: 10vh;
text-align: center;
margin: auto;
}
#vcenter{
margin-top: 20vh;
}
</style>
</head>
<body>
<script src="main.js"></script>
<div id="links">
<button onclick="hidemenu()" id="menu"><img id="cm" src="cross.png" alt="menu"></button>
<div id="vcenter">
<ul>
<li><a class="li" href="index.html">Home</a></li>
<li><a class="li" id="mentop" href="hillier.html">Climate Unity Project</a></li>
</ul>
</div>
</div>
<nav id="top">
<div><a href="index.html"><img id="logo" src="ecogroup.png" alt="logo"></a></div>
<div><button onclick="showmenu()" id="menu"><img id="hm" src="hamburger-menu.png" alt="menu"></button></div>
</nav>
</body>
</html>