-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.html
97 lines (85 loc) · 2.03 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
<head>
<link rel="stylesheet" href="css/header.css">
</head>
<body>
<div class="menu">
<ul>
<li><a href="index.html" target="_self">Home</a></li>
<li><a href="ChemStr.html" target="_self">ChemStr</a></li>
<!-- <li><a href="manuals.html" target="_self">Manuals</a></li> -->
<li><a href="MedScience.html" target="_self">MedScience</a></li>
<li><a href="investment.html" target="_self">Investment</a></li>
<!-- <li><a href="spelling-bee/spelling-bee.html" target="_self">SpellingBee</a></li> -->
<!-- <li><a href="contact.html" target="_self">Contact</a></li> -->
<!-- <li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Dropdown</a>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</li> -->
<li><a href="trivia.html" target="_self">Trivia</a></li>
<li>
</li>
<li>
</li>
<li class="right">
<div id="PT"></div>
</li>
<li>
</li>
<li class="right">
<div id="CET"></div>
</li>
</ul>
</div>
</body>
<style>
div.menu{
text-align: center;
position: sticky;
top: 0;
margin: 0;
font-size: 20px;
}
a{
text-decoration: none;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a, .dropbtn {
display: inline-block;
color: white;
text-align: center;
padding: 10px 16px;
text-decoration: none;
}
li a:hover, .dropdown:hover .dropbtn {
background-color: red;
}
li.right {
padding-top:15px;
}
#Time{
display: flex;
justify-content: space-between;
}
#PT,#CET{
color: #f1f1f1;
width: 50%;
font-size: 13px;
white-space: nowrap;
}
</style>