mirror of
https://github.com/Spythere/spythere-portfolio.git
synced 2026-05-03 21:48:18 +00:00
smooth scrolling
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
import { styled } from 'styled-components';
|
||||
|
||||
export const StyledNavbar = styled.nav`
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 3.5em;
|
||||
|
||||
color: white;
|
||||
background-color: ${({ theme }) => theme.colors.nav};
|
||||
padding: 0.75em 2em;
|
||||
`;
|
||||
|
||||
export const StyledNavlinkBrand = styled.div`
|
||||
export const StyledNavlinkBrand = styled.a`
|
||||
opacity: 0.85;
|
||||
font-weight: 700;
|
||||
color: ${({ theme }) => theme.colors.primary};
|
||||
|
||||
Reference in New Issue
Block a user