discourse/app/assets/stylesheets/common/base/faqs.scss
Osama Sayegh 1bcb5c4e21
UX: Tweak styling for the new /about page (#28367)
Various tweaks the new /about page. Main change is to make it display 3 columns of users instead of 2 when there's enough space.
2024-08-14 14:57:35 +03:00

40 lines
792 B
SCSS

.body-page {
/* covers /about, /faq, /guidelines, /tos, /privacy, and login-required */
width: 100%;
max-width: 700px;
background: var(--d-content-background);
.about-page & {
max-width: unset;
section:not(.admins):not(.moderators):not(.category-moderators):not(
.about__admins
):not(.about__moderators) {
max-width: 700px;
}
.about.category-moderators {
.badge-category__wrapper .badge-category {
color: var(--primary);
}
}
}
.mobile-view & {
font-size: var(--font-0);
}
li {
margin-bottom: 8px;
}
.nav-pills {
margin: 0 0 2em;
}
ul:not(.nav-pills),
ol:not(.nav-pills) {
margin-left: 40px;
}
}
.body-page-button-container {
display: flex;
button {
margin-right: 0.75em;
}
}