mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-05-02 16:38:01 +00:00
154 lines
2.7 KiB
JavaScript
154 lines
2.7 KiB
JavaScript
import styled from "styled-components";
|
|
|
|
export const ServiceContainer = styled.div`
|
|
min-height: 100vh;
|
|
display: flex;
|
|
|
|
@media (max-width: 768px) {
|
|
flex-direction: column;
|
|
}
|
|
`;
|
|
|
|
export const LeftContainer = styled.div`
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 5rem;
|
|
padding: 5rem 2rem;
|
|
|
|
@media (min-width: 768px) {
|
|
width: 50%;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
background-color: #000000;
|
|
row-gap: 1rem;
|
|
}
|
|
`;
|
|
|
|
export const Title = styled.h1`
|
|
font-size: 12rem;
|
|
color: #ffffff;
|
|
font-family: "Catamaran", sans-serif;
|
|
letter-spacing: 2px;
|
|
|
|
transition: all 0.45s ease-out;
|
|
|
|
@media (min-width: 768px) and (max-width: 1200px) {
|
|
font-size: 8rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
font-size: 5rem;
|
|
text-align: center;
|
|
}
|
|
`;
|
|
|
|
export const Heading = styled.h1`
|
|
font-size: 10rem;
|
|
font-family: "Oswald";
|
|
letter-spacing: 1px;
|
|
white-space: normal;
|
|
word-break: normal;
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.2;
|
|
color: #8f9094;
|
|
transition: all 0.45s ease-out;
|
|
|
|
@media (min-width: 768px) and (max-width: 1200px) {
|
|
font-size: 8rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
font-size: 2.5rem;
|
|
text-align: center;
|
|
}
|
|
`;
|
|
|
|
export const ServiceCardContainer = styled.div`
|
|
background-color: rgb(237, 242, 248);
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 3rem;
|
|
padding: 5rem 3rem;
|
|
|
|
@media (min-width: 768px) {
|
|
width: 50%;
|
|
padding: 5rem 3rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
padding: 5rem 1rem;
|
|
}
|
|
`;
|
|
|
|
export const ServiceCard = styled.div`
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 1rem;
|
|
font-family: "Catamaran", sans-serif;
|
|
font-optical-sizing: auto;
|
|
min-width: 30rem;
|
|
flex-grow: 1;
|
|
`;
|
|
|
|
export const Image = styled.img`
|
|
height: 5rem;
|
|
width: 5rem;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
|
|
@media (max-width: 768px) {
|
|
align-self: center;
|
|
}
|
|
`;
|
|
|
|
export const CardHeading = styled.h1`
|
|
font-size: 3rem;
|
|
font-family: "Oswald", sans-serif;
|
|
|
|
@media (max-width: 768px) {
|
|
text-align: center;
|
|
font-size: 2rem;
|
|
}
|
|
`;
|
|
|
|
export const CardDesc = styled.p`
|
|
font-size: 1.8rem;
|
|
color: black;
|
|
font-family: "Catamaran", sans-serif;
|
|
|
|
@media (max-width: 768px) {
|
|
font-size: 1.6rem;
|
|
}
|
|
`;
|
|
|
|
export const CardListContainer = styled.ul`
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
column-gap: 1.5rem;
|
|
row-gap: 1rem;
|
|
padding-inline-start: 0;
|
|
`;
|
|
|
|
export const CardListItem = styled.li`
|
|
list-style-type: none;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem 1.5rem;
|
|
background-color: black;
|
|
height: 4rem;
|
|
border-radius: 1.5rem;
|
|
|
|
@media (min-width: 768px) {
|
|
width: 50%;
|
|
align-self: flex-start;
|
|
}
|
|
`;
|
|
|
|
export const CardItemText = styled.p`
|
|
color: white;
|
|
font-size: 1.6rem;
|
|
font-family: "Catamaran", sans-serif;
|
|
`;
|