💄 Style Navlink, primary buttons and headings

This commit is contained in:
nikolark committed 2022-03-06 15:16:16 +01:00
1 parent 13cc0d92a2
commit f775446224
9 files changed
+82 -23

No files matched your search

+18 -2
View File
@@ -4,6 +4,21 @@
align-items: center;
text-transform: uppercase;
}
.navLink:after {
position: absolute;
right: 12px;
left: 14px;
display: block;
height: 1px;
background-color: rgba(243, 33, 61, 0.4);
box-shadow: 0 0 4px rgba(243, 33, 61, 0.4), 0 0 11px rgba(243, 33, 61, 0.4), 0 0 19px rgba(243, 33, 61, 0.4);
content: "";
transform: rotate(-2.5deg);
}
.navLink:hover:after {
background-color: var(--brand);
box-shadow: 0 0 4px var(--brand), 0 0 11px var(--brand), 0 0 19px var(--brand), 0 0 30px var(--brand);
}
.logoNav {
margin-left: 1.5rem;
@@ -17,12 +32,13 @@
list-style: none;
}
.navLink {
position: relative;
padding: 0.4rem 0.8rem;
border: 1px solid transparent;
transition: color 0.1s ease-in-out;
}
.navLink:hover {
border-color: var(--border);
border-radius: 4px;
color: white;
}
.active.active {
color: white;
+3 -1
View File
@@ -45,7 +45,9 @@ export const Header: React.FC = () => {
</NavLink>
</li>
<li>
<a href={ADMIN_URL}>Admin</a>
<a href={ADMIN_URL} className={styles.navLink}>
Admin
</a>
</li>
</ul>
</nav>
@@ -21,7 +21,7 @@
left: 0;
padding: 4px;
color: white;
font-weight: bold;
font-size: 1.5rem;
}
.productImage {