mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 23:19:55 +08:00

Stylelint is a css linter: https://stylelint.io/ As part of this change we have added two javascript scripts: ``` pnpm lint:css pnpm lint:css:fix ``` Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for configuration in VSCode. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
52 lines
825 B
SCSS
52 lines
825 B
SCSS
.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: 0.75em;
|
|
}
|
|
}
|