-
Notifications
You must be signed in to change notification settings - Fork 0
/
nav.html
executable file
·171 lines (152 loc) · 3.71 KB
/
nav.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<style media="screen">
.nav ul {
*zoom:1;
list-style:none;
margin:0;
padding:0;
background:#333;
}
.nav ul:before,.nav ul:after {
content:"";
display:table;
}
.nav ul:after {
clear:both;
}
.nav ul > li {
float:left;
position:relative;
}
.nav a {
display:block;
padding:10px 20px;
line-height:1.2em;
color:#fff;
border-left:1px solid #595959;
}
.nav a:hover {
text-decoration:none;
background:#595959;
}
.nav li ul {
background:#333;
}
.nav li ul li {
width:200px;
}
.nav li ul a {
border:none;
}
.nav li ul a:hover {
background:rgba(0,0,0,0.2);
}
.nav li ul {
position:absolute;
left:0;
top:36px;
z-index:1;
}
.nav li ul li {
overflow:hidden;
height:0;
-webkit-transition:height 200ms ease-in;
-moz-transition:height 200ms ease-in;
-o-transition:height 200ms ease-in;
transition:height 200ms ease-in;
}
.nav ul > li:hover ul li {
height:36px;
}
nav {
background: #333 !important;
}
@font-face {
font-family: GraublauWeb;
src: url("font/OlsenTF-Regular.otf") format("opentype");
}
.nav-buttons {
display: inline;
color: white;
padding-left: 3%;
font-size: 115%;
font-family: GraublauWeb;
}
#mynav {
background-color: black;
padding: 1.5%; /*height of nav*/
}
.nav {
display: none;
}
@media (max-width: 767px) {
#mynav {
display: none;
}
.nav {
display: inline;
}
}
.anav:hover {
color: #EA9629;
text-decoration: none;
}
.nav-buttons:hover {
color: #EA9629;
text-decoration: none;
}
.menu:hover {
color: white;
}
.menu {
font-family: GraublauWeb;
}
.anav {
font-family: GraublauWeb;
}
.try {
padding-top: 4% !important;
/*padding-bottom: 2px !important;*/
padding-bottom: 4% !important;
}
/*this style is for responsive header*/
*{
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
canvas{
background-color: #000;
}
</style>
</head>
<body>
<header>
<img src="article/img/data-center.jpeg" alt="Navigator image" width="100%" height="auto">
</header>
<nav class="nav">
<ul class="try">
<li>
<a class="menu" href="#">Menu</a>
<ul>
<li><a class="anav" href="index.php">HOME</a></li>
<li><a class="anav" href="aboutme.php">ABOUT ME</a></li>
<li><a class="anav" href="contact.php">CONTACTS</a></li>
<li><a class="anav" href="hireme.php">RESUME</a></li>
<li><a class="anav" href="but.php">BUT..</a></li>
</ul>
</li>
</ul>
</nav>
<nav id="mynav">
<a class="nav-buttons" href="index.php">HOME</a>
<a class="nav-buttons" href="aboutme.php">ABOUT ME</a>
<a class="nav-buttons" href="contact.php">CONTACTS</a>
<a class="nav-buttons" href="hireme.php">RESUME</a>
<a class="nav-buttons" href="but.php">BUT..</a>
</nav>
</body>
</html>