Модуль CSS и дизайна
This commit is contained in:
114
frontend/css/style.css
Normal file
114
frontend/css/style.css
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
/* Подключение кастомного шрифта */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'LCD';
|
||||||
|
src: url('/static/assets/fonts/LCDSolid1.13-Regular.otf') format('opentype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background: radial-gradient(circle at top, #1a1a1a, #000000);
|
||||||
|
font-family: 'LCD', sans-serif;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
background: rgba(20, 20, 20, 0.8);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
padding: 35px;
|
||||||
|
width: 420px;
|
||||||
|
border-radius: 18px;
|
||||||
|
box-shadow: 0 0 20px rgba(188, 190, 190, 0.2),
|
||||||
|
0 0 40px rgba(182, 182, 182, 0.1);
|
||||||
|
animation: fadeIn 0.8s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
font-size: 15px;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
color: #dfdfdf;
|
||||||
|
text-shadow: 0 0 10px #a8aaaa60;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
font-size: 10px;
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
margin-top: 6px;
|
||||||
|
margin-bottom: 18px;
|
||||||
|
background: #0f0f0f;
|
||||||
|
border: 1px solid #222;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #fff;
|
||||||
|
transition: 0.25s;
|
||||||
|
font-size: 10px;
|
||||||
|
font-family: 'LCD', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: #a5a3a3bd;
|
||||||
|
box-shadow: 0 0 4px #9c9c9c;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 14px;
|
||||||
|
background: linear-gradient(135deg, #eb9341, #f8500d);
|
||||||
|
border: none;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-size: 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #000;
|
||||||
|
font-weight: bold;
|
||||||
|
transition: 0.25s;
|
||||||
|
box-shadow: 0 0 15px rgba(255, 102, 0, 0.459);
|
||||||
|
font-family: 'LCD', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 0 17px rgba(255, 123, 0, 0.836);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from { opacity: 0; transform: translateY(15px); }
|
||||||
|
to { opacity: 1; transform: translateY(0); }
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 12px;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: #666;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: 'LCD', Arial;
|
||||||
|
opacity: 0.7;
|
||||||
|
transition: 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer:hover { opacity: 1; }
|
||||||
|
|
||||||
|
footer a {
|
||||||
|
color: #666;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: 0.25s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer a:hover {
|
||||||
|
color: #ddddddd8;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user