-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindexold.html
More file actions
105 lines (91 loc) · 3.28 KB
/
Copy pathindexold.html
File metadata and controls
105 lines (91 loc) · 3.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DoBu Martial Arts Academy</title>
<link rel="icon" type="image/x-icon" href="dobu.png">
</head>
<body>
<style>
body {
/*background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,1)),url("https://png.pngtree.com/thumb_back/fh260/back_our/20190620/ourmid/pngtree-chinese-style-hand-painted-shaolin-kung-fu-martial-arts-poster-background-image_159086.jpg");
*/
background-image:url("https://png.pngtree.com/thumb_back/fh260/back_our/20190620/ourmid/pngtree-chinese-style-hand-painted-shaolin-kung-fu-martial-arts-poster-background-image_159086.jpg");
background-repeat: no-repeat;
background-size: cover;
}
.column-right {
position: absolute;
top: 0;
}
.navbar {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
.navbar li {
float: left;
}
.navbar li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar li a:hover {
background-color: #111;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #000000;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #402626;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a:hover {
color: red; /* Change the color when hovering over an option */
}
</style>
<script>
function toggleDropdown() {
var dropdownContent = document.getElementById("dropdown-content");
dropdownContent.style.display = dropdownContent.style.display === "none" ? "block" : "none";
}
</script>
<div class = 'column-left'>
<h1 style="text-align:center;color:black;margin-left:100px;">Dobu Martial Arts Academy</h1>
<h2 style= "text-align:center;color:black;margin-left:100px;" > Unleash Your Inner Warrior </h2>
</div>
<div class = 'column-right'>
<a href="index.html"><img src="dobu.png" width="100" height="100"> </a>
</div>
<!-- Navigation bar HTML -->
<ul class="navbar">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li class="dropdown">
<a href="#" class="dropbtn" onclick="toggleDropdown()">Courses</a>
<div class="dropdown-content" id="dropdown-content">
<a href="specialist-courses.html">Specialist Courses</a>
<a href="prices-packages.html">Prices & Packages</a>
<li><a href="instructors.html">Instructors</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</body>
</html>