0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
wagtail/client/scss/layouts/_404.scss

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

80 lines
1.4 KiB
SCSS
Raw Normal View History

@import '../../../../../../client/scss/settings';
@import '../../../../../../client/scss/tools';
2017-07-12 14:03:40 +02:00
.page404__bg {
position: fixed;
top: 0;
inset-inline-start: 0;
2017-07-12 14:03:40 +02:00
width: 100vw;
height: 100vh;
background-color: $color-teal-darker;
font-family: $font-sans;
color: $color-white;
}
.page404__wrapper {
position: absolute;
top: 50%;
inset-inline-start: 50%;
2017-07-12 14:03:40 +02:00
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;
}
.page404__logo {
2017-07-12 14:03:40 +02:00
float: left;
width: 400px;
height: 500px;
// Media for Windows High Contrast mode
@media (forced-colors: $media-forced-colours) {
background-color: $system-color-link-text;
}
2017-07-12 14:03:40 +02:00
}
.page404__text-container {
float: right;
width: 600px;
height: 500px;
text-align: center;
}
.page404__header {
font-size: 6.8em;
margin-bottom: 0.2em;
color: inherit;
}
.page404__text {
font-size: 2.25em;
line-height: 1.25em;
color: inherit;
}
a.button.page404__button {
// more specific to override standard button styles
font-size: 1.5em;
line-height: 2em;
height: 2.5em;
padding: 0 0.5em;
background-color: $color-teal-darker;
border: 4px solid $color-teal;
color: inherit;
&:hover {
background-color: $color-teal;
}
}
// MOBILE CHANGES:
@include media-breakpoint-down(xs) {
2017-07-12 14:03:40 +02:00
.page404__text-container {
width: 400px;
}
.page404__header {
font-size: 5em;
}
}