mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 02:05:26 +08:00
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.
55 lines
872 B
SCSS
Vendored
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;
|
|
}
|
|
}
|
|
}
|