Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions src/widgets/my-page/personal-info/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ import styled from "styled-components";

export const PersonalInfoWrapper = styled.section`
position: relative;
width: 80%;
min-height: 18.5em;
width: 100%;
max-width: 850px;
min-height: 15.7em;
padding: 1.9rem 2.3rem 2rem;
background-color: #ffffff;
border-radius: 1.25rem;
box-shadow: 0 1.1rem 2.8rem rgba(169, 181, 205, 0.14);
margin: 0 auto;
margin-top: -1.65rem;


@media (max-width: 48rem) {
min-height: auto;
padding: 1.5rem 1.4rem 1.75rem;
Expand All @@ -21,7 +20,7 @@ export const PersonalInfoWrapper = styled.section`
export const Title = styled.h2`
margin: 0 0 2.6rem;
color: #46506a;
font-size: clamp(1.4rem, 2.5vw, 1.8rem);
font-size: clamp(1.3rem, 2.5vw, 1.7rem);
font-weight: 600;
line-height: 1.2;
`;
Expand All @@ -31,8 +30,8 @@ export const InfoList = styled.div`
flex-direction: column;
gap: 1.5rem;
margin-left: 2.25rem;
margin-top: -0.5rem;

margin-bottom: 2.3rem;
margin-top: -0.35rem;
@media (max-width: 48rem) {
margin-left: 0;
gap: 1.2rem;
Expand All @@ -43,6 +42,8 @@ export const InfoRow = styled.div`
display: grid;
grid-template-columns: 7.5rem minmax(0, 1fr);
align-items: center;
padding-left: 1.5rem;
padding-top: -0.3rem;
column-gap: 0.65rem;

@media (max-width: 36rem) {
Expand All @@ -52,24 +53,24 @@ export const InfoRow = styled.div`

export const Label = styled.span`
color: #4c91f3;
font-size: clamp(1.05rem, 1.9vw, 1.4rem);
font-weight: 600;
font-size: clamp(1.05rem, 1.9vw, 1.4rem);
font-weight: 550;
line-height: 1;
`;

export const Value = styled.span`
color: #55607b;
font-size: clamp(0.95rem, 1.6vw, 1.25rem);
font-weight: 700;
line-height: 1.35;
font-weight: 500;
line-height: 1.2;
word-break: break-all;
`;

export const EditButton = styled.button`
position: absolute;
right: 1.7rem;
bottom: 1rem;
min-width: 7.4rem;
min-width: 8.4rem;
height: 2.4rem;
display: inline-flex;
align-items: center;
Expand All @@ -86,7 +87,7 @@ export const EditButton = styled.button`
font-weight: 800;
cursor: pointer;

box-shadow: 0 0.25rem 0.6rem rgba(25, 118, 232, 0.25);
// box-shadow: 0 0.25rem 0.6rem rgba(25, 118, 232, 0.25);
transition: background-color 0.2s ease, transform 0.2s ease;

&:hover {
Expand Down
29 changes: 19 additions & 10 deletions src/widgets/my-page/portfolio/style.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import styled from "styled-components";

export const PortfolioWrapper = styled.section`
width: 80%;
width: 100%;
max-width: 850px;
padding: 2.3rem 2.3rem 2rem;
border-radius: 1.25rem;
background-color: #ffffff;
Expand All @@ -18,15 +19,15 @@ export const PortfolioWrapper = styled.section`
export const Title = styled.h2`
margin: 0 0 2.15rem;
color: #46506a;
font-size: clamp(1.4rem, 2.5vw, 1.8rem);
font-size: clamp(1.3rem, 2.5vw, 1.7rem);
font-weight: 600;
line-height: 1.2;
`;

export const UploadBox = styled.div`
position: relative;
width: 100%;
min-height: 18.7rem;
min-height: 18rem;
border: 0.0938rem solid #dbe1ea;
border-radius: 0.95rem;
background-color: #fdfdfe;
Expand Down Expand Up @@ -63,10 +64,11 @@ export const UploadContent = styled.div`
`;

export const FileIcon = styled.img`
width: auto;
height: clamp(4.9rem, 6vw, 5.9rem);
width: 5rem;
height: auto;
display: block;
margin-left: 0.75rem;
padding-top: 0.15rem;
`;

export const UploadText = styled.p`
Expand All @@ -78,6 +80,10 @@ export const UploadText = styled.p`

span {
color: #8a90a2;
font-weight: 500;
font-size: clamp(0.8rem, 1.7vw, 1.15rem);
text-align: center;
padding-left: 0.35rem;
}
`;

Expand Down Expand Up @@ -130,14 +136,14 @@ export const InputSection = styled.div`
export const Label = styled.h3`
margin-bottom: 0.9rem;
color: #46506a;
font-size: clamp(1.4rem, 2.5vw, 1.8rem);
font-size: clamp(1.3rem, 2.5vw, 1.7rem);
font-weight: 600;
line-height: 1.2;
`;

export const Input = styled.input`
width: 100%;
height: 3.45rem;
height: 3.15rem;
padding: 0 1.15rem;
border: 0.0625rem solid #d9dde5;
border-radius: 0.7rem;
Expand All @@ -162,7 +168,7 @@ export const SelectWrapper = styled.div`
export const Select = styled.select`
appearance: none;
width: 100%;
height: 3.45rem;
height: 3.15rem;
padding: 0 3.4rem 0 1.15rem;
border: 0.0625rem solid #d9dde5;
border-radius: 0.7rem;
Expand Down Expand Up @@ -199,7 +205,7 @@ export const ButtonWrapper = styled.div`
export const BackButton = styled.button`
width: min(100%, 18rem);
min-width: 13rem;
height: 3.55rem;
height: 3.25rem;
border: none;
border-radius: 0.85rem;
background-color: #f1f2f5;
Expand All @@ -208,6 +214,8 @@ export const BackButton = styled.button`
font-weight: 800;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.2s ease;
margin-top: -1rem;
margin-bottom: 1rem;

&:hover {
background-color: #e8ebf2;
Expand All @@ -217,8 +225,9 @@ export const BackButton = styled.button`

export const SaveButton = styled.button`
width: min(100%, 18rem);
margin-top: -1rem;
min-width: 13rem;
height: 3.55rem;
height: 3.25rem;
border: none;
border-radius: 0.85rem;
background-color: #1976e8;
Expand Down