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

[BUG] [UI Improvement] Update Outdated Navbar Buttons #376 #382

Merged
merged 2 commits into from
Oct 21, 2024
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Here’s a more detailed version of the "Steps for Contributing" section:
</tr>
<tr>
<td>
This project is part of GirlScript Summer of Code. We enthusiastically invite community contributions to contribute to Community-Site.
This project is part of GirlScript Summer of Code. We enthusiastically invite community contributions to contribute to Waste Managment.
</td>
</tr>
</table>
Expand Down
43 changes: 27 additions & 16 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1287,26 +1287,37 @@ nav ul li a:hover {
display: none;
}

/* From Uiverse.io by uiverse-astronaut */
button {
background: #94fb1f;
font-family: inherit;
padding: 0.6em 1.3em;
font-weight: 900;
font-size: 18px;
border: 3px solid black;
border-radius: 0.4em;
box-shadow: 0.1em 0.1em;
/* CSS for transparent navbar buttons */
.btn-nav {
display: flex;
gap: 10px;
}

.button {
background-color: transparent;
padding: 10px 20px;
border: none; /* No border */
font-family: 'Poppins', sans-serif; /* Modern font */
font-size: 16px;
font-weight: bold; /* Bold font */
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease; /* Smooth transition */
}

.button a {
text-decoration: none;
color: #fff; /* White text color by default */
font-weight: bold;
transition: color 0.3s ease; /* Smooth transition for color */
}

button:hover {
transform: translate(-0.05em, -0.05em);
box-shadow: 0.15em 0.15em;
.button:hover {
transform: scale(1.1); /* Scale the button slightly on hover */
}

button:active {
transform: translate(0.05em, 0.05em);
box-shadow: 0.05em 0.05em;
.button a:hover {
color: #adff2f; /* Light yellow-green text color on hover */
}

/* General styling */
Expand Down