2024-11-08 11:21:42 +00:00
|
|
|
// Color Variables
|
|
|
|
$repo-home-header-bg-color: #1a1a1a;
|
|
|
|
$repo-home-header-nav-text-color: #f0f0f0;
|
|
|
|
$repo-home-header-nav-hover-text-color: #bfbfbf;
|
|
|
|
$repo-home-header-nav-right-text-color: #f0f0f0;
|
|
|
|
$repo-home-header-nav-right-hover-bg-color: #333;
|
|
|
|
$repo-home-header-border-color: #444;
|
2024-11-08 18:32:45 +00:00
|
|
|
$repo-home-header-nav-hover-bg-color: #444;
|
2024-11-09 11:15:58 +00:00
|
|
|
$repo-home-header-profile-hover-border-color: #707070;
|
2024-11-08 11:21:42 +00:00
|
|
|
|
|
|
|
// Header Styles
|
|
|
|
header {
|
2024-11-09 09:43:44 +00:00
|
|
|
background-color: $repo-home-header-bg-color;
|
|
|
|
padding: 1px 1em;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2024-11-11 10:24:12 +00:00
|
|
|
width: 100%;
|
2024-11-09 09:43:44 +00:00
|
|
|
border-bottom: 1px solid $repo-home-header-border-color;
|
2024-11-14 09:43:13 +00:00
|
|
|
height: 5vh;
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
.header-section {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 3px;
|
|
|
|
font-family: "Noto Sans", "Liberation Sans";
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
// Left Navbar Links
|
|
|
|
&.header-left {
|
|
|
|
a {
|
|
|
|
color: $repo-home-header-nav-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 0.95rem;
|
|
|
|
padding: 0.3em;
|
|
|
|
margin: 1px;
|
|
|
|
border-radius: 3px;
|
|
|
|
line-height: 2em;
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
// Logo
|
|
|
|
&.logo {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 1em;
|
|
|
|
padding: auto;
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
img {
|
|
|
|
height: 27px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
&:hover {
|
|
|
|
color: $repo-home-header-nav-hover-text-color;
|
|
|
|
background-color: $repo-home-header-nav-hover-bg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
// Right Navbar Icon-links
|
|
|
|
&.header-right a {
|
|
|
|
color: $repo-home-header-nav-right-text-color;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2024-11-08 11:21:42 +00:00
|
|
|
|
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
// Profile Icon Wrapper
|
|
|
|
&.profile-icon {
|
|
|
|
border-radius: 50%;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-11-08 11:21:42 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
img {
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2024-11-08 18:32:45 +00:00
|
|
|
|
2024-11-09 09:43:44 +00:00
|
|
|
&:hover {
|
2024-11-09 11:15:58 +00:00
|
|
|
border: 1px solid $repo-home-header-profile-hover-border-color;
|
2024-11-09 09:43:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $repo-home-header-nav-right-hover-bg-color;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|