diff --git a/index.html b/index.html index 4d09b996..4df1305d 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,12 @@
+ + + + + + diff --git a/login-Signup.css b/login-Signup.css index 232ac8b8..ed978ebd 100644 --- a/login-Signup.css +++ b/login-Signup.css @@ -2,6 +2,19 @@ box-sizing: border-box; } +:root { + --gray50: #F9FAFB; + --gray100: #F3F4F6; + --gray200: #E5E7EB; + --gray400: #9CA3AF; + --gray500: #6B7280; + --gray600: #4B5563; + --gray700: #374151; + --gray800: #1F2937; + --gray900: #111827; + --blue: #3692FF; +} + @media (min-width: 375px) { /* 버튼 관련 */ @@ -9,12 +22,12 @@ width: 100%; height: 56px; border-radius: 40px; - background-color: #9CA3AF; + background-color: var(--gray400); display: flex; flex-direction: row; justify-content: center; align-items: center; - color: #F3F4F6; + color: var(--gray100); margin-bottom: 24px; font-size: 20px; font-weight: 600; @@ -49,11 +62,11 @@ margin-bottom: 24px; } - #logo img:first-child { + .logo-image img:first-child { width: 52px; } - #logo img:last-child { + .logo-text img:last-child { width: 133px; } @@ -61,22 +74,34 @@ form { display: flex; flex-direction: column; - color: #1F2937; + color: var(--gray800); font-size: 18px; font-weight: 700; } - form > label { + form label { margin-bottom: 8px; } - form > input { + form input { width: 100%; height: 56px; border: 0; - background-color: #F3F4F6; + background-color: var(--gray100); border-radius: 12px; + margin-top: 16px; margin-bottom: 16px; + padding: 0 16px; + } + + .error-message{ + margin-bottom: 9px; + padding-left: 16px; + font-size: 14px; + font-weight: 600; + line-height: 24px; + color: red; + padding-left: 16px; } input::placeholder { @@ -90,7 +115,7 @@ flex-direction: row; align-items: center; justify-content: space-between; - background-color: #E6F2FF; + background-color: var(--gray50); padding: 16px 23px; border-radius: 8px; margin-bottom: 24px; @@ -123,7 +148,7 @@ } .footer a { - color: #3692FF; + color: var(--blue); } } @@ -133,12 +158,12 @@ width: 100%; height: 56px; border-radius: 40px; - background-color: #9CA3AF; + background-color: var(--gray400); display: flex; flex-direction: row; justify-content: center; align-items: center; - color: #F3F4F6; + color: var(--gray100); margin-bottom: 24px; font-size: 20px; font-weight: 600; @@ -156,7 +181,7 @@ container { margin-top: 231px; - width: 640px; + max-width: 600px; height: auto; } @@ -170,6 +195,14 @@ margin-bottom: 40px; } + .logo-image img:first-child { + width: 103px; + } + + .logo-text img:last-child { + width: 266px; + } + /* 폼테그 관련 */ form { display: flex; @@ -179,17 +212,29 @@ font-weight: 700; } - form > label { + form label { margin-bottom: 16px; } - form > input { + form input { width: 100%; height: 56px; border: 0; - background-color: #F3F4F6; + background-color: var(--gray100); border-radius: 12px; - margin-bottom: 24px; + margin-top: 16px; + margin-bottom: 8px; + padding: 0 16px; + } + + .error-message{ + margin-bottom: 18px; + padding-left: 16px; + font-size: 14px; + font-weight: 600; + line-height: 24px; + color: red; + padding-left: 16px; } input::placeholder { @@ -203,7 +248,7 @@ flex-direction: row; align-items: center; justify-content: space-between; - background-color: #E6F2FF; + background-color: var(--gray50); padding: 16px 23px; border-radius: 8px; margin-bottom: 24px; @@ -232,6 +277,6 @@ } .footer a { - color: #3692FF; + color: var(--blue); } } \ No newline at end of file diff --git a/login.css b/login.css deleted file mode 100644 index 8729e38d..00000000 --- a/login.css +++ /dev/null @@ -1,110 +0,0 @@ -* { - box-sizing: border-box; -} - -/* 버튼 관련 */ -.login-button { - width: 100%; - height: 56px; - border-radius: 40px; - background-color: #3692FF; - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - color: #F3F4F6; - margin-bottom: 24px; - font-size: 20px; - font-weight: 600; - border: 0px; -} - -/* 전체적인 틀 */ -body { - font-family: "Pretendard Variable", Pretendard, sans-serif; - - display: flex; - flex-direction: column; - align-items: center; -} - -container { - margin-top: 231px; - width: 640px; - height: auto; -} - -/* 로고관련 */ -#logo > a { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - gap: 22px; - margin-bottom: 40px; -} - -/* 폼테그 관련 */ -form { - display: flex; - flex-direction: column; - color: #1F2937; - font-size: 18px; - font-weight: 700; -} - -form > label { - margin-bottom: 16px; -} - -form > input { - width: 100%; - height: 56px; - border: 0; - background-color: #F3F4F6; - border-radius: 12px; - margin-bottom: 24px; -} - -input::placeholder { - font-size: 16px; - padding: 24px; - } - -/* sns 로그인 관련 */ -.sns-login { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - background-color: #E6F2FF; - padding: 16px 23px; - border-radius: 8px; - margin-bottom: 24px; - font-size: 16px; - font-weight: 500; -} - -.sns-login-image { - display: flex; - flex-direction: row; - gap: 16px; -} - -.sns-login-image img { - width: 42px; - height: 42px; -} - -/* footer 관련 */ -.footer { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - gap: 4px; -} - -.footer a { - color: #3692FF; -} \ No newline at end of file diff --git a/login.html b/login.html index 8647b794..88d86498 100644 --- a/login.html +++ b/login.html @@ -11,16 +11,26 @@