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

"context" notation is not supported in iOS < 16.4, and we don't have any post-processing on our CSS files which can automatically make that conversion. For now, changing the stylelint config to enforce the more-compatible syntax, and updating all occurences.
65 lines
1020 B
SCSS
65 lines
1020 B
SCSS
// Page not found styles
|
|
.not-found-container {
|
|
background: var(--d-content-background);
|
|
}
|
|
|
|
.page-not-found {
|
|
margin: 0 0 40px 0;
|
|
|
|
h1.title {
|
|
font-size: var(--font-up-5);
|
|
line-height: var(--line-height-medium);
|
|
}
|
|
|
|
&-search {
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
.page-not-found-topics {
|
|
display: flex;
|
|
@media screen and (max-width: 600px) {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
.popular-topics,
|
|
.recent-topics {
|
|
box-sizing: border-box;
|
|
width: 50%;
|
|
max-width: 400px;
|
|
margin-bottom: 40px;
|
|
padding-right: 20px;
|
|
@media screen and (max-width: 600px) {
|
|
width: 100%;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.not-found-topic {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
margin-bottom: 15px;
|
|
@media screen and (max-width: 600px) {
|
|
&:nth-of-type(n + 6) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
a:not(.badge-category__wrapper) {
|
|
flex-basis: 100%;
|
|
}
|
|
}
|
|
|
|
.page-not-found-search {
|
|
label {
|
|
color: var(--primary);
|
|
font-size: var(--font-up-3);
|
|
margin-bottom: 0.5em;
|
|
}
|
|
}
|