FastAPI + Jinja2 + MariaDB web application with registration, login, profile, password reset, and email confirmation flows. All UI in Russian. Styled with Evotor brand colors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
216 lines
3.1 KiB
CSS
216 lines
3.1 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
color: #333;
|
|
background: #fff;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Navbar */
|
|
.navbar {
|
|
background: #fff;
|
|
border-bottom: 2px solid #F05023;
|
|
padding: 14px 0;
|
|
}
|
|
|
|
.nav-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-logo {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #F05023;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
margin-left: 24px;
|
|
color: #333;
|
|
text-decoration: none;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: #F05023;
|
|
}
|
|
|
|
/* Forms */
|
|
.form-card {
|
|
max-width: 440px;
|
|
margin: 60px auto;
|
|
background: #F4F6F8;
|
|
border-radius: 8px;
|
|
padding: 36px;
|
|
}
|
|
|
|
.form-card h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 24px;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 15px;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: #F05023;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 10px 24px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.btn:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #F05023;
|
|
color: #fff;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #0986E2;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Alerts */
|
|
.alert {
|
|
padding: 14px 18px;
|
|
border-radius: 4px;
|
|
margin: 20px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.alert-error {
|
|
background: #fef2f0;
|
|
border: 1px solid #F05023;
|
|
color: #c0392b;
|
|
}
|
|
|
|
.alert-success {
|
|
background: #eafaf3;
|
|
border: 1px solid #4DD1A2;
|
|
color: #1a7a4c;
|
|
}
|
|
|
|
.alert p {
|
|
margin: 2px 0;
|
|
}
|
|
|
|
/* Links */
|
|
.form-links {
|
|
margin-top: 18px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-links a {
|
|
color: #0986E2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.form-links a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Message page */
|
|
.message-card {
|
|
max-width: 500px;
|
|
margin: 80px auto;
|
|
text-align: center;
|
|
background: #F4F6F8;
|
|
border-radius: 8px;
|
|
padding: 40px;
|
|
}
|
|
|
|
.message-card h1 {
|
|
font-size: 22px;
|
|
margin-bottom: 16px;
|
|
color: #333;
|
|
}
|
|
|
|
.message-card p {
|
|
font-size: 15px;
|
|
color: #555;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.message-card a {
|
|
color: #0986E2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.message-card a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Profile */
|
|
.profile-card {
|
|
max-width: 540px;
|
|
margin: 60px auto;
|
|
background: #F4F6F8;
|
|
border-radius: 8px;
|
|
padding: 36px;
|
|
}
|
|
|
|
.profile-card h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 24px;
|
|
color: #333;
|
|
}
|
|
|
|
.profile-info {
|
|
margin-bottom: 18px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.profile-info span {
|
|
color: #777;
|
|
display: block;
|
|
font-size: 13px;
|
|
margin-bottom: 2px;
|
|
}
|