Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickyangtpe authored Feb 27, 2024
1 parent 19e9460 commit 3b8f2ce
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
color: white;
text-align: center;
padding: 10px 0;
}#navbar {
}
#navbar {
position: fixed;
top: 0;
width: 100%;
Expand Down Expand Up @@ -161,31 +162,43 @@

.dropdown-content a {
color: white;
padding: 12px 20px;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: rgba(5, 5, 5, 0.1);
background-color: rgba(5, 5, 5, 0.1); /* Changed to light gray */
}

.dropdown:hover .dropdown-content {
display: block;
}

/* Additional CSS for the download button */
#download-btn {
color: rgba(211, 211, 211, 0.5); /* Light gray */
padding: 12px 16px;
text-decoration: none;
display: block;
}

#download-btn:hover {
text-decoration: underline;
}
</style>
</head>
<body>

<!-- Navigation bar -->
<div id="navbar">
<a href="">首頁</a>
<a href="#">首頁</a>
<a href="https://github.com/Nickyangtpe/CatPort/tree/main">GitHub</a>
<div class="dropdown">
<span>下載</span>
<a class="dropbtn">下載</a>
<div class="dropdown-content">
<a href="https://github.com/Nickyangtpe/CatPort/releases/download/Launcher%E7%99%BC%E5%B8%83/CartPort-Launcher.exe">程式下載</a>
<a href="https://github.com/Nickyangtpe/CatPort/releases">其他</a>
<a href="https://github.com/Nickyangtpe/CatPort/releases/download/Launcher%E7%99%BC%E5%B8%83/CartPort-Launcher.exe">Launcher.exe</a>
<!-- Add more download options here if needed -->
</div>
</div>
</div>
Expand Down

0 comments on commit 3b8f2ce

Please sign in to comment.