design fixes
This commit is contained in:
@@ -76,13 +76,7 @@ const navLinks = [
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
nav ul li a::before {
|
||||||
position: absolute;
|
|
||||||
left: -100;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active-nav::before {
|
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
@@ -90,6 +84,19 @@ const navLinks = [
|
|||||||
height: 6px;
|
height: 6px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: var(--blue);
|
background-color: var(--blue);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li a:hover::before {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active-nav::before {
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul li::before {
|
nav ul li::before {
|
||||||
|
|||||||
@@ -24,6 +24,12 @@ const { tags } = Astro.props
|
|||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
background: var(--blue);
|
background: var(--blue);
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
|
transition: filter 0.15s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
filter: saturate(120%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag:not(:last-child) {
|
.tag:not(:last-child) {
|
||||||
|
|||||||
@@ -88,11 +88,11 @@ hr {
|
|||||||
a {
|
a {
|
||||||
color: var(--blue);
|
color: var(--blue);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: opacity 0.15s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
opacity: 0.6;
|
text-decoration: underline;
|
||||||
|
filter: saturate(120%);
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
@@ -146,12 +146,13 @@ button,
|
|||||||
outline: none;
|
outline: none;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
transition: all 0.15s;
|
transition: filter 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover,
|
button:hover,
|
||||||
.link-button:hover {
|
.link-button:hover {
|
||||||
opacity: 0.8;
|
text-decoration: none;
|
||||||
|
filter: saturate(120%);
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active,
|
button:active,
|
||||||
|
|||||||
Reference in New Issue
Block a user