Files
wedding-site/server/frontend/auth/login.css
MH.Dmitrii bc9c467819
All checks were successful
Build Docker / deploy (push) Successful in 44s
Build Docker / build (push) Successful in 55s
fix css
2026-05-17 16:51:00 +03:00

127 lines
2.5 KiB
CSS

@font-face {
font-family: "MurreyC";
src: url("fonts/MurreyC/murreyc.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "MurreyC";
src: url("fonts/MurreyC/murreyc.woff") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "MurreyC";
src: url("fonts/MurreyC/murreyc.eot") format("eot");
font-weight: 400;
font-style: normal;
font-display: swap;
}
body, html {
font-family: "MurreyC";
margin: 0;
padding: 0;
}
body{ background-color: #c68a5e;}
.bg {
position: fixed;
inset: 0;
background: url("image/bg.webp") center center / cover no-repeat;
z-index: -1;
}
.glass-container {
position: fixed;
inset: 0;
backdrop-filter: blur(16px);
background: rgba(20,20,20,.35);
}
.login-box {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: url('./image/hamster.webp') no-repeat 50% 50%;
padding-top: 50px;
}
form {
display: flex;
flex-direction: column;
}
h2 {
font-weight: 900;
font-size: 50px;
text-decoration: underline;
margin: 0;
padding: 0;
}
input {
width: 320px;
height: 50px;
padding: 0 20px;
border-radius: 25px;
border: 1px solid #000;
background-color: #ffffff;
outline: none;
font-size: 30px;
}
button {
margin-top: 10px;
font-size: 30px;
background-color: #3a1f09;
padding: 10px 15px;
border-radius: 33px;
transition:
transform .1s ease,
background-color .1s ease,
color .1s ease;
color: #e5b97e;
box-shadow: 0 4px 12px rgba(58,31,9,.3);
cursor: pointer;
}
button:hover {
background-color: #f0c590;
color: #b06029;
transform: scale(1.015);
}
/* ----------------------------------ADAPTIVE------------------------------------- */
@media (max-width: 820px) {
.login-box {
background-size: 190%;
}
}
@media (max-width: 620px) {
.login-box {
background-size: 220%;
}
}
@media (max-width: 520px) {
.login-box {
background-size: 260%;
}
}
@media (max-width: 420px) {
.login-box {
background-size: 310%;
}
input {
width: 250px;
}
}
@media (max-width: 320px) {
.login-box {
background-size: 420%;
background: url('./image/hamster.png') no-repeat 55% 50%;
}
input {
width: 200px;
}
}