19:33
This commit is contained in:
14
assets/css/fooldal.css
Normal file
14
assets/css/fooldal.css
Normal file
@@ -0,0 +1,14 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.main-cont{
|
||||
display: grid;
|
||||
grid-template-rows: 0.5fr 1fr 3fr;
|
||||
}
|
||||
|
||||
.first-row{
|
||||
|
||||
}
|
||||
@@ -1,5 +1,154 @@
|
||||
body{
|
||||
background-image: url(../img/background.avif);
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url(../img/background.jpg.avif);
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
display: grid !important;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 1.3fr 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
|
||||
h1{
|
||||
color: #656565;
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.login-user-div{
|
||||
text-align: center;
|
||||
font-size: 5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: #656565;
|
||||
}
|
||||
|
||||
.grid1 {
|
||||
grid-column: 1;
|
||||
align-self: center !important;
|
||||
justify-self: center !important;
|
||||
}
|
||||
|
||||
.grid2 {
|
||||
grid-column: 2/4;
|
||||
align-self: flex-end;
|
||||
justify-self: right;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.sizeing {
|
||||
size: 50%;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
width: 450px;
|
||||
height: auto;
|
||||
background: whitesmoke;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0px 0px 25px -2px #000000;
|
||||
}
|
||||
|
||||
.center-container {
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.label {
|
||||
padding: 20px 110px;
|
||||
font-size: 35px;
|
||||
font-weight: bold;
|
||||
color: #656565;
|
||||
}
|
||||
|
||||
.login_form {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.login_form .font {
|
||||
font-size: 18px;
|
||||
color: #656565;
|
||||
margin: 5px 0px;
|
||||
}
|
||||
|
||||
.login_form input {
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
padding: 0 5px;
|
||||
font-size: 18px;
|
||||
outline: none;
|
||||
border: 1px solid silver;
|
||||
}
|
||||
|
||||
.login_form .font2 {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.login_form button {
|
||||
margin: 20px 0 5px 0;
|
||||
height: 45px;
|
||||
width: 100%;
|
||||
font-size: 20px;
|
||||
color: white;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
background: #818F78;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #818F78;
|
||||
transition: .5s;
|
||||
}
|
||||
|
||||
.login_form button:hover {
|
||||
background: #5A6354;
|
||||
}
|
||||
|
||||
.login_form #email_error,
|
||||
.login_form #password_error {
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
font-size: 18px;
|
||||
color: #c62828;
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
text-align: center;
|
||||
padding: 5px 8px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #EF9A9A;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.user-div{
|
||||
border: solid 2px #656565;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 450px) {
|
||||
.login-container {
|
||||
position: relative !;
|
||||
border-radius: 0px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1300px) {
|
||||
.grid2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.grid1 {
|
||||
grid-column: 1/4;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user