mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 23:42:12 +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>
90 lines
1.3 KiB
SCSS
90 lines
1.3 KiB
SCSS
.post-info a {
|
|
color: var(--primary-medium);
|
|
}
|
|
|
|
.topic-meta-data-inside {
|
|
float: right;
|
|
margin-top: -38px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.post-info {
|
|
display: inline-block;
|
|
}
|
|
|
|
#topic-title {
|
|
h1 {
|
|
font-size: var(--font-up-3);
|
|
line-height: var(--line-height-medium);
|
|
|
|
a {
|
|
color: var(--primary);
|
|
vertical-align: middle;
|
|
word-wrap: break-word;
|
|
}
|
|
}
|
|
|
|
.title-category-wrapper {
|
|
margin-top: 5px;
|
|
}
|
|
}
|
|
|
|
.topic-error {
|
|
padding: 18px;
|
|
width: 90%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
font-size: var(--font-up-4);
|
|
line-height: var(--line-height-medium);
|
|
|
|
.topic-retry {
|
|
display: block;
|
|
margin-top: 20px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
sup sup,
|
|
sub sup,
|
|
sup sub,
|
|
sub sub {
|
|
top: 0;
|
|
}
|
|
|
|
// inline editing of title on mobile
|
|
#topic-title .title-wrapper {
|
|
position: relative;
|
|
float: none;
|
|
width: 100%;
|
|
|
|
input#edit-title {
|
|
width: 100%;
|
|
}
|
|
|
|
.select-kit.combo-box.category-chooser {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.topic-category {
|
|
margin-top: 0.25em;
|
|
}
|
|
}
|
|
|
|
// make mobile timeline top and bottom dates easier to select
|
|
.topic-timeline {
|
|
.start-date,
|
|
.now-date {
|
|
padding: 0.5em 0;
|
|
}
|
|
|
|
.timeline-scrollarea-wrapper .timeline-date-wrapper {
|
|
@include ellipsis;
|
|
}
|
|
|
|
.topic-category {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|