429 lines
11 KiB
CSS
429 lines
11 KiB
CSS
/* Apple Style — Minimal, Clean, Premium */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background: #fff;
|
|
color: #1d1d1f;
|
|
line-height: 1.47059;
|
|
font-size: 17px;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Navigation */
|
|
.nav {
|
|
background: rgba(0,0,0,0.8);
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
height: 44px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
.nav-container {
|
|
max-width: 1024px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
padding: 0 22px;
|
|
}
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-decoration: none;
|
|
color: #f5f5f7;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.nav-logo { font-size: 1.4rem; }
|
|
.nav-menu { display: flex; gap: 28px; align-items: center; }
|
|
.nav-link {
|
|
color: #f5f5f7;
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
transition: opacity 0.3s;
|
|
}
|
|
.nav-link:hover { opacity: 1; }
|
|
.nav-actions { display: flex; gap: 12px; align-items: center; }
|
|
.lang-select { display: flex; gap: 4px; }
|
|
.lang-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #f5f5f7;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
opacity: 0.8;
|
|
transition: opacity 0.3s;
|
|
padding: 4px 8px;
|
|
}
|
|
.lang-btn.active { opacity: 1; }
|
|
.lang-btn:hover { opacity: 1; }
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 4px 16px;
|
|
font-size: 12px;
|
|
border-radius: 980px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-weight: 400;
|
|
border: none;
|
|
transition: all 0.3s;
|
|
}
|
|
.btn-primary { background: #0071e3; color: #fff; }
|
|
.btn-primary:hover { background: #0077ed; }
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: #f5f5f7;
|
|
border: 1px solid rgba(255,255,255,0.4);
|
|
}
|
|
.btn-outline:hover { border-color: #f5f5f7; }
|
|
.btn-block { display: block; width: 100%; text-align: center; }
|
|
.btn-telegram { background: #0088cc; color: #fff; }
|
|
|
|
/* Hero */
|
|
.hero {
|
|
background: #000;
|
|
color: #f5f5f7;
|
|
text-align: center;
|
|
padding: 120px 20px 80px;
|
|
min-height: 80vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.hero-title {
|
|
font-size: 56px;
|
|
line-height: 1.07143;
|
|
font-weight: 600;
|
|
letter-spacing: -0.005em;
|
|
margin-bottom: 16px;
|
|
background: linear-gradient(180deg, #f5f5f7 0%, #a1a1a6 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
.hero-subtitle {
|
|
font-size: 24px;
|
|
line-height: 1.16667;
|
|
font-weight: 400;
|
|
color: #a1a1a6;
|
|
max-width: 600px;
|
|
margin: 0 auto 40px;
|
|
}
|
|
.hero-stats { display: flex; justify-content: center; gap: 80px; }
|
|
.stat { text-align: center; }
|
|
.stat-number {
|
|
display: block;
|
|
font-size: 48px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.003em;
|
|
color: #f5f5f7;
|
|
}
|
|
|
|
/* Sections */
|
|
.section {
|
|
padding: 100px 20px;
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
}
|
|
.section-alt { background: #f5f5f7; }
|
|
.section-title {
|
|
font-size: 40px;
|
|
line-height: 1.1;
|
|
font-weight: 600;
|
|
letter-spacing: -0.015em;
|
|
margin-bottom: 60px;
|
|
text-align: center;
|
|
color: #1d1d1f;
|
|
}
|
|
.container { max-width: 100%; }
|
|
|
|
/* About */
|
|
.about-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 30px;
|
|
}
|
|
.about-card {
|
|
padding: 24px;
|
|
border-radius: 18px;
|
|
background: #f5f5f7;
|
|
transition: transform 0.3s;
|
|
}
|
|
.about-card:hover { transform: scale(1.02); }
|
|
.about-icon { font-size: 2rem; margin-bottom: 12px; }
|
|
.about-card h3 {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
color: #1d1d1f;
|
|
margin-bottom: 8px;
|
|
}
|
|
.about-card p { font-size: 14px; color: #6e6e73; line-height: 1.4; }
|
|
|
|
/* Search */
|
|
.search-bar {
|
|
display: flex;
|
|
max-width: 380px;
|
|
margin: 0 auto 40px;
|
|
position: relative;
|
|
}
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 16px;
|
|
height: 16px;
|
|
color: #86868b;
|
|
}
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 12px 16px 12px 40px;
|
|
border: none;
|
|
border-radius: 12px;
|
|
background: #f5f5f7;
|
|
font-size: 15px;
|
|
color: #1d1d1f;
|
|
}
|
|
.search-input:focus { outline: 2px solid #0071e3; outline-offset: -2px; }
|
|
|
|
/* Members Grid */
|
|
.members-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
.member-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 18px;
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
|
|
}
|
|
.member-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
|
|
.user-avatar {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
.user-avatar-text {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: #f5f5f7;
|
|
color: #86868b;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
}
|
|
.member-info h4 { font-size: 15px; font-weight: 600; color: #1d1d1f; margin-bottom: 2px; }
|
|
.member-company { font-size: 13px; color: #6e6e73; }
|
|
.member-location, .member-posts { font-size: 13px; color: #6e6e73; }
|
|
.rank-badge {
|
|
font-size: 11px;
|
|
padding: 3px 10px;
|
|
border-radius: 980px;
|
|
position: absolute;
|
|
top: -6px;
|
|
right: 0;
|
|
font-weight: 500;
|
|
}
|
|
.rank-badge.rank-rookie { background: #f5f5f7; color: #6e6e73; }
|
|
.rank-badge.rank-beginner { background: #e8f5e9; color: #2e7d32; }
|
|
.rank-badge.rank-member { background: #e3f2fd; color: #1565c0; }
|
|
.rank-badge.rank-contributor { background: #e0f7fa; color: #00838f; }
|
|
.rank-badge.rank-veteran { background: #f3e5f5; color: #8e24aa; }
|
|
.rank-badge.rank-expert { background: #fff3e0; color: #e65100; }
|
|
.rank-badge.rank-legend { background: #fce4ec; color: #c62828; }
|
|
|
|
/* Wiki Cards */
|
|
.wiki-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
.wiki-card {
|
|
padding: 28px;
|
|
border-radius: 18px;
|
|
background: #f5f5f7;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
border: none;
|
|
}
|
|
.wiki-card:hover { background: #e8e8ed; transform: translateY(-3px); }
|
|
.wiki-card-title { font-size: 17px; font-weight: 600; color: #1d1d1f; margin-bottom: 8px; }
|
|
.wiki-card-excerpt { font-size: 14px; color: #6e6e73; margin-bottom: 12px; }
|
|
.wiki-card-footer { display: flex; justify-content: space-between; font-size: 13px; color: #86868b; }
|
|
.wiki-card-subtopic { color: #0071e3; }
|
|
.no-results { padding: 40px; text-align: center; color: #86868b; }
|
|
.loading-text { padding: 40px; text-align: center; color: #86868b; font-style: italic; }
|
|
|
|
/* Modal */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0,0,0,0.6);
|
|
backdrop-filter: blur(10px);
|
|
z-index: 2000;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.modal-overlay.active { display: flex; }
|
|
.modal {
|
|
background: #fff;
|
|
border-radius: 20px;
|
|
padding: 36px;
|
|
max-width: 480px;
|
|
width: 90%;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
|
|
position: relative;
|
|
animation: modalIn 0.3s ease;
|
|
}
|
|
@keyframes modalIn {
|
|
from { opacity: 0; transform: scale(0.95); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 20px;
|
|
background: #f5f5f7;
|
|
border: none;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
color: #86868b;
|
|
}
|
|
.login-icon { font-size: 3rem; text-align: center; margin-bottom: 20px; }
|
|
.login-hint { color: #6e6e73; text-align: center; margin-bottom: 24px; font-size: 15px; }
|
|
.form-group { margin-bottom: 16px; }
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 14px 16px;
|
|
border: 1px solid #d2d2d7;
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
color: #1d1d1f;
|
|
background: #fff;
|
|
}
|
|
.form-input:focus { outline: 2px solid #0071e3; outline-offset: -2px; border-color: transparent; }
|
|
.login-step { display: none; }
|
|
.login-step.active { display: block; }
|
|
|
|
/* Profile & Detail */
|
|
.profile-username { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
|
|
.profile-rank { margin-bottom: 20px; }
|
|
.user-detail-modal { max-width: 560px; }
|
|
.user-detail-content { padding: 10px; }
|
|
.user-detail-avatar {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 50%;
|
|
margin: 0 auto 20px;
|
|
overflow: hidden;
|
|
}
|
|
.user-detail-header { text-align: center; margin-bottom: 20px; }
|
|
.user-detail-name-rank { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
|
|
.user-detail-name-rank h2 { font-size: 1.3rem; font-weight: 600; }
|
|
.user-detail-fields { display: grid; gap: 12px; }
|
|
.detail-field { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e5e5e7; }
|
|
.detail-label { color: #6e6e73; font-size: 14px; }
|
|
.detail-value { color: #1d1d1f; font-size: 14px; text-align: right; }
|
|
.user-detail-company { color: #6e6e73; text-align: center; }
|
|
|
|
/* Telegram Banner */
|
|
.telegram-banner {
|
|
background: #f5f5f7;
|
|
padding: 20px;
|
|
margin: 30px auto;
|
|
max-width: 980px;
|
|
border-radius: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.banner-icon { font-size: 1.8rem; }
|
|
.banner-text strong { color: #1d1d1f; }
|
|
|
|
/* Newsletter */
|
|
.newsletter-card { text-align: center; max-width: 380px; margin: 0 auto; }
|
|
.newsletter-icon { font-size: 2.5rem; margin-bottom: 16px; }
|
|
.newsletter-hint { color: #6e6e73; margin-bottom: 20px; font-size: 15px; }
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: #f5f5f7;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
border-top: 1px solid #d2d2d7;
|
|
}
|
|
.footer-brand { margin-bottom: 16px; }
|
|
.footer-logo { font-size: 1.6rem; }
|
|
.footer-title { color: #1d1d1f; margin-left: 10px; font-size: 14px; }
|
|
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
|
|
.footer-links a { color: #424245; text-decoration: none; font-size: 12px; }
|
|
.footer-links a:hover { color: #0071e3; }
|
|
.footer-bottom p { color: #86868b; margin: 4px 0; font-size: 11px; }
|
|
.footer-bottom a { color: #0071e3; }
|
|
.footer-copy { font-size: 11px; }
|
|
|
|
/* Hide/Show */
|
|
.hide-en { display: none; }
|
|
body[data-lang="en"] .hide-en { display: inline; }
|
|
body[data-lang="en"] .hide-de { display: none; }
|
|
.hidden { display: none !important; }
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.nav-menu { display: none; }
|
|
.nav-menu.open {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(0,0,0,0.95);
|
|
flex-direction: column;
|
|
padding: 16px;
|
|
gap: 12px;
|
|
}
|
|
.nav-toggle {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
}
|
|
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: #f5f5f7; }
|
|
.hero-title { font-size: 32px; }
|
|
.hero-subtitle { font-size: 19px; }
|
|
.hero-stats { gap: 30px; flex-wrap: wrap; }
|
|
.stat-number { font-size: 36px; }
|
|
.section-title { font-size: 28px; }
|
|
.about-grid { grid-template-columns: 1fr; }
|
|
.wiki-grid { grid-template-columns: 1fr; }
|
|
.members-grid { grid-template-columns: 1fr; }
|
|
}
|
|
@media (min-width: 769px) {
|
|
.nav-toggle { display: none; }
|
|
} |