discourse/app/assets/stylesheets/common/base/faqs.scss
Penar Musaraj 73e9ab1caf
UX: Properly center-align buttons in login-required screen (#33159)
Hard to take a screenshot, the "Log In" button having a right margin
forced the rest of the block to be slightly misaligned. It's not visible
on the default screen, but quite visible when adding other
centre-aligned elements to the page.
2025-06-11 12:08:59 -04:00

55 lines
872 B
SCSS
Vendored

.body-page {
/* covers /about, /faq, /guidelines, /tos, /privacy, and login-required */
max-width: 700px;
background: var(--d-content-background);
.about-page & {
max-width: unset;
section:not(
.admins,
.moderators,
.category-moderators,
.about__admins,
.about__moderators,
.about__header
) {
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: 1rem;
&:last-child {
margin-right: 0;
}
}
}