-
Notifications
You must be signed in to change notification settings - Fork 1
구현 과제 - 로그인/회원가입 모달 - 소리 #28
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,255 @@ | ||
| @import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css); | ||
|
|
||
| /* **************** 초기설정 **************** */ | ||
|
|
||
| body { | ||
| font-family: 'Spoqa Han Sans Neo', 'sans-serif'; | ||
| background-color: #F2F2F2; | ||
| position:absolute; | ||
| top:50%; | ||
| left:50%; | ||
| transform:translate(-50%,-50%); | ||
| } | ||
|
|
||
| a { | ||
| text-decoration: none; | ||
| color: inherit; | ||
| } | ||
|
|
||
| button:enabled { | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| img { | ||
| vertical-align: top; | ||
| } | ||
|
|
||
| .a11y-hidden { | ||
| clip: rect(1px, 1px, 1px, 1px); | ||
| clip-path: inset(50%); | ||
| width: 1px; | ||
| height: 1px; | ||
| margin: -1px; | ||
| overflow: hidden; | ||
| padding: 0; | ||
| position: absolute; | ||
| } | ||
|
|
||
| /* **************** container **************** */ | ||
| .container { | ||
| display: flex; | ||
| flex-direction: column; | ||
| margin: auto; | ||
| width: 520px; | ||
| border-radius: 10px; | ||
| border: 1px solid #C4C4C4; | ||
| background: #FFF; | ||
| } | ||
|
|
||
| /* **************** header - 제목 **************** */ | ||
| header { | ||
| position: relative; | ||
| margin: 0 24px; | ||
| } | ||
|
|
||
| header h1 { | ||
| text-align: center; | ||
| margin: 20px 0; | ||
| font-weight: 500; | ||
| font-size: 16px; | ||
| } | ||
|
|
||
| header .close-btn { | ||
| position: absolute; | ||
| background: none; | ||
| border: none; | ||
| right: 12px; | ||
| top: 50%; | ||
| transform: translate(50%, -50%); | ||
| } | ||
|
|
||
| .close-btn img { | ||
| width: 16px; | ||
| height: 16px; | ||
| } | ||
|
|
||
| .underline { | ||
| width: 100%; | ||
| height: 1px; | ||
| flex-shrink: 0; | ||
| background-color: #C4C4C4; | ||
| } | ||
|
|
||
| /* **************** main - 본문 **************** */ | ||
| main { | ||
| margin: 0 24px; | ||
| } | ||
| main h2 { | ||
| margin: 26px 0; | ||
| line-height: 24px; | ||
| font-weight: 500; | ||
| font-size: 20px; | ||
| } | ||
|
|
||
| /* **************** 로그인 폼 **************** */ | ||
| .login-form { | ||
| color: #767676; | ||
| display: flex; | ||
| flex-direction: column; | ||
| } | ||
|
|
||
| .login-insert { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 10px; | ||
| } | ||
|
|
||
| .login-insert input { | ||
| width: 472px; | ||
| height: 50px; | ||
| border: 1px solid #C4C4C4; | ||
| border-radius: 5px; | ||
| padding: 15px 16px; | ||
| font-size: 16px; | ||
| } | ||
|
|
||
| .warning-id, .warning-match { | ||
| margin: 6px 0 10px 4px; | ||
| font-size: 14px; | ||
| font-weight: 400; | ||
| color: #F4492E; | ||
| } | ||
|
|
||
| .login-hold { | ||
| display: flex; | ||
| margin-top: 17px; | ||
| } | ||
|
|
||
| .login-hold label { | ||
| margin-left: 8px; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
|
|
||
| /* 체크하기 전 상태 */ | ||
| input#login-hold+label:before{ | ||
| content: ''; | ||
| display: inline-block; | ||
| width: 22px; | ||
| height: 22px; | ||
| background-image: url('../images/checkbox.svg'); | ||
| vertical-align: middle; | ||
| margin-right: 8px; | ||
| } | ||
|
|
||
| /* 체크 된 상태 */ | ||
| input#login-hold:checked+label:before{ | ||
| content: ''; | ||
| background-image: url('../images/checkedbox.svg'); | ||
| background-repeat: no-repeat; | ||
| background-position: 50%; | ||
| } | ||
|
|
||
| .login-btn { | ||
| width: 472px; | ||
| height: 50px; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| cursor: pointer; | ||
| border-radius: 5px; | ||
| } | ||
|
|
||
| .login-form button { | ||
| font-size: 18px; | ||
| font-weight: 700; | ||
| margin: 20px 0; | ||
| border: none; | ||
| background: #2F80ED; | ||
| color: #FFF; | ||
| } | ||
|
|
||
| .href-group { | ||
| margin: 0 auto 10px auto; | ||
| font-size: 14px; | ||
| font-weight: 400; | ||
| } | ||
|
|
||
| .href-group span { | ||
| margin: 0 12px; | ||
| } | ||
|
|
||
| .href-group a:hover { | ||
| text-decoration: underline; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| /* 구분선 */ | ||
| .divider { | ||
| position: relative; | ||
| margin: 20px 0px; | ||
| text-align: center; | ||
| color: #767676; | ||
| } | ||
|
|
||
| .divider::after{ | ||
| content: ""; | ||
| height: 1px; | ||
| width: 100%; | ||
| background-color: #C4C4C4; | ||
| position: absolute; | ||
| top: 0.5em; | ||
| left: 0; | ||
| } | ||
|
|
||
| .divider span { | ||
| font-size: 14px; | ||
| padding: 0 10px; | ||
| background-color: #FFF; | ||
| z-index: 2; | ||
| position: relative; | ||
| } | ||
|
|
||
| /* **************** sns 로그인 **************** */ | ||
| .btn-group { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 10px; | ||
| margin-bottom: 25px; | ||
|
|
||
| } | ||
| .sns-login { | ||
| background: #FFF; | ||
| background: none; | ||
| border: 1px solid #767676; | ||
| color: #767676; | ||
| } | ||
|
|
||
| .login-btn img { | ||
| width: 28px; | ||
| height: 28px; | ||
| margin-left: 12px; | ||
| } | ||
|
|
||
| .login-btn span { | ||
| margin: auto; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 저는 텍스트가 당연히 중앙일거라고 생각했는데 지금보니 텍스트가 완벽한 중앙 정렬이 아니었네요 |
||
| font-size: 16px; | ||
| } | ||
|
|
||
| .login-btn:hover { | ||
| font-weight: 600; | ||
| border-width: 3px; | ||
| } | ||
|
Comment on lines
+239
to
+242
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 커서가 어떤 버튼 위에 있는지 한 눈에 들어와서 좋았습니다! 그리고 버튼을 눌렀을 때 해당 웹 사이트로 이동하는 센스 재밌었습니다👍
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 너무 심심해서 넣어봤어요ㅎㅎㅎ~~ 꼼꼼히 봐주셔서 감사합니당👍👍 |
||
|
|
||
| .fb-btn { | ||
| border: 1px solid #2D9CDB; | ||
| } | ||
|
|
||
| .nv-btn { | ||
| border: 1px solid #00BF18; | ||
| } | ||
|
|
||
| .kt-btn { | ||
| border: 1px solid #F2C94C; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| /* http://meyerweb.com/eric/tools/css/reset/ | ||
| v2.0 | 20110126 | ||
| License: none (public domain) | ||
| */ | ||
|
|
||
| html, body, div, span, applet, object, iframe, | ||
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
| a, abbr, acronym, address, big, cite, code, | ||
| del, dfn, em, img, ins, kbd, q, s, samp, | ||
| small, strike, strong, sub, sup, tt, var, | ||
| b, u, i, center, | ||
| dl, dt, dd, ol, ul, li, | ||
| fieldset, form, label, legend, | ||
| table, caption, tbody, tfoot, thead, tr, th, td, | ||
| article, aside, canvas, details, embed, | ||
| figure, figcaption, footer, header, hgroup, | ||
| menu, nav, output, ruby, section, summary, | ||
| time, mark, audio, video { | ||
| margin: 0; | ||
| padding: 0; | ||
| border: 0; | ||
| font-size: 100%; | ||
| font: inherit; | ||
| vertical-align: baseline; | ||
| } | ||
| /* HTML5 display-role reset for older browsers */ | ||
| article, aside, details, figcaption, figure, | ||
| footer, header, hgroup, menu, nav, section { | ||
| display: block; | ||
| } | ||
| body { | ||
| line-height: 1; | ||
| } | ||
| ol, ul { | ||
| list-style: none; | ||
| } | ||
| blockquote, q { | ||
| quotes: none; | ||
| } | ||
| blockquote:before, blockquote:after, | ||
| q:before, q:after { | ||
| content: ''; | ||
| content: none; | ||
| } | ||
| table { | ||
| border-collapse: collapse; | ||
| border-spacing: 0; | ||
| } | ||
|
|
||
| body, | ||
| h1, | ||
| h2, | ||
| div, | ||
| p, | ||
| button, | ||
| input, | ||
| label, | ||
| span, | ||
| a { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } |
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.
after로 하나의 선을 그려준 뒤 span에 z-index를 활용해서 위로 오게 만드셨군요👍