mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 17:33:58 +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>
41 lines
698 B
SCSS
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);
|
|
}
|
|
}
|