mirror of
https://github.com/Spythere/spythere-portfolio.git
synced 2026-05-03 21:48:18 +00:00
about me section
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import { styled } from 'styled-components';
|
||||
|
||||
export const StyledAbout = styled.section`
|
||||
img {
|
||||
max-width: 120px;
|
||||
}
|
||||
`;
|
||||
|
||||
export const StyledAboutItem = styled.div`
|
||||
h2 {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
transform: translate(20px, -15px);
|
||||
margin: 0;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
height: 4px;
|
||||
background-color: ${({ theme }) => theme.colors.primary};
|
||||
}
|
||||
|
||||
&::before {
|
||||
right: 100%;
|
||||
transform: translate(0, 15px);
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
left: 0;
|
||||
width: calc(100% + 5px);
|
||||
transform: translate(-5px, 15px);
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user