Files
sow-nodebb-theme/scss/westgate/_responsive.scss
T
archvillainetteandClaude Fable 5 b91b142448 Theme code blocks in posts; a11y fixes from impeccable audit
- Dark velvet pre/code styling + Westgate hljs syntax palette for post
  content and composer preview (markdown plugin's light hljs theme was
  rendering white blocks)
- Visible focus ring on mobile drawer search (was outline: 0 with no
  replacement)
- Placeholder contrast raised to pass 4.5:1; tagsinput placeholder now
  reuses the token instead of $gray-500
- prefers-reduced-motion block zeroing transitions/animations
- Fix stray </li> closing a <div> in quick-search-results.tpl

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 15:24:59 +02:00

67 lines
1.2 KiB
SCSS

@include media-breakpoint-down(lg) {
#panel {
background: rgba(17, 14, 21, 0.98);
}
ul.categories-list,
ul.westgate-categories-list {
padding-left: 0;
}
li[component="categories/category"],
li[component="category/topic"],
li[component="post"] .post-container {
padding: var(--wg-space-sm) !important;
}
li[component="categories/category"] h2.title {
font-size: 1.1rem !important;
}
.category-children-item > div {
width: 100%;
}
.topic-list-header > .card {
align-items: stretch !important;
}
.topic-list-header [component="category/controls"] {
width: 100%;
}
// keep the guest "Log in to post / reply" CTA on one line
[component="category/post/guest"],
[component="topic/reply/guest"] {
white-space: nowrap;
}
}
@include media-breakpoint-down(md) {
.category-header {
padding: var(--wg-space-sm);
}
li[component="post"] .content,
li[component="post"] .content p,
.topic-text,
.post-content {
font-size: 1rem;
line-height: 1.58;
}
.bottombar-nav {
box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.28);
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}