ref: improve responsive
This commit is contained in:
parent
db00ee6b29
commit
758a66fb7d
@ -4,6 +4,10 @@ export const Avatar = styled.img`
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 5rem;
|
width: 5rem;
|
||||||
height: 5rem;
|
height: 5rem;
|
||||||
|
@media(max-width: 480px){
|
||||||
|
width: 10rem;
|
||||||
|
height: 10rem;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
export const AvatarHeader = styled.img`
|
export const AvatarHeader = styled.img`
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
@ -26,4 +26,8 @@ gap: 1rem;
|
|||||||
span{
|
span{
|
||||||
font-size: 2.3rem;
|
font-size: 2.3rem;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 448px) {
|
||||||
|
display: block;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
`
|
`
|
@ -10,6 +10,9 @@ export const ProjectGrid = styled.div`
|
|||||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@media(max-width: 512px){
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const ProjectCard = styled.a`
|
export const ProjectCard = styled.a`
|
||||||
@ -25,11 +28,18 @@ export const ProjectCard = styled.a`
|
|||||||
&:hover {
|
&:hover {
|
||||||
transform: translateY(-5px);
|
transform: translateY(-5px);
|
||||||
}
|
}
|
||||||
|
@media(max-width: 512px){
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const ProjectName = styled.h2`
|
export const ProjectName = styled.h2`
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
@media(max-width: 512px){
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const ProjectDescription = styled.p`
|
export const ProjectDescription = styled.p`
|
||||||
|
@ -2,9 +2,17 @@ import styled from "styled-components";
|
|||||||
|
|
||||||
export const SkillsContainer = styled.div`
|
export const SkillsContainer = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
align-items: center;
|
||||||
p {
|
p {
|
||||||
margin-left: 0.3rem;
|
margin-left: 0.3rem;
|
||||||
margin-right: 2.5rem;
|
margin-right: 2.5rem;
|
||||||
}
|
}
|
||||||
|
@media(max-width: 1090px){
|
||||||
|
flex-direction: column;
|
||||||
|
p{
|
||||||
|
margin: 0 0 1rem 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
`
|
`
|
Loading…
x
Reference in New Issue
Block a user