Packet-Fence/admin/css/demo.css
2025-06-28 06:23:17 +05:30

111 lines
2.0 KiB
CSS

@font-face {
font-family: 'Poppins';
src: url('Poppins-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/* Body styling */
body {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(154.5deg,
#c1d1e2 50%,
#8bb3d1 50%,
#225897 80%,
#145397 100%);
background-blend-mode: overlay, overlay, normal;
position: relative;
overflow: hidden;
}
.login{
width: 30rem;
height: 35rem;
background: #dfe9f2;
backdrop-filter: blur(10px); /* Blurs the background */
border-radius: 1rem;
display: flex;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
}
img{
width: 19rem;
height: 5rem;
margin-right:4rem ;
}
/* Login form styling */
.login-container {
width: 100%;
padding-top: 2rem;
border-radius: 10px;
display: flex;
flex-direction: column;
align-items: center;
z-index: 2;
position: absolute;
margin-left: 0;
}
.login:hover{
background: #dfe9f2b0;
}
h3{
font-size: 1.4rem;
color: #0b4583;
font-family: 'Poppins',sans-serif;
text-align: center;
margin-bottom: 2rem;
}
.login-box label {
font-size: 1.1rem;
color: #0b4583;
font-family: 'VarelaRound',sans-serif;
font-weight: bold;
}
.login-box input {
width: 90%;
background-color: transparent;
padding: 0.75rem;
border: none;
border-bottom: 3px solid #0b4583;
border-radius: 5px;
margin-bottom: 1.6rem;
outline: none;
font-size: 1rem;
color: #0b4583;
}
.login-box button {
width: 100%;
padding: 0.75rem;
background-color:#0b4583;
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 1.8rem;
}
.login-box button:hover {
background-color:#0471e5 ;
color: #ffffff;
}