mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 04:38:39 +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>
71 lines
1.2 KiB
SCSS
71 lines
1.2 KiB
SCSS
.post-actions {
|
|
@include unselectable;
|
|
clear: both;
|
|
text-align: right;
|
|
margin-bottom: 10px;
|
|
|
|
.post-action {
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
|
|
.post-menu-area {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
#topic-title {
|
|
z-index: z("base");
|
|
margin-bottom: 1em;
|
|
|
|
h1 {
|
|
font-size: var(--font-up-4);
|
|
line-height: var(--line-height-medium);
|
|
overflow-wrap: break-word;
|
|
width: 100%;
|
|
|
|
a {
|
|
color: var(--primary);
|
|
}
|
|
}
|
|
|
|
.remove-featured-link {
|
|
float: right;
|
|
text-transform: lowercase;
|
|
color: var(--primary-med-or-secondary-med);
|
|
font-size: 0.857rem;
|
|
}
|
|
}
|
|
|
|
.topic-error {
|
|
padding: 18px;
|
|
width: 60%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
font-size: var(--font-up-4);
|
|
text-align: center;
|
|
line-height: var(--line-height-medium);
|
|
|
|
.topic-retry {
|
|
display: block;
|
|
margin-top: 28px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
#topic-filter {
|
|
background-color: var(--highlight-bg);
|
|
padding: 8px;
|
|
bottom: 0;
|
|
position: fixed;
|
|
width: 100%;
|
|
font-size: var(--font-0);
|
|
z-index: z("dropdown");
|
|
}
|
|
|
|
.onscreen-post .row {
|
|
display: flex; // children should never wrap
|
|
}
|