Skip to content

Commit

Permalink
Update login page
Browse files Browse the repository at this point in the history
  • Loading branch information
nz-m committed Sep 11, 2022
1 parent 7a3c8da commit a796f72
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 65 deletions.
Binary file added static/images/login-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
249 changes: 249 additions & 0 deletions static/styles/style-login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
* {
font-family: 'Inter', sans-serif;
}
display-flex, .display-flex, .display-flex-center, .signin-content{
display: flex;
display: -webkit-flex; }

a:focus, a:active {
text-decoration: none;
outline: none;
transition: all 300ms ease 0s;
-moz-transition: all 300ms ease 0s;
-webkit-transition: all 300ms ease 0s;
-o-transition: all 300ms ease 0s;
-ms-transition: all 300ms ease 0s; }

input, select, textarea {
outline: none;
appearance: unset !important;
-moz-appearance: unset !important;
-webkit-appearance: unset !important;
-o-appearance: unset !important;
-ms-appearance: unset !important; }

input:focus, select:focus, textarea:focus {
outline: none;
box-shadow: none !important;
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
-o-box-shadow: none !important;
-ms-box-shadow: none !important; }


img {
max-width: 100%;
height: auto; }

figure {
margin: 0; }

p {
margin-bottom: 0px;
font-size: 15px;
color: #777; }

h2 {
line-height: 1.66;
margin: 0;
padding: 0;
font-weight: bold;
color: #222;
font-size: 30px; }

.main {
background: #f8f8f8;
padding: 150px 0; }

.clear {
clear: both; }

body {
font-size: 14px;
line-height: 1.8;
color: #222;
background: #f8f8f8;
font-weight: 300;
}

.container {
width: 900px;
background: #fff;
margin: 0 auto;
box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
-moz-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
-webkit-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
-o-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
-ms-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-o-border-radius: 20px;
-ms-border-radius: 20px; }

.display-flex {
justify-content: space-between;
-moz-justify-content: space-between;
-webkit-justify-content: space-between;
-o-justify-content: space-between;
-ms-justify-content: space-between;
align-items: center;
-moz-align-items: center;
-webkit-align-items: center;
-o-align-items: center;
-ms-align-items: center; }

.display-flex-center {
justify-content: center;
-moz-justify-content: center;
-webkit-justify-content: center;
-o-justify-content: center;
-ms-justify-content: center;
align-items: center;
-moz-align-items: center;
-webkit-align-items: center;
-o-align-items: center;
-ms-align-items: center; }

.position-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%); }

.signup {
margin-bottom: 150px; }

.signup-content {
padding: 75px 0; }

.signup-form, .signup-image, .signin-form, .signin-image {
width: 50%;
overflow: hidden; }

.signup-image {
margin: 0 55px; }

.form-title {
margin-bottom: 33px; }

.signup-image {
margin-top: 45px; }

figure {
margin-bottom: 50px;
text-align: center; }

.form-submit {
display: inline-block;
background: #6dabe4;
color: #fff;
border-bottom: none;
width: auto;
padding: 15px 39px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-o-border-radius: 5px;
-ms-border-radius: 5px;
margin-top: 25px;
cursor: pointer; }
.form-submit:hover {
background: #4292dc; }

#signin {
margin-top: 16px; }


.register-form {
width: 100%; }

.form-group {
position: relative;
margin-bottom: 25px;
overflow: hidden; }
.form-group:last-child {
margin-bottom: 0px; }

input {
width: 100%;
display: block;
border: none;
border-bottom: 1px solid #999;
padding: 6px 30px;
box-sizing: border-box; }
input::-webkit-input-placeholder {
color: #999; }
input::-moz-placeholder {
color: #999; }
input:-ms-input-placeholder {
color: #999; }
input:-moz-placeholder {
color: #999; }
input:focus {
border-bottom: 1px solid #222; }
input:focus::-webkit-input-placeholder {
color: #222; }
input:focus::-moz-placeholder {
color: #222; }
input:focus:-ms-input-placeholder {
color: #222; }
input:focus:-moz-placeholder {
color: #222; }


label {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
-moz-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-o-transform: translateY(-50%);
-ms-transform: translateY(-50%);
color: #222; }

.signin-content {
padding-top: 67px;
padding-bottom: 87px; }


.signin-form {
margin-right: 90px;
margin-left: 80px; }

.signin-image {
margin-left: 110px;
margin-right: 20px;
margin-top: 10px; }

@media screen and (max-width: 1200px) {
.container {
width: calc( 100% - 30px);
max-width: 100%; } }
@media screen and (min-width: 1024px) {
.container {
max-width: 1200px; } }

@media screen and (max-width: 991px) {
.signup-content {
padding: 50px 0; }
.signup-form, .signup-image, .signin-form, .signin-image {
width: 100%; }
.signup-image {
margin: 0; }
.signin-form {
margin-right: 0;
margin-left: 0; }
.signin-image {
margin-left: 0;
margin-right: 0; }
.signin-content {
padding: 50px 0; }

}
11 changes: 11 additions & 0 deletions static/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ body {
background-color: rgb(10, 10, 48);
color: white !important;
}
.liner-gradient-sky {
background: #1488CC; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2B32B2, #1488CC); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2B32B2, #1488CC); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}
.liner-gradient-margo {
background: #f8eecc; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #FFFFFF, #fff5d6); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #FFFFFF, #fff5d6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.login {
min-height: 100vh;
Expand Down
Loading

0 comments on commit a796f72

Please sign in to comment.