Skip to content

Commit

Permalink
#6.7~6.8 Login form
Browse files Browse the repository at this point in the history
  • Loading branch information
shtjrgus010 committed Feb 8, 2024
1 parent 8272d9a commit d43385e
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 6 deletions.
5 changes: 4 additions & 1 deletion css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ q:before, q:after {
table {
border-collapse: collapse;
border-spacing: 0;
}
}
input:focus{
outline: none;
}
52 changes: 47 additions & 5 deletions css/stlyles.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,63 @@
@import "reset.css";
@import "status-bar.css";
body{
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
@import "variables.css";

body {
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.Welcome-header{
.Welcome-header {
margin: 90px 0px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.Welcome-header__title{

.Welcome-header__title {
margin-bottom: 20px;
font-size: 25px;
}
.Welcome-header__text{

.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;
}
3 changes: 3 additions & 0 deletions css/variables.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:root{
--yellow: #fae100;
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ <h1 class="Welcome-header__title">Welcome to KoKoa Clone</h1>
<script src="https://kit.fontawesome.com/59ff05d9f3.js" crossorigin="anonymous"></script>
</body>


</html>

0 comments on commit d43385e

Please sign in to comment.