David Taylor d88ee33eb6
DEV: Introduce stylelint (#29852)
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>
2025-01-20 15:27:42 +00:00

41 lines
698 B
SCSS

// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
height: 4em;
#site-text-logo {
font-size: var(--font-up-3);
}
.extra-info {
&:not(.two-rows) {
.header-title {
margin-bottom: 0;
}
}
}
}
@include breakpoint(mobile-extra-large) {
.extra-info-wrapper {
display: none;
}
}
#main {
position: relative;
}
.search-link .blurb {
color: var(--secondary-medium);
display: block;
word-wrap: break-word;
font-size: var(--font-down-2);
line-height: var(--line-height-large);
.search-highlight {
color: var(--primary-high-or-secondary-low);
}
}