95 lines
2.7 KiB
SCSS
95 lines
2.7 KiB
SCSS
// 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;
|
|
$repo-home-header-nav-hover-bg-color: #444;
|
|
$repo-home-header-profile-hover-border-color: #707070;
|
|
|
|
// Header Styles
|
|
header {
|
|
background-color: $repo-home-header-bg-color;
|
|
padding: 1px 1em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid $repo-home-header-border-color;
|
|
|
|
.header-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-family: "Noto Sans", "Liberation Sans";
|
|
|
|
// 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;
|
|
|
|
// Logo
|
|
&.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 1em;
|
|
padding: auto;
|
|
|
|
img {
|
|
height: 27px;
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
color: $repo-home-header-nav-hover-text-color;
|
|
background-color: $repo-home-header-nav-hover-bg-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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;
|
|
|
|
|
|
// Profile Icon Wrapper
|
|
&.profile-icon {
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
img {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
&:hover {
|
|
border: 1px solid $repo-home-header-profile-hover-border-color;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $repo-home-header-nav-right-hover-bg-color;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
}
|
|
} |