Skip to content
Snippets Groups Projects
Commit d851f792 authored by HouTeng Chan's avatar HouTeng Chan
Browse files

Update menu.html

parent e0a62e93
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Updated Navigation Bar with Smaller Height and Black Text</title> <title>Updated Navigation Bar with Larger Logo and Left-aligned Menu</title>
<style> <style>
body { body {
margin: 0; margin: 0;
...@@ -16,17 +17,17 @@ ...@@ -16,17 +17,17 @@
top: 0; top: 0;
left: 0; left: 0;
z-index: 1000; z-index: 1000;
height: 50px; /* Reduced height */ height: 50px;
border-radius: 20px; border-radius: 20px;
} }
.logo-container { .logo-container {
position: absolute; position: absolute;
top: 5px; top: 10px; /* Adjusted to make logo overflow */
left: 10px; left: 10px;
z-index: 1030; z-index: 1030;
} }
.navbar-logo { .navbar-logo {
max-height: 40px; /* Adjusted logo size */ height: 100px; /* Increased logo size */
border-radius: 20px; border-radius: 20px;
} }
.my-navbar { .my-navbar {
...@@ -34,16 +35,17 @@ ...@@ -34,16 +35,17 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-start; /* Changed to flex-start */
align-items: center; align-items: center;
height: 100%; height: 100%;
padding-left: 120px; /* Added padding to move items to the right of the logo */
} }
.my-navbar > li { .my-navbar > li {
position: relative; position: relative;
margin-right: 20px; margin-right: 20px;
} }
.my-navbar > li > a { .my-navbar > li > a {
color: black; /* Changed to black */ color: black;
text-decoration: none; text-decoration: none;
padding: 5px 10px; padding: 5px 10px;
display: block; display: block;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment