From fa1b4886f7874f5ad849f98c2b221b173f3dd0dc Mon Sep 17 00:00:00 2001 From: "HeeJoon.Yang" Date: Mon, 7 Aug 2023 17:22:07 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[#11]=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EB=AA=A8=EB=8B=AC=20=EB=B0=8F=20=EA=B8=B0=EB=8A=A5=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.vscode/settings.json" | 3 + .../css/style.css" | 259 ++++++++++++++++++ .../images/check-box.svg" | 4 + .../images/close.svg" | 6 + .../images/facebook.svg" | 3 + .../images/google.svg" | 6 + .../images/kakao.svg" | 3 + .../images/naver.svg" | 3 + .../index.html" | 67 +++++ 9 files changed, 354 insertions(+) create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/.vscode/settings.json" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/images/check-box.svg" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/images/close.svg" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/images/facebook.svg" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/images/google.svg" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/images/kakao.svg" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/images/naver.svg" create mode 100644 "\354\226\221\355\235\254\354\244\200_loginpage/index.html" diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/.vscode/settings.json" "b/\354\226\221\355\235\254\354\244\200_loginpage/.vscode/settings.json" new file mode 100644 index 0000000..6b665aa --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/.vscode/settings.json" @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" "b/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" new file mode 100644 index 0000000..ae9f882 --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" @@ -0,0 +1,259 @@ +@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css); + +body { + margin: 0; +} +h1, +h2, +p, +input, +div, +img, +ul, +li { + margin: 0; + padding: 0; +} +img { + vertical-align: top; +} +a { + color: inherit; + text-decoration: none; +} +input, +button { + font: inherit; + border: none; +} +ol, +li { + padding: 0; + margin: 0; + list-style: none; +} +button:enabled { + cursor: pointer; +} + +/* CSS 적용 */ +body { + height: 100vh; + width: 100vw; + display: flex; + justify-content: center; + align-items: center; + font-family: "Spoqa Han Sans Neo", "sans-serif"; +} +.wrapper { + width: 520px; + height: auto; + border-radius: 10px; + border: 1px solid #c4c4c4; + background: #fff; +} + +h1 { + font-size: 16px; + font-weight: 500; + text-align: center; +} +header { + width: 520px; + height: 58px; + border-bottom: 1px solid #c4c4c4; + display: flex; + justify-content: center; + align-items: center; + position: relative; +} +.header a { + position: absolute; + top: 22px; + right: 24px; +} +.section1 { + display: flex; + flex-direction: column; + justify-content: center; +} +.section1 > p { + flex-shrink: 0; + color: #000; + font-size: 20px; + font-weight: 500; + line-height: 24px; + padding-top: 26px; + padding-left: 24px; +} +.section1 [type="text"] { + display: block; + box-sizing: border-box; + padding: 15px 0 15px 16px; + margin: 0 auto; + width: 472px; + height: 50px; + flex-shrink: 0; + border-radius: 5px; + border: 2px solid var(--c-4-c-4-c-4, #f4492e); + background: #fff; + margin-top: 24px; +} +.section1 [type="password"] { + display: block; + box-sizing: border-box; + padding: 15px 0 15px 16px; + margin: 0 auto; + width: 472px; + height: 50px; + flex-shrink: 0; + border-radius: 5px; + border: 1px solid var(--c-4-c-4-c-4, #c4c4c4); + background: #fff; +} +#pw-input::placeholder { + font-weight: 500; +} +.section1 .id_err { + padding: 0; + margin: 6px 0 10px 28px; + color: #f4492e; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: normal; +} +.section1 .pw_err { + padding: 0; + margin: 10px 0 13px 28px; + color: #f4492e; + font-family: Spoqa Han Sans Neo; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: normal; +} +.check { + display: flex; + padding-left: 28px; +} +.check img { + display: inline-block; + width: 22px; + height: 22px; + padding-bottom: 21px; +} +.check p { + display: inline-block; + color: var(--767676, #767676); + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: normal; + margin-left: 8px; +} +.section1 button { + margin: 0 auto; + width: 472px; + height: 50px; + flex-shrink: 0; + border-radius: 5px; + background: #2f80ed; + color: #fff; +} +.group { + display: flex; + justify-content: center; + padding-top: 20px; +} +.group p { + justify-content: center; + display: inline-block; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: normal; + color: #767676; +} +.group .join::after { + display: inline-block; + content: "|"; + width: 4px; + height: 18px; + padding-left: 12px; + padding-right: 12px; +} + +/* 또는 */ +.or { + display: flex; + justify-content: center; + padding-top: 39px; + padding-bottom: 28px; +} +.or p { + position: relative; + width: 472px; + height: 1px; + background-color: #c4c4c4; +} +.or::after { + position: absolute; + transform: translateY(-50%); + content: "또는"; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: normal; + color: #767676; + background-color: white; + padding: 0 13px; +} +.section2 { + display: flex; + justify-content: center; +} +.section2 a { + display: flex; + justify-content: center; + align-items: center; + width: 472px; + height: 50px; + flex-shrink: 0; + border-radius: 5px; + border: 1px solid var(--767676, #767676); + background: #fff; + color: var(--767676, #767676); + font-size: 16px; + font-style: normal; + line-height: normal; +} + +.section2 .google { + background-image: url(/images/google.svg); + background-repeat: no-repeat; + background-position: 12px; + border-color: 767676; + margin-bottom: 10px; +} +.section2 .facebook { + background-image: url(/images/facebook.svg); + background-repeat: no-repeat; + background-position: 12px; + border-color: #2d9cdb; + margin-bottom: 10px; +} +.section2 .naver { + background-image: url(/images/naver.svg); + background-repeat: no-repeat; + background-position: 12px; + border-color: #00bf18; + margin-bottom: 10px; +} +.section2 .kakao { + background-image: url(/images/kakao.svg); + background-repeat: no-repeat; + background-position: 12px; + border-color: #f2c94c; + margin-bottom: 25px; +} diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/images/check-box.svg" "b/\354\226\221\355\235\254\354\244\200_loginpage/images/check-box.svg" new file mode 100644 index 0000000..3fea706 --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/images/check-box.svg" @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/images/close.svg" "b/\354\226\221\355\235\254\354\244\200_loginpage/images/close.svg" new file mode 100644 index 0000000..b0315f6 --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/images/close.svg" @@ -0,0 +1,6 @@ + + + + + + diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/images/facebook.svg" "b/\354\226\221\355\235\254\354\244\200_loginpage/images/facebook.svg" new file mode 100644 index 0000000..9ba9fbf --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/images/facebook.svg" @@ -0,0 +1,3 @@ + + + diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/images/google.svg" "b/\354\226\221\355\235\254\354\244\200_loginpage/images/google.svg" new file mode 100644 index 0000000..801e609 --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/images/google.svg" @@ -0,0 +1,6 @@ + + + + + + diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/images/kakao.svg" "b/\354\226\221\355\235\254\354\244\200_loginpage/images/kakao.svg" new file mode 100644 index 0000000..138a72d --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/images/kakao.svg" @@ -0,0 +1,3 @@ + + + diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/images/naver.svg" "b/\354\226\221\355\235\254\354\244\200_loginpage/images/naver.svg" new file mode 100644 index 0000000..964c406 --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/images/naver.svg" @@ -0,0 +1,3 @@ + + + diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/index.html" "b/\354\226\221\355\235\254\354\244\200_loginpage/index.html" new file mode 100644 index 0000000..9a7f4f0 --- /dev/null +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/index.html" @@ -0,0 +1,67 @@ + + + + + + + 로그인 + + + +
+
+

로그인 또는 회원가입

+ 닫기 +
+
+
+

위니브에서 여러분의 궁금증을 해결하세요! :)

+ + +

아이디를 입력해 주세요.

+ + +

아이디 혹은 비밀번호와 일치하지 않습니다.

+
+ +

로그인 상태 유지

+
+ +
+

회원가입

+

아이디/비밀번호 찾기

+
+
+ +
+

+
+ +
+ +
+
+
+ + From c46c83583b62508a82a8cbcd2422f07497d848b8 Mon Sep 17 00:00:00 2001 From: "HeeJoon.Yang" Date: Tue, 8 Aug 2023 00:31:52 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[#11]=20=EC=88=98=EC=A0=95=20=ED=94=BC?= =?UTF-8?q?=EB=93=9C=EB=B0=B1=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../css/style.css" | 45 ++++++++++---- .../index.html" | 60 +++++++++++++------ 2 files changed, 74 insertions(+), 31 deletions(-) diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" "b/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" index ae9f882..deb0267 100644 --- "a/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/css/style.css" @@ -38,11 +38,12 @@ button:enabled { /* CSS 적용 */ body { - height: 100vh; - width: 100vw; + margin: 0; + padding: 0; display: flex; justify-content: center; align-items: center; + min-height: 100vh; font-family: "Spoqa Han Sans Neo", "sans-serif"; } .wrapper { @@ -136,14 +137,9 @@ header { .check { display: flex; padding-left: 28px; -} -.check img { - display: inline-block; - width: 22px; - height: 22px; padding-bottom: 21px; } -.check p { +.check_msg { display: inline-block; color: var(--767676, #767676); font-size: 16px; @@ -152,6 +148,13 @@ header { line-height: normal; margin-left: 8px; } +.ck:checked + svg circle { + fill: #2f80ed; + stroke: white; +} +.ck:checked + svg path { + stroke: white; +} .section1 button { margin: 0 auto; width: 472px; @@ -166,7 +169,13 @@ header { justify-content: center; padding-top: 20px; } -.group p { +.group ul { + display: flex; +} +.group a { + cursor: pointer; +} +.group li { justify-content: center; display: inline-block; font-size: 14px; @@ -230,30 +239,40 @@ header { } .section2 .google { - background-image: url(/images/google.svg); + background-image: url("../images/google.svg"); background-repeat: no-repeat; background-position: 12px; border-color: 767676; margin-bottom: 10px; } .section2 .facebook { - background-image: url(/images/facebook.svg); + background-image: url("../images/facebook.svg"); background-repeat: no-repeat; background-position: 12px; border-color: #2d9cdb; margin-bottom: 10px; } .section2 .naver { - background-image: url(/images/naver.svg); + background-image: url("../images/naver.svg"); background-repeat: no-repeat; background-position: 12px; border-color: #00bf18; margin-bottom: 10px; } .section2 .kakao { - background-image: url(/images/kakao.svg); + background-image: url("../images/kakao.svg"); background-repeat: no-repeat; background-position: 12px; border-color: #f2c94c; margin-bottom: 25px; } +.a11y-hidden { + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + width: 1px; + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; +} diff --git "a/\354\226\221\355\235\254\354\244\200_loginpage/index.html" "b/\354\226\221\355\235\254\354\244\200_loginpage/index.html" index 9a7f4f0..dc0e7c8 100644 --- "a/\354\226\221\355\235\254\354\244\200_loginpage/index.html" +++ "b/\354\226\221\355\235\254\354\244\200_loginpage/index.html" @@ -14,24 +14,48 @@

로그인 또는 회원가입

닫기
-
-

위니브에서 여러분의 궁금증을 해결하세요! :)

- - -

아이디를 입력해 주세요.

- - -

아이디 혹은 비밀번호와 일치하지 않습니다.

-
- -

로그인 상태 유지

-
- -
-

회원가입

-

아이디/비밀번호 찾기

-
-
+
+
+

위니브에서 여러분의 궁금증을 해결하세요! :)

+ + +

아이디를 입력해 주세요.

+ + +

아이디 혹은 비밀번호와 일치하지 않습니다.

+
+ + + + + + +
+ + +
+