UNPKG

my-react-portfolio

Version:

A reusable and customizable React portfolio template.

142 lines (119 loc) 2.38 kB
import styled from "styled-components"; export const AboutContainer = styled.div` width: 100%; background-color: #fafafa; color: #121212; padding: 20px; /* margin-top: 2rem; */ `; export const InnerContainer = styled.div` display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; margin-top: 4rem; margin-bottom: 4rem; `; export const HeaderContainer = styled.div` max-width: 1000px; width: 100%; text-align: center; margin-bottom: 20px; div { font-size: 1rem; margin-top: 10px; color: #5a5a5a; } `; export const Title = styled.div` text-align: center; padding-bottom: 12px; p { color: #121212; font-size: 2rem; font-weight: 700; display: inline-block; position: relative; padding-bottom: 8px; letter-spacing: 3px; &::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 30%; height: 4px; background-color: #0a7969; // theme needed border-radius: 10px; } } `; export const ContentGrid = styled.div` max-width: 1000px; width: 100%; display: grid; grid-template-columns: 2fr 2fr; gap: 30px; align-items: start; padding: 0 16px; margin-top: 30px; @media (max-width: 768px) { grid-template-columns: 1fr; gap: 40px; } `; export const IntroText = styled.div` text-align: left; h2 { font-size: 1.5rem; font-weight: bold; margin-bottom: 15px; } p { font-size: 1rem; margin-bottom: 10px; color: #5a5a5a; span { font-weight: bold; } a { color: #a33de3; text-decoration: none; } a:hover { text-decoration: underline; } } button { margin-top: 20px; /* Add space between text and button */ width: 160px; } `; export const SkillsContainer = styled.div` text-align: left; display: flex; flex-direction: column; align-items: flex-start; h3 { font-size: 1.5rem; font-weight: bold; margin-bottom: 20px; } @media (max-width: 768px) { /* margin-top: 30px; */ } `; export const SkillsList = styled.div` display: flex; flex-wrap: wrap; gap: 10px; span { background-color: #eaeaea; padding: 10px 15px; border-radius: 8px; font-weight: 500; color: #121212; } `;