Skip to content
Open
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
37 changes: 37 additions & 0 deletions css/navbar-btn.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Navbar buttons styling */
.navbar-link-list a {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 18px;
margin: 4px;
border-radius: 8px;
background-color: #4a55a2;
color: #fff;
text-decoration: none;
font-weight: 500;
font-size: 14px;
border: 2px solid transparent;
transition: all 0.25s ease-in-out;
}

.navbar-link-list a:hover,
.navbar-link-list a:focus-visible {
background-color: #ffffff;
color: #4a55a2;
border: 2px solid #39d113;
transform: translateY(-2px);
outline: none;
}

.navbar-link-list a:focus-visible {
box-shadow: 0 0 0 3px rgba(74, 85, 162, 0.35);
}

@media (max-width: 768px) {
.navbar-link-list a {
width: 100%;
justify-content: center;
padding: 10px 0;
}
}
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
media="(prefers-color-scheme: dark)" />
<link rel="stylesheet" href="style/style.css" />
<link rel="stylesheet" href="style/banner.css" />
<link type="css" rel="stylesheet" href="css/navbar-btn.css" crossorigin="anonymous">


<link rel="stylesheet" href="css/navbar-btn.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v2.1.6/css/unicons.css" />
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&amp;display=swap"
Expand Down