Skip to content

Instantly share code, notes, and snippets.

@ardianzzz
Created June 16, 2025 23:25
Show Gist options
  • Save ardianzzz/d72d56adcb843f41433dc03835a7759c to your computer and use it in GitHub Desktop.
Save ardianzzz/d72d56adcb843f41433dc03835a7759c to your computer and use it in GitHub Desktop.
style extension
.site-header {
background: var(--ink);
color: white;
background: rgba(0, 0, 0, 0.88);
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
box-shadow: none;
}
.header-btn {
border-radius: 10em;
}
.header-btn:hover,
.header-btn:focus {
background: rgba(255, 255, 255, 0.08);
}
.header-btn:hover svg,
.header-btn:focus svg {
fill: #60a5fa !important;
}
.header-btn,
.sidebar-close-btn {
padding: 4px;
}
.header-btn svg,
.sidebar-close-btn svg {
width: 24px;
height: 24px;
}
.site-nav a {
padding: 4px 12px;
white-space: nowrap;
font-weight: 400 !important;
}
.header-btn svg {
fill: white;
}
.site-nav a:hover,
.site-nav a:focus {
background: rgba(255, 255, 255, 0.08);
}
.site-header input[type="search"] {
margin: 0;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.08);
}
.logo {
padding: 12px 0;
}
.section-wrapper {
padding: 16px 0 24px;
border-top: solid 1px var(--sky);
}
.section-title {
letter-spacing: 0;
font-size: 18px !important;
line-height: 24px !important;
}
.section-title a {
display: flex;
align-items: center;
color: inherit;
}
.section-title a .icon {
color: var(--sky);
}
.section-title a:hover .icon,
.section-title a:focus .icon {
color: var(--blue);
}
.more-menu-content {
display: block;
padding: 4px 16px 8px;
overflow: hidden;
}
.sidebar-nav {
padding: 8px 0;
}
.sidebar-nav a {
padding: 0 16px;
}
.more-menu:not(:first-child) {
border-top: solid 1px var(--border-color);
padding-top: 8px;
margin-top: 4px;
}
.more-menu > a {
padding: 4px 16px;
display: inline-flex;
font-size: 18px;
}
.more-menu > a:hover,
.more-menu > a:focus {
background: none;
color: var(--blue);
}
.more-menu > a:hover svg,
.more-menu > a:focus svg {
fill: var(--blue) !important;
}
.more-menu-content a {
padding: 3px 8px;
display: flex;
float: left;
margin: 0 4px 4px 0;
border: solid 1px transparent;
border-radius: 4px;
font-size: 16px;
line-height: 24px;
background: var(--light);
}
.more-menu-content a:hover,
.more-menu-content a:focus {
border-color: var(--sky);
}
.menu-position {
top: 48px;
}
.sidebar-close-btn {
top: -49px;
right: -1px;
background: #7f1d1d !important;
}
.sidebar-close-btn svg {
fill: white;
}
.sidebar-close-btn:hover svg,
.sidebar-close-btn:focus svg {
fill: #f87171;
}
.sidebar .icon svg {
fill: currentColor;
}
@media (max-height: 768px) {
.menu-banner {
display: none;
}
}
.profile-nav a {
display: flex;
align-items: center;
line-height: 24px;
padding: 8px 8px 8px 12px;
color: inherit;
text-decoration: none !important;
}
.profile-nav a:hover,
.profile-nav a:focus {
background: var(--light);
}
label .icon {
display: block;
}
.site-header input[type="search"] {
color: white;
}
.autocomplete-list {
color: var(--ink);
border-radius: 4px;
}
@media (max-width: 969px) {
.site-nav a {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment