403 lines
10 KiB
CSS
403 lines
10 KiB
CSS
/* X (Twitter) Style — Dark, Minimal, Icon-Driven */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
background: #000;
|
|
color: #e7e9ea;
|
|
line-height: 1.4;
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* Navigation */
|
|
.nav {
|
|
background: #000;
|
|
border-bottom: 1px solid #2f3336;
|
|
padding: 0 16px;
|
|
height: 48px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
.nav-container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
}
|
|
.nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
color: #e7e9ea;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
.nav-logo { font-size: 22px; }
|
|
.nav-menu { display: flex; gap: 24px; align-items: center; }
|
|
.nav-link {
|
|
color: #71767b;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: color 0.2s;
|
|
}
|
|
.nav-link:hover { color: #e7e9ea; }
|
|
.nav-actions { display: flex; gap: 12px; align-items: center; }
|
|
.lang-select { display: flex; gap: 6px; }
|
|
.lang-btn {
|
|
background: #2f3336;
|
|
border: none;
|
|
color: #e7e9ea;
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
border-radius: 16px;
|
|
}
|
|
.lang-btn.active { background: #1d9bf0; }
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 8px 20px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
border-radius: 9999px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
border: none;
|
|
transition: background 0.2s;
|
|
}
|
|
.btn-primary { background: #1d9bf0; color: #fff; }
|
|
.btn-primary:hover { background: #1a8cd8; }
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: #e7e9ea;
|
|
border: 1px solid #536471;
|
|
}
|
|
.btn-outline:hover { background: rgba(231,233,234,0.1); }
|
|
.btn-block { display: block; width: 100%; text-align: center; }
|
|
.btn-telegram { background: #0088cc; color: #fff; }
|
|
|
|
/* Hero */
|
|
.hero {
|
|
background: #000;
|
|
color: #e7e9ea;
|
|
text-align: center;
|
|
padding: 80px 20px 50px;
|
|
}
|
|
.hero-title {
|
|
font-size: 32px;
|
|
font-weight: 800;
|
|
margin-bottom: 12px;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
.hero-subtitle {
|
|
font-size: 17px;
|
|
color: #71767b;
|
|
margin-bottom: 30px;
|
|
max-width: 500px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
.hero-stats { display: flex; justify-content: center; gap: 50px; }
|
|
.stat { text-align: center; }
|
|
.stat-number {
|
|
display: block;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
.stat { font-size: 13px; color: #71767b; margin-top: 4px; }
|
|
|
|
/* Sections */
|
|
.section {
|
|
background: #000;
|
|
padding: 24px 16px;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
border-bottom: 1px solid #2f3336;
|
|
}
|
|
.section-alt { background: #000; }
|
|
.section-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
color: #e7e9ea;
|
|
}
|
|
.container { max-width: 100%; }
|
|
|
|
/* About */
|
|
.about-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
.about-card {
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: #0f1419;
|
|
border: 1px solid #2f3336;
|
|
}
|
|
.about-icon { font-size: 1.8rem; margin-bottom: 10px; }
|
|
.about-card h3 { font-size: 14px; font-weight: 600; color: #e7e9ea; margin-bottom: 6px; }
|
|
.about-card p { font-size: 13px; color: #71767b; line-height: 1.4; }
|
|
|
|
/* Search */
|
|
.search-bar {
|
|
display: flex;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
}
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 16px;
|
|
height: 16px;
|
|
color: #71767b;
|
|
}
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 12px 14px 12px 38px;
|
|
border: 1px solid #2f3336;
|
|
border-radius: 24px;
|
|
background: #202327;
|
|
font-size: 15px;
|
|
color: #e7e9ea;
|
|
}
|
|
.search-input:focus { outline: none; border-color: #1d9bf0; }
|
|
|
|
/* Members */
|
|
.members-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 4px;
|
|
}
|
|
.member-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.member-card:hover { background: #16181c; }
|
|
.user-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
.user-avatar-text {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: #1d9bf0;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
.member-info h4 { font-size: 15px; font-weight: 600; color: #e7e9ea; }
|
|
.member-company { font-size: 13px; color: #71767b; }
|
|
.member-location, .member-posts { font-size: 13px; color: #71767b; }
|
|
.rank-badge {
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
position: absolute;
|
|
top: -4px;
|
|
right: 0;
|
|
font-weight: 600;
|
|
}
|
|
.rank-badge.rank-rookie { background: #2f3336; color: #71767b; }
|
|
.rank-badge.rank-beginner { background: #0f3a0f; color: #4ade80; }
|
|
.rank-badge.rank-member { background: #0c2a5e; color: #60a5fa; }
|
|
.rank-badge.rank-contributor { background: #0a3d3d; color: #2dd4bf; }
|
|
.rank-badge.rank-veteran { background: #3a0a5e; color: #c084fc; }
|
|
.rank-badge.rank-expert { background: #5e3a0a; color: #fbbf24; }
|
|
.rank-badge.rank-legend { background: #5e0a0a; color: #f87171; }
|
|
|
|
/* Wiki Cards */
|
|
.wiki-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 4px;
|
|
}
|
|
.wiki-card {
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
background: #0f1419;
|
|
border: 1px solid #2f3336;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.wiki-card:hover { background: #16181c; }
|
|
.wiki-card-title { font-size: 15px; font-weight: 600; color: #e7e9ea; margin-bottom: 4px; }
|
|
.wiki-card-excerpt { font-size: 13px; color: #71767b; margin-bottom: 6px; }
|
|
.wiki-card-footer { display: flex; justify-content: space-between; font-size: 13px; color: #71767b; }
|
|
.wiki-card-subtopic { color: #1d9bf0; }
|
|
.no-results { padding: 20px; text-align: center; color: #71767b; }
|
|
.loading-text { padding: 20px; text-align: center; color: #71767b; font-style: italic; }
|
|
|
|
/* Modal */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(91,112,131,0.4);
|
|
z-index: 2000;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.modal-overlay.active { display: flex; }
|
|
.modal {
|
|
background: #000;
|
|
border: 1px solid #2f3336;
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
max-width: 440px;
|
|
width: 90%;
|
|
position: relative;
|
|
}
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 16px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: #e7e9ea;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.modal-close:hover { background: #202327; }
|
|
.login-icon { font-size: 2.5rem; text-align: center; margin-bottom: 16px; }
|
|
.login-hint { color: #71767b; text-align: center; margin-bottom: 20px; font-size: 15px; }
|
|
.form-group { margin-bottom: 14px; }
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border: 1px solid #2f3336;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
color: #e7e9ea;
|
|
background: transparent;
|
|
}
|
|
.form-input:focus { border-color: #1d9bf0; outline: 2px solid #1d9bf0; outline-offset: -2px; }
|
|
.login-step { display: none; }
|
|
.login-step.active { display: block; }
|
|
|
|
/* Profile & Detail */
|
|
.profile-username { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
|
|
.profile-rank { margin-bottom: 16px; }
|
|
.user-detail-modal { max-width: 480px; }
|
|
.user-detail-content { padding: 16px; }
|
|
.user-detail-avatar {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
margin: 0 auto 16px;
|
|
overflow: hidden;
|
|
}
|
|
.user-detail-header { text-align: center; margin-bottom: 16px; }
|
|
.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.2rem; font-weight: 700; }
|
|
.user-detail-fields { display: grid; gap: 10px; }
|
|
.detail-field { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #2f3336; }
|
|
.detail-label { color: #71767b; font-size: 14px; }
|
|
.detail-value { color: #e7e9ea; font-size: 14px; text-align: right; }
|
|
.user-detail-company { color: #71767b; text-align: center; }
|
|
|
|
/* Telegram Banner */
|
|
.telegram-banner {
|
|
background: #0f1419;
|
|
border: 1px solid #2f3336;
|
|
padding: 14px 20px;
|
|
margin: 16px auto;
|
|
max-width: 600px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
.banner-icon { font-size: 1.6rem; }
|
|
.banner-text strong { color: #e7e9ea; }
|
|
|
|
/* Newsletter */
|
|
.newsletter-card { text-align: center; max-width: 360px; margin: 0 auto; }
|
|
.newsletter-icon { font-size: 2rem; margin-bottom: 14px; }
|
|
.newsletter-hint { color: #71767b; margin-bottom: 14px; font-size: 14px; }
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: #000;
|
|
padding: 20px 16px;
|
|
text-align: center;
|
|
border-top: 1px solid #2f3336;
|
|
}
|
|
.footer-brand { margin-bottom: 12px; }
|
|
.footer-logo { font-size: 1.4rem; }
|
|
.footer-title { color: #e7e9ea; margin-left: 10px; font-size: 14px; font-weight: 600; }
|
|
.footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; flex-wrap: wrap; }
|
|
.footer-links a { color: #71767b; text-decoration: none; font-size: 13px; }
|
|
.footer-links a:hover { color: #e7e9ea; }
|
|
.footer-bottom p { color: #71767b; margin: 4px 0; font-size: 12px; }
|
|
.footer-bottom a { color: #1d9bf0; }
|
|
.footer-copy { font-size: 12px; }
|
|
|
|
/* 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: #000;
|
|
flex-direction: column;
|
|
padding: 12px;
|
|
gap: 10px;
|
|
border-bottom: 1px solid #2f3336;
|
|
}
|
|
.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: 2px; background: #e7e9ea; }
|
|
.hero-title { font-size: 24px; }
|
|
.hero-subtitle { font-size: 15px; }
|
|
.hero-stats { gap: 24px; flex-wrap: wrap; }
|
|
.stat-number { font-size: 22px; }
|
|
.about-grid { grid-template-columns: 1fr; }
|
|
}
|
|
@media (min-width: 769px) {
|
|
.nav-toggle { display: none; }
|
|
} |