discourse/app/assets/stylesheets/common/base/not-found.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
812 B
SCSS
Raw Normal View History

// Page not found styles
2017-11-25 01:41:31 +08:00
.page-not-found {
margin: 0 0 40px 0;
h1.title {
font-size: var(--font-up-5);
line-height: var(--line-height-medium);
}
2017-11-25 01:41:31 +08:00
&-search {
margin-top: 20px;
}
}
.page-not-found-topics {
display: flex;
@media screen and (max-width: 600px) {
flex-wrap: wrap;
}
}
.popular-topics,
.recent-topics {
2017-11-25 01:41:31 +08:00
box-sizing: border-box;
width: 50%;
max-width: 400px;
margin-bottom: 40px;
2017-11-25 01:41:31 +08:00
padding-right: 20px;
@media screen and (max-width: 600px) {
width: 100%;
}
h2 {
margin-bottom: 10px;
2017-11-25 01:41:31 +08:00
}
}
.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) {
2017-11-25 01:41:31 +08:00
display: none;
}
}
a:not(.badge-wrapper) {
2017-11-25 01:41:31 +08:00
flex-basis: 100%;
}
}