Skip to content

Commit

Permalink
Merge pull request #16 from joisemp/feature
Browse files Browse the repository at this point in the history
Minor changes to login page design
  • Loading branch information
joisemp authored Apr 4, 2024
2 parents d255dd7 + 296bcc8 commit b9201a4
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 51 deletions.
35 changes: 17 additions & 18 deletions Designs/login/asset/style.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
.container {
width: 439px;
background-color: rgb(202, 201, 201);
border: 1.5px solid black;
margin-top: 9px;
border-radius: 7px;
height: 338px;
.container .card {
width: 450px;
margin: 3rem auto;
background-color: #f7f7f7;
padding: 1rem;
}
.container h2 {
.container .card h2 {
text-align: center;
font-weight: 702;
margin-top: 19px;
}
.container h2 a {
text-decoration: none;
.container .card .form-label {
font-weight: 400;
}
.container .card .forgot-link {
margin-bottom: 1rem;
}

#font {
font-weight: 601;
.container .card .forgot-link a {
text-decoration: none;
}

@media screen and (max-width: 446) {
.container {
width: 350px;
}
.container .card .button-group .btn {
width: 100%;
border-radius: 50px;
font-weight: 600;
}/*# sourceMappingURL=style.css.map */
49 changes: 28 additions & 21 deletions Designs/login/asset/style.scss
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
.container{
width: 439px;
background-color: rgb(202, 201, 201);
border: 1.5px solid black;
margin-top: 9px;
border-radius: 7px;
height: 338px;
.card{
width: 450px;
margin: 3rem auto;
background-color: #f7f7f7;
padding: 1rem;

h2{
text-align: center;
font-weight: 702;
margin-top: 19px;
}

h2{
text-align: center;
font-weight: 702;
margin-top: 19px;
a {
text-decoration: none;
.form-label{
font-weight: 400;
}
}
}
#font{
font-weight: 601;
}

@media screen and (max-width:446) {
.container{
width: 350px;

.forgot-link{
margin-bottom: 1rem;
a{
text-decoration: none;
}
}

.button-group{
.btn{
width: 100%;
border-radius: 50px;
font-weight: 600;
}
}
}
}
30 changes: 18 additions & 12 deletions Designs/login/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,25 @@
</head>
<body>
<div class="container">
<h2>Sign in</h2>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label" id="font">Email Address</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="">
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label" id="font">Password</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="">
</div>
<a href="#">Forgot password* click here</a>
<div class="d-grid gap-2 col-6 mx-auto">
<button class="btn btn-primary" type="button">Sign in</button>
<div class="wrapper">
<div class="card">
<h2>Sign in</h2>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Email Address</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="">
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Password</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="">
</div>
<div class="forgot-link">
<a href="#">Forgot password? click here</a>
</div>
<div class="button-group">
<button class="btn btn-primary" type="button">Sign in</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
Expand Down

0 comments on commit b9201a4

Please sign in to comment.