reworked site
This commit is contained in:
@@ -83,37 +83,64 @@ header {
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: inline-flex;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
border-radius: 999px;
|
||||
padding: 6px;
|
||||
backdrop-filter: blur(8px);
|
||||
border: 1px solid rgba(148, 163, 184, 0.25);
|
||||
gap: 6px;
|
||||
padding: 4px 0;
|
||||
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-nav::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -1px;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, rgba(79, 70, 229, 0.7), rgba(14, 165, 233, 0.7));
|
||||
opacity: 0.35;
|
||||
}
|
||||
|
||||
.site-nav__btn {
|
||||
border-radius: 999px;
|
||||
padding: 10px 18px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-weight: 600;
|
||||
color: #0f172a;
|
||||
color: #475569;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: none;
|
||||
transition: color 0.2s ease, transform 0.2s ease;
|
||||
font-size: 15px;
|
||||
letter-spacing: 0.01em;
|
||||
padding: 10px 16px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-nav__btn::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
bottom: -8px;
|
||||
height: 3px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(135deg, #4338ca, #0ea5e9);
|
||||
transform: translateY(6px);
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.site-nav__btn:hover {
|
||||
background: rgba(15, 23, 42, 0.05);
|
||||
color: #0f172a;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.site-nav__btn.nav-active {
|
||||
background: linear-gradient(135deg, #2563eb, #7c3aed);
|
||||
color: white;
|
||||
box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.site-nav__btn.nav-active::after {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.header-controls {
|
||||
|
||||
Reference in New Issue
Block a user