mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 01:32:23 +08:00
174d392e5a
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn` It's recommended to configure your editor to run prettier on file save.
51 lines
800 B
SCSS
51 lines
800 B
SCSS
// Page not found styles
|
|
|
|
h1.page-not-found {
|
|
font-size: $font-up-5;
|
|
line-height: $line-height-medium;
|
|
}
|
|
|
|
.page-not-found {
|
|
margin: 0 0 40px 0;
|
|
&-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-wrapper) {
|
|
flex-basis: 100%;
|
|
}
|
|
}
|