Make sign in UI changes
This commit is contained in:
parent
7d3d1806eb
commit
2dd396f5a8
BIN
frontend/bg.jpg
Normal file
BIN
frontend/bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
@ -1,17 +1,92 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
|
background-color: dimgrey;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin-top: 25px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background-image: url("bg.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrapper {
|
||||||
|
display: flex;
|
||||||
|
width: 90vw;
|
||||||
|
height: 90vh;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
background-color: transparent;
|
||||||
|
backdrop-filter: blur(30px);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: #add8e6;
|
width: 300px;
|
||||||
margin-top: 25px;
|
height: 250px;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 70px;
|
||||||
|
padding-bottom: 80px;
|
||||||
|
box-shadow: 7px 7px 5px rgb(0, 0, 0, 0.5);
|
||||||
|
row-gap: 8px;
|
||||||
|
border-radius: 50px;
|
||||||
|
border-top: rgba(255, 255, 255, 0.2) 5px solid;
|
||||||
|
border-left: rgb(255, 255, 255, 0.2) 5px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
#login {
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'Pixelify Sans', cursive;
|
||||||
|
font-size: 50px;
|
||||||
|
text-shadow: 2px 2px 5px grey;
|
||||||
|
color: white;
|
||||||
|
float: initial;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
.input {
|
||||||
|
width: 300px;
|
||||||
|
height: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
color: white;
|
||||||
|
box-shadow: 2px 2px 3px rgb(0, 0, 0, 0.5);
|
||||||
|
border-top: rgba(255, 255, 255, 0.2) 2px solid;
|
||||||
|
border-left: rgb(255, 255, 255, 0.2) 2px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
div {
|
#username {
|
||||||
height: 90vh;
|
|
||||||
width: 400px;
|
|
||||||
background-color: rgb(255, 255, 255);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.idiv {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
row-gap: 10px;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#loginb {
|
||||||
|
background-color: transparent;
|
||||||
|
color: white;
|
||||||
|
padding: 7px;
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
width: 150px;
|
||||||
|
box-shadow: 2px 2px 5px rgb(0, 0, 0, 0.5);
|
||||||
|
translate: 0px -5px;
|
||||||
|
font-family: 'Pixelify Sans', cursive;
|
||||||
|
font-size: 20px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#loginb:focus {
|
||||||
|
background-color: grey;
|
||||||
|
}
|
37
index.html
37
index.html
@ -1,14 +1,33 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
|
||||||
|
<link rel="stylesheet" href="frontend/style.css"/>
|
||||||
|
<title>Login</title>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@500&display=swap" rel="stylesheet">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Document</title>
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<div class="center"></div>
|
<div class="wrapper">
|
||||||
<script>
|
<div class="container">
|
||||||
</script>
|
|
||||||
|
<div id="signin">
|
||||||
|
<p id="login">Sign In</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="idiv">
|
||||||
|
<input class="input" id="username" type="text">
|
||||||
|
<input class="input" id="password" type="password">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
<button id="loginb">Login</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="frontend/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user