Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: redesign the about us page #624

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions aboutus.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
margin-bottom: 40px;
}
h1{
color: black;
color: rgb(255, 255, 255);
text-align: center;
}
h1:hover{
Expand Down Expand Up @@ -117,6 +117,9 @@
bottom: 0;
animation: rocket 4s linear infinite;
}
.dark-mode nav ul li a img{
filter: invert(1);
}

@keyframes rocket {
0% {
Expand Down Expand Up @@ -175,12 +178,15 @@
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="./aboutus.html">About Us</a></li>
<li><a href="index.html">Game Controllers</a></li>
<li><a href="index.html">VR Accessories</a></li>
<li><a href="index.html">Gaming Keyboard</a></li>
<li><a href="index.html">Others</a></li>
<li class="login"><a href="login/login.html">Login</a></li>
<li><label class="switch">
<input type="checkbox" id="theme-toggle" onchange="toggleTheme()">
<span class="slider"></span>
</label></li>

<!-- Inside the navbar ul -->
<li class="cart-nav">
Expand Down
7 changes: 5 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ button[type="submit"]:hover {

#cart-count {
font-size: 16px; /* Adjust font size to match */
vertical-align: middle;
vertical-align: super;
}

.dark-mode .navbar {
Expand Down Expand Up @@ -475,7 +475,10 @@ nav ul li.login:hover {
color: #ccc;
}
.dark-mode .feature p {
color: #000; /* Set paragraph color to black */
color: whitesmoke; /* Set paragraph color to black */
}
.dark-mode .feature{
background: #111111;
}

.col-1 h3 {
Expand Down