- _tokens.scss — added --wg-space-2xs…xl (0.25–2rem, 4pt scale), --wg-ledger-line: 1.78rem, --wg-page-width: 1420px. - Card gaps unified to --wg-space-sm, card interiors to --wg-space-md, the compact topic-list header to --wg-space-xs (_categories.scss, _topics.scss, _widgets.scss, _responsive.scss). - Ledger ruling height is now one token across topics, posts, pagination, quick-reply, and the composer (_posts.scss, _controls.scss). - Footer rails now share the topbar's 1420px measure (_footer.scss:36,123,143), so the page's top and bottom edges align. - Stat tiles got explicit padding instead of inheriting Bootstrap's (_topics.scss:369, _categories.scss:326). - Documented the scale and rules in DESIGN.md (new "Spacing & Layout" section).
57 lines
1.1 KiB
SCSS
57 lines
1.1 KiB
SCSS
@include media-breakpoint-down(lg) {
|
|
#panel {
|
|
background: linear-gradient(180deg, rgba(18, 15, 22, 0.96), rgba(9, 8, 11, 1));
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|