From d7e1dbab848c3c313e9f721df0d9445591f684f9 Mon Sep 17 00:00:00 2001 From: shtjrgus010 Date: Thu, 8 Feb 2024 12:35:02 +0900 Subject: [PATCH] #6.10~12 navigation --- css/components/nav-bar.css | 17 +++++++++ css/{ => components}/status-bar.css | 1 - css/reset.css | 4 +++ css/screens/login.css | 37 +++++++++++++++++++ css/stlyles.css | 43 +++------------------- friends.html | 55 +++++++++++++++++++++++++++++ index.html | 6 ++-- 7 files changed, 120 insertions(+), 43 deletions(-) create mode 100644 css/components/nav-bar.css rename css/{ => components}/status-bar.css (99%) create mode 100644 css/screens/login.css create mode 100644 friends.html diff --git a/css/components/nav-bar.css b/css/components/nav-bar.css new file mode 100644 index 0000000..617a0ee --- /dev/null +++ b/css/components/nav-bar.css @@ -0,0 +1,17 @@ +.nav{ + position: fixed; + bottom: 0; + width: 100%; + background-color: #f9f9fa; + padding: 20px 50px; + box-sizing: border-box; + border-top: 1px solid rgba(121,121,123,0.3); +} +.nav__list{ + display: flex; + justify-content: space-between; + padding: 20px 40px; +} +.nav__link{ + color: #2e363e; +} \ No newline at end of file diff --git a/css/status-bar.css b/css/components/status-bar.css similarity index 99% rename from css/status-bar.css rename to css/components/status-bar.css index 93671f8..2f2178c 100644 --- a/css/status-bar.css +++ b/css/components/status-bar.css @@ -1,4 +1,3 @@ - .status-bar{ display: flex; justify-content: center; diff --git a/css/reset.css b/css/reset.css index 165b2f1..9ad0e01 100644 --- a/css/reset.css +++ b/css/reset.css @@ -45,3 +45,7 @@ table { input:focus{ outline: none; } +a { + color: inherit; + text-decoration: none; +} \ No newline at end of file diff --git a/css/screens/login.css b/css/screens/login.css new file mode 100644 index 0000000..62cf9ad --- /dev/null +++ b/css/screens/login.css @@ -0,0 +1,37 @@ +#login-form { + display: flex; + flex-direction: column; + margin: 0px 30px; +} + +#login-form input { + border: none; + padding: 15px 0px; + font-size: 18px; + margin-bottom: 25px; +} + +#login-form input:not([type="submit"]) { + border-bottom: 1px solid rgba(0, 0, 0, 0.2); +} + +#login-form input::placeholder { + color: rgba(0, 0, 0, 0.4); +} + +#login-form input:focus { + border-color: var(--yellow); +} + +#login-form input[type="submit"] { + background-color: var(--yellow); + cursor: pointer; + padding: 20px 0px; + border-radius: 5px; +} +#login-form a{ + text-align: center; + text-decoration: none; + color: inherit; + font-size: 13px; +} \ No newline at end of file diff --git a/css/stlyles.css b/css/stlyles.css index e4fc691..5a4d359 100644 --- a/css/stlyles.css +++ b/css/stlyles.css @@ -1,6 +1,9 @@ @import "reset.css"; -@import "status-bar.css"; +@import "components/status-bar.css"; +@import "components/nav-bar.css"; @import "variables.css"; +@import "screens/login.css"; + body { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; @@ -22,42 +25,4 @@ body { .Welcome-header__text { width: 60%; opacity: 0.7; -} - -#login-form { - display: flex; - flex-direction: column; - margin: 0px 30px; -} - -#login-form input { - border: none; - padding: 15px 0px; - font-size: 18px; - margin-bottom: 25px; -} - -#login-form input:not([type="submit"]) { - border-bottom: 1px solid rgba(0, 0, 0, 0.2); -} - -#login-form input::placeholder { - color: rgba(0, 0, 0, 0.4); -} - -#login-form input:focus { - border-color: var(--yellow); -} - -#login-form input[type="submit"] { - background-color: var(--yellow); - cursor: pointer; - padding: 20px 0px; - border-radius: 5px; -} -#login-form a{ - text-align: center; - text-decoration: none; - color: inherit; - font-size: 13px; } \ No newline at end of file diff --git a/friends.html b/friends.html new file mode 100644 index 0000000..6a9a654 --- /dev/null +++ b/friends.html @@ -0,0 +1,55 @@ + + + + + + + + friends - KoKoa Clone + + + +
+
+ No Service + +
+
+ 18:43 +
+
+ 71% + + +
+
+ + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index 7ba1f7f..9707229 100644 --- a/index.html +++ b/index.html @@ -27,9 +27,9 @@

Welcome to KoKoa Clone

If you have a Kokoa Account, log in with your email or phone number.

-
- - + + + Find Kokoa Acoount or Password