mirror of
https://github.com/Spythere/spythere-portfolio.git
synced 2026-05-04 05:58:16 +00:00
about section
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import { styled } from 'styled-components';
|
||||
|
||||
export const StyledAbout = styled.section`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
.about-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
@@ -30,4 +26,29 @@ export const StyledAbout = styled.section`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.about-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 2em;
|
||||
margin-top: 4em;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
gap: 2.5em;
|
||||
|
||||
text-align: center;
|
||||
padding: 2em 1em;
|
||||
min-height: 250px;
|
||||
|
||||
border-radius: 1em;
|
||||
background-color: ${({ theme }) => theme.colors['600']};
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user