-
Notifications
You must be signed in to change notification settings - Fork 39
[배수민] Sprint4 #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
addiescode-sj
merged 8 commits into
codeit-bootcamp-frontend:Basic-배수민
from
summerDev96:Basic-배수민-sprint4
May 14, 2025
The head ref may contain hidden characters: "Basic-\uBC30\uC218\uBBFC-sprint4"
Merged
[배수민] Sprint4 #133
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1b78b7a
fix: 스프린트2 수정사항 반영
8061b81
feat: 홈화면 반응형 작업
7f62fff
feat: 로그인 회원가입 화면 반응형 작업
61f616e
fix: 메타태그 링크 수정
a3078eb
fix: 스프린트2 수정사항 추가
1a489d0
fix: 스프린트3 css 파일 분리
440da35
feat: 스프린트4 미션 JS 추가
8f60c74
fix: 비밀번호 확인 유효성체크 수정
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,190 @@ | ||
| body { | ||
| font-family: "Pretendard Variable"; | ||
| } | ||
|
|
||
| a { | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| input { | ||
| font-family: "Pretendard Variable"; | ||
| font-size: var(--font-size-xs); | ||
| color: var(--color-secondary-800); | ||
| background-color: var(--color-secondary-100); | ||
| padding: 16px 20px; | ||
| border-radius: 12px; | ||
| height: 56px; | ||
| border: none; | ||
| } | ||
|
|
||
| input::placeholder { | ||
| color: var(--color-secondary-400); | ||
| font-size: var(--font-size-xs); | ||
| } | ||
|
|
||
| input.success { | ||
| outline: 1px solid var(--color-primary-100); | ||
| } | ||
|
|
||
| input.error { | ||
| outline: 1px solid var(--color-error); | ||
| } | ||
|
|
||
| input { | ||
| outline: none; | ||
| } | ||
|
|
||
| label { | ||
| font-size: var(--font-size-sm); | ||
| font-weight: 700; | ||
| color: var(--color-secondary-800); | ||
| } | ||
|
|
||
| .btn { | ||
| background-color: var(--color-primary-100); | ||
| text-decoration: none; | ||
| color: var(--color-secondary-100); | ||
| padding: 12px 20px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| font-weight: 600; | ||
| } | ||
|
|
||
| .btn-small { | ||
| border-radius: var(--border-radius-sm); | ||
| min-width: 128px; | ||
| height: 48px; | ||
| font-size: var(--font-size-xs); | ||
| } | ||
|
|
||
| .btn-large { | ||
| border-radius: var(--border-radius-lg); | ||
| width: 240px; | ||
| height: 48px; | ||
| font-size: var(--font-size-sm); | ||
| } | ||
|
|
||
| .btn a { | ||
| text-decoration: none; | ||
| color: var(--color-secondary-100); | ||
| } | ||
|
|
||
| .btn:disabled { | ||
| background-color: var(--color-secondary-400); | ||
| } | ||
|
|
||
| .msg { | ||
| font-size: 14px; | ||
| font-weight: 600; | ||
| padding-left: 16px; | ||
| display: none; | ||
| color: var(--color-error); | ||
| } | ||
|
|
||
| .msg.error { | ||
| display: block; | ||
| } | ||
|
|
||
| /* 폼 관련 공통 CSS */ | ||
| .form__container { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| padding: 16px; | ||
| } | ||
|
|
||
| @media screen and (min-width: 1200px) { | ||
| .form__container { | ||
| padding: 0; | ||
| } | ||
| } | ||
|
|
||
| .form__container__content { | ||
| flex-grow: 1; | ||
| display: flex; | ||
| flex-direction: column; | ||
| max-width: 400px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| @media screen and (min-width: 768px) { | ||
| .form__container__content { | ||
| max-width: 640px; | ||
| } | ||
| } | ||
|
|
||
| .form__container__content a { | ||
| display: block; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .form__container__logo { | ||
| margin-bottom: 20px; | ||
| max-width: 198px; | ||
| } | ||
|
|
||
| @media screen and (min-width: 768px) { | ||
| .form__container__logo { | ||
| max-width: 396px; | ||
| } | ||
| } | ||
|
|
||
| .form__container__label { | ||
| display: flex; | ||
| flex-direction: column; | ||
| margin-bottom: 24px; | ||
| gap: 16px; | ||
| } | ||
|
|
||
| .form__container__input { | ||
| width: 100%; | ||
| flex-grow: 1; | ||
| } | ||
|
|
||
| .form__container__input__wrap { | ||
| position: relative; | ||
| } | ||
|
|
||
| .form__container__input__wrap img { | ||
| position: absolute; | ||
| top: 50%; | ||
| right: 20px; | ||
| transform: translate(0, -50%); | ||
| } | ||
|
|
||
| .form__container button { | ||
| margin-bottom: 24px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .form__container__banner { | ||
| background-color: var(--color-background-light-blue); | ||
| border-radius: 8px; | ||
| padding: 16px 23px; | ||
| font-size: var(--font-size-sm); | ||
| font-weight: 500; | ||
| color: var(--color-secondary-800); | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| margin-bottom: 24px; | ||
| } | ||
|
|
||
| .form__container__banner__icon { | ||
| display: flex; | ||
| gap: 16px; | ||
| } | ||
|
|
||
| .form__container__signup { | ||
| display: flex; | ||
| justify-content: center; | ||
| gap: 4px; | ||
| font-size: var(--font-size-xxs); | ||
| font-weight: 500; | ||
| color: var(--color-secondary-800); | ||
| } | ||
|
|
||
| .form__container__signup a { | ||
| color: var(--color-primary-100); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,14 +4,6 @@ | |
| box-sizing: border-box; | ||
| } | ||
|
|
||
| input { | ||
| border: none; | ||
| } | ||
|
|
||
| input:focus { | ||
| outline: none; | ||
| } | ||
|
|
||
| button { | ||
| border: none; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요런건 특정 페이지 (예: signup.html)에서만 쓰이지않을까요? 재사용될필요가 있는지 확인해보고, 없다면 전역 스타일 (공용 스타일)을 처리하는 파일에서는 배제하도록할까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵! 로그인, 회원가입 공통 CSS 파일 추가하여 사용하려고 합니다