Add 5 website variations: neo-mirai, wikipedia, apple, facebook, aurora + community webhook stats
This commit is contained in:
@@ -0,0 +1,401 @@
|
||||
/* Facebook Style — Blue social network */
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
background: #f0f2f5;
|
||||
color: #1c1e21;
|
||||
line-height: 1.33;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
.nav {
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
height: 56px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
padding: 0 16px;
|
||||
}
|
||||
.nav-container {
|
||||
max-width: 1200px;
|
||||
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: #1877f2;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.nav-logo { font-size: 28px; }
|
||||
.nav-menu { display: flex; gap: 8px; align-items: center; }
|
||||
.nav-link {
|
||||
color: #65676b;
|
||||
text-decoration: none;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
padding: 8px 16px;
|
||||
border-radius: 8px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.nav-link:hover { background: #f0f2f5; }
|
||||
.nav-actions { display: flex; gap: 8px; align-items: center; }
|
||||
.lang-select { display: flex; gap: 4px; }
|
||||
.lang-btn {
|
||||
background: #f0f2f5;
|
||||
border: none;
|
||||
padding: 6px 12px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.lang-btn.active { background: #e7f3ff; color: #1877f2; }
|
||||
.lang-btn:hover { background: #e4e6eb; }
|
||||
|
||||
/* Buttons */
|
||||
.btn {
|
||||
padding: 8px 16px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
border: none;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.btn-primary { background: #1877f2; color: #fff; }
|
||||
.btn-primary:hover { background: #166fe5; }
|
||||
.btn-outline {
|
||||
background: #f0f2f5;
|
||||
color: #1c1e21;
|
||||
border: none;
|
||||
}
|
||||
.btn-outline:hover { background: #e4e6eb; }
|
||||
.btn-block { display: block; width: 100%; text-align: center; }
|
||||
.btn-telegram { background: #0088cc; color: #fff; }
|
||||
|
||||
/* Hero */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, #1877f2 0%, #42b0ff 100%);
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 60px 20px 40px;
|
||||
}
|
||||
.hero-title {
|
||||
font-size: 42px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
}
|
||||
.hero-subtitle {
|
||||
font-size: 18px;
|
||||
opacity: 0.9;
|
||||
margin-bottom: 30px;
|
||||
max-width: 600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.hero-stats { display: flex; justify-content: center; gap: 60px; }
|
||||
.stat { text-align: center; }
|
||||
.stat-number {
|
||||
display: block;
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Sections */
|
||||
.section {
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 24px;
|
||||
margin: 16px auto;
|
||||
max-width: 1200px;
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
||||
}
|
||||
.section-alt { background: #fff; border-radius: 8px; padding: 24px; margin: 16px auto; max-width: 1200px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
|
||||
.section-title {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 20px;
|
||||
color: #1c1e21;
|
||||
}
|
||||
.container { max-width: 100%; }
|
||||
|
||||
/* About */
|
||||
.about-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
.about-card {
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
background: #f0f2f5;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
.about-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
|
||||
.about-icon { font-size: 2.5rem; margin-bottom: 12px; }
|
||||
.about-card h3 { font-size: 16px; font-weight: 600; color: #1c1e21; margin-bottom: 8px; }
|
||||
.about-card p { font-size: 14px; color: #65676b; line-height: 1.4; }
|
||||
|
||||
/* Search */
|
||||
.search-bar {
|
||||
display: flex;
|
||||
max-width: 400px;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #65676b;
|
||||
}
|
||||
.search-input {
|
||||
width: 100%;
|
||||
padding: 10px 12px 10px 36px;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
background: #f0f2f5;
|
||||
font-size: 15px;
|
||||
}
|
||||
.search-input:focus { outline: 2px solid #1877f2; outline-offset: 0; }
|
||||
|
||||
/* Members Grid */
|
||||
.members-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
.member-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
border-radius: 8px;
|
||||
background: #f0f2f5;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.member-card:hover { background: #e4e6eb; }
|
||||
.user-avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.user-avatar-text {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
background: #1877f2;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.member-info h4 { font-size: 15px; font-weight: 600; color: #1c1e21; margin-bottom: 2px; }
|
||||
.member-company { font-size: 13px; color: #65676b; }
|
||||
.member-location, .member-posts { font-size: 13px; color: #65676b; }
|
||||
.rank-badge {
|
||||
font-size: 11px;
|
||||
padding: 3px 8px;
|
||||
border-radius: 12px;
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
right: 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
.rank-badge.rank-rookie { background: #e4e6eb; color: #65676b; }
|
||||
.rank-badge.rank-beginner { background: #e7f3e9; color: #0a832c; }
|
||||
.rank-badge.rank-member { background: #e7f0ff; color: #1877f2; }
|
||||
.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(280px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
.wiki-card {
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
background: #f0f2f5;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border-left: 4px solid #1877f2;
|
||||
}
|
||||
.wiki-card:hover { background: #e4e6eb; }
|
||||
.wiki-card-title { font-size: 15px; font-weight: 600; color: #1c1e21; margin-bottom: 6px; }
|
||||
.wiki-card-excerpt { font-size: 13px; color: #65676b; margin-bottom: 8px; }
|
||||
.wiki-card-footer { display: flex; justify-content: space-between; font-size: 13px; color: #65676b; }
|
||||
.wiki-card-subtopic { color: #1877f2; }
|
||||
.no-results { padding: 20px; text-align: center; color: #65676b; }
|
||||
.loading-text { padding: 20px; text-align: center; color: #65676b; font-style: italic; }
|
||||
|
||||
/* Modal */
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(255,255,255,0.8);
|
||||
z-index: 2000;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.modal-overlay.active { display: flex; }
|
||||
.modal {
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 24px;
|
||||
max-width: 440px;
|
||||
width: 90%;
|
||||
box-shadow: 0 8px 30px rgba(0,0,0,0.2);
|
||||
position: relative;
|
||||
}
|
||||
.modal-close {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 16px;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: #65676b;
|
||||
}
|
||||
.login-icon { font-size: 3rem; text-align: center; margin-bottom: 16px; }
|
||||
.login-hint { color: #65676b; text-align: center; margin-bottom: 20px; font-size: 15px; }
|
||||
.form-group { margin-bottom: 14px; }
|
||||
.form-input {
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #dddfe2;
|
||||
border-radius: 6px;
|
||||
font-size: 15px;
|
||||
}
|
||||
.form-input:focus { border-color: #1877f2; outline: 2px solid #1877f2; 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: 520px; }
|
||||
.user-detail-content { padding: 16px; }
|
||||
.user-detail-avatar {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
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: 600; }
|
||||
.user-detail-fields { display: grid; gap: 10px; }
|
||||
.detail-field { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e4e6eb; }
|
||||
.detail-label { color: #65676b; font-size: 14px; }
|
||||
.detail-value { color: #1c1e21; font-size: 14px; text-align: right; }
|
||||
.user-detail-company { color: #65676b; text-align: center; }
|
||||
|
||||
/* Telegram Banner */
|
||||
.telegram-banner {
|
||||
background: #e7f3ff;
|
||||
padding: 16px 24px;
|
||||
margin: 16px auto;
|
||||
max-width: 1200px;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
.banner-icon { font-size: 2rem; }
|
||||
.banner-text strong { color: #1c1e21; }
|
||||
|
||||
/* Newsletter */
|
||||
.newsletter-card { text-align: center; max-width: 400px; margin: 0 auto; }
|
||||
.newsletter-icon { font-size: 2.5rem; margin-bottom: 16px; }
|
||||
.newsletter-hint { color: #65676b; margin-bottom: 16px; font-size: 15px; }
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background: #fff;
|
||||
padding: 24px 16px;
|
||||
text-align: center;
|
||||
border-top: 1px solid #e4e6eb;
|
||||
margin-top: 32px;
|
||||
}
|
||||
.footer-brand { margin-bottom: 12px; }
|
||||
.footer-logo { font-size: 1.5rem; }
|
||||
.footer-title { color: #1c1e21; margin-left: 10px; font-size: 14px; font-weight: 600; }
|
||||
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
|
||||
.footer-links a { color: #65676b; text-decoration: none; font-size: 13px; }
|
||||
.footer-links a:hover { text-decoration: underline; }
|
||||
.footer-bottom p { color: #65676b; margin: 4px 0; font-size: 12px; }
|
||||
.footer-bottom a { color: #1877f2; }
|
||||
.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: #fff;
|
||||
flex-direction: column;
|
||||
padding: 12px;
|
||||
gap: 8px;
|
||||
border-top: 1px solid #e4e6eb;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
||||
}
|
||||
.nav-toggle {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
}
|
||||
.nav-toggle span { display: block; width: 20px; height: 2px; background: #65676b; }
|
||||
.hero-title { font-size: 28px; }
|
||||
.hero-subtitle { font-size: 16px; }
|
||||
.hero-stats { gap: 30px; flex-wrap: wrap; }
|
||||
.stat-number { 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user