make UI changes
This commit is contained in:
parent
2dd396f5a8
commit
f86f5de9b6
@ -1,3 +1,6 @@
|
|||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: dimgrey;
|
background-color: dimgrey;
|
||||||
@ -22,43 +25,55 @@ body {
|
|||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
backdrop-filter: blur(30px);
|
backdrop-filter: blur(20px);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 300px;
|
width: 500px;
|
||||||
height: 250px;
|
height: 450px;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 70px;
|
padding: 70px;
|
||||||
padding-bottom: 80px;
|
padding-bottom: 90px;
|
||||||
box-shadow: 7px 7px 5px rgb(0, 0, 0, 0.5);
|
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
|
||||||
row-gap: 8px;
|
row-gap: 8px;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
border-top: rgba(255, 255, 255, 0.2) 5px solid;
|
|
||||||
border-left: rgb(255, 255, 255, 0.2) 5px solid;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#login {
|
#login {
|
||||||
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: 'Pixelify Sans', cursive;
|
font-family: 'Pixelify Sans', cursive;
|
||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
text-shadow: 2px 2px 5px grey;
|
text-shadow: 2px 2px 5px rgb(0, 0, 0);
|
||||||
color: white;
|
color: white;
|
||||||
float: initial;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: rgb(255, 255, 255, 0.8);
|
||||||
box-shadow: 2px 2px 3px rgb(0, 0, 0, 0.5);
|
box-shadow: 2px 2px 3px rgb(0, 0, 0, 0.5);
|
||||||
|
border: none;
|
||||||
border-top: rgba(255, 255, 255, 0.2) 2px solid;
|
border-top: rgba(255, 255, 255, 0.2) 2px solid;
|
||||||
border-left: rgb(255, 255, 255, 0.2) 2px solid;
|
border-left: rgb(255, 255, 255, 0.2) 2px solid;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#username {
|
.idiv p {
|
||||||
|
color: white;
|
||||||
|
font-family: 'Pixelify Sans', cursive;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#username::placeholder {
|
||||||
|
color: rgb(255, 255, 255, 0.5);
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#password::placeholder {
|
||||||
|
color: rgb(255, 255, 255, 0.5);
|
||||||
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.idiv {
|
.idiv {
|
||||||
@ -69,13 +84,16 @@ body {
|
|||||||
padding: 7px;
|
padding: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.idiv p{
|
||||||
padding: 10px;
|
padding: none;
|
||||||
|
margin: none;
|
||||||
|
display: absolute;
|
||||||
|
translate: 0px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loginb {
|
#loginb {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: rgb(255, 255, 255, 0.8);
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
@ -87,6 +105,32 @@ body {
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loginb:focus {
|
#loginb:active {
|
||||||
background-color: grey;
|
background-color: rgb(155, 155, 155, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.help {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.help div{
|
||||||
|
display: flex;
|
||||||
|
width: 50%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'Poppins', sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:active {
|
||||||
|
color: rgb(196, 196, 196, 10);
|
||||||
}
|
}
|
15
index.html
15
index.html
@ -13,13 +13,22 @@
|
|||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div id="signin">
|
<div>
|
||||||
<p id="login">Sign In</p>
|
<p id="login">Sign In</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="idiv">
|
<div class="idiv">
|
||||||
<input class="input" id="username" type="text">
|
<input class="input" id="username" type="text" placeholder="Username">
|
||||||
<input class="input" id="password" type="password">
|
<input class="input" id="password" type="password" placeholder="Pasword">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="help">
|
||||||
|
<div>
|
||||||
|
<a href="">Forgot Password</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="">Register</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user