2026-05-10 09:08:12 +02:00
|
|
|
@import url("variables.css");
|
|
|
|
|
|
|
|
|
|
*, *::before, *::after {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
background: var(--bg-primary);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
color: var(--accent-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border: none;
|
|
|
|
|
background: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input, textarea, select {
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
background: var(--bg-input);
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
padding: 0.625rem 0.875rem;
|
|
|
|
|
outline: none;
|
|
|
|
|
transition: border-color 0.2s;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:focus, textarea:focus, select:focus {
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
|
resize: vertical;
|
|
|
|
|
min-height: 80px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
|
width: 6px;
|
|
|
|
|
height: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
|
background: var(--border);
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
background: var(--border-light);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.625rem 1.25rem;
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
|
|
|
background: var(--accent-hover);
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-secondary {
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-secondary:hover {
|
|
|
|
|
background: var(--bg-card-hover);
|
|
|
|
|
border-color: var(--border-light);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-ghost {
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-ghost:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-sm {
|
|
|
|
|
padding: 0.375rem 0.75rem;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-icon {
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.125rem 0.5rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-11 05:30:51 +02:00
|
|
|
.badge-devlog { background: var(--topic-devlog); color: #fff; }
|
|
|
|
|
.badge-showcase { background: var(--topic-showcase); color: #fff; }
|
|
|
|
|
.badge-question { background: var(--topic-question); color: #fff; }
|
|
|
|
|
.badge-rant { background: var(--topic-rant); color: #fff; }
|
|
|
|
|
.badge-fun { background: var(--topic-fun); color: #000; }
|
2026-05-10 09:08:12 +02:00
|
|
|
.badge-random { background: var(--border-light); color: var(--text-secondary); }
|
|
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
color: #fff;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.avatar-sm { width: 32px; height: 32px; font-size: 0.8125rem; }
|
|
|
|
|
.avatar-lg { width: 80px; height: 80px; font-size: 2rem; }
|
2026-05-10 21:33:53 +02:00
|
|
|
.avatar-img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
|
2026-05-10 09:08:12 +02:00
|
|
|
|
2026-05-11 00:41:41 +02:00
|
|
|
.topnav {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: var(--nav-height);
|
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
.topnav-inner {
|
|
|
|
|
max-width: var(--max-content);
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 0 1rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 2rem;
|
|
|
|
|
}
|
|
|
|
|
.topnav-logo {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
}
|
|
|
|
|
.topnav-logo span { color: var(--accent); }
|
|
|
|
|
.topnav-links { display: flex; gap: 0.25rem; }
|
|
|
|
|
.topnav-link {
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
.topnav-link:hover { color: var(--text-primary); background: var(--bg-card); }
|
|
|
|
|
.topnav-link.active { color: var(--accent); background: var(--accent-light); }
|
|
|
|
|
.topnav-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
|
|
|
|
|
.topnav-icon { position: relative; padding: 0.375rem; color: var(--text-secondary); font-size: 1.25rem; transition: color 0.2s; }
|
|
|
|
|
.topnav-icon:hover { color: var(--text-primary); }
|
|
|
|
|
.nav-badge {
|
|
|
|
|
position: absolute; top: 0; right: 0; min-width: 16px; height: 16px;
|
|
|
|
|
padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff;
|
|
|
|
|
font-size: 0.6875rem; font-weight: 700;
|
|
|
|
|
display: flex; align-items: center; justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
.topnav-user { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem; border-radius: var(--radius); transition: background 0.2s; }
|
|
|
|
|
.topnav-user:hover { background: var(--bg-card); }
|
|
|
|
|
.topnav-user-info { display: flex; flex-direction: column; line-height: 1.2; }
|
|
|
|
|
.topnav-user-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }
|
|
|
|
|
.topnav-user-role { font-size: 0.6875rem; color: var(--text-muted); }
|
|
|
|
|
|
2026-05-11 05:30:51 +02:00
|
|
|
.user-avatar-link { display: inline-flex; flex-shrink: 0; line-height: 0; }
|
|
|
|
|
.user-avatar-link:hover { opacity: 0.85; }
|
|
|
|
|
.user-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-primary); transition: color 0.2s; }
|
|
|
|
|
.user-link:hover { color: var(--accent); text-decoration: none; }
|
|
|
|
|
.user-link-name { font-weight: 600; font-size: 0.875rem; }
|
|
|
|
|
.user-link-role { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
|
|
|
|
|
.post-author-link { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); }
|
|
|
|
|
.post-author-link:hover { color: var(--accent); }
|
|
|
|
|
.post-detail-author { font-weight: 600; font-size: 0.9375rem; color: var(--text-primary); }
|
|
|
|
|
.post-detail-author:hover { color: var(--accent); }
|
|
|
|
|
.comment-author { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }
|
|
|
|
|
.comment-author:hover { color: var(--accent); }
|
|
|
|
|
|
2026-05-10 09:08:12 +02:00
|
|
|
.card {
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page {
|
|
|
|
|
max-width: var(--max-content);
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
padding-top: calc(var(--nav-height) + 1rem);
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-10 21:33:53 +02:00
|
|
|
.empty-state {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 3rem 1rem;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-10 09:08:12 +02:00
|
|
|
.fade-in {
|
|
|
|
|
animation: fadeIn 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fadeIn {
|
|
|
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
|
|
|
to { opacity: 1; transform: translateY(0); }
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-11 05:30:51 +02:00
|
|
|
.post-author-link {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.post-author-link:hover {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.back-link {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.375rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.back-link:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hint-text {
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.avatar-md { width: 40px; height: 40px; font-size: 1rem; }
|
|
|
|
|
|
|
|
|
|
.emoji-toggle-btn {
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.emoji-toggle-btn:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page:has(.page-messages) {
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-messages .messages-layout {
|
|
|
|
|
margin-top: calc(var(--nav-height) + 1rem);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-overlay {
|
|
|
|
|
display: none;
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.7);
|
|
|
|
|
z-index: 2000;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-overlay.visible {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb {
|
|
|
|
|
max-width: var(--max-content);
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
padding-top: calc(var(--nav-height) + 0.5rem);
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb ol {
|
|
|
|
|
list-style: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb li {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb li + li::before {
|
|
|
|
|
content: "/";
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb a {
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb a:hover {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb [aria-current="page"] {
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sr-only {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 1px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: -1px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.breadcrumb {
|
|
|
|
|
padding: 0.375rem 0.5rem;
|
|
|
|
|
padding-top: calc(var(--nav-height) + 0.375rem);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-10 09:08:12 +02:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.page {
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
padding-top: calc(var(--nav-height) + 0.5rem);
|
|
|
|
|
}
|
|
|
|
|
}
|