404.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @import '../../../../../../client/scss/settings';
  2. @import '../../../../../../client/scss/tools';
  3. .page404__bg {
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. width: 100vw;
  8. height: 100vh;
  9. background-color: $color-teal-darker;
  10. font-family: $font-sans;
  11. color: $color-white;
  12. }
  13. .page404__wrapper {
  14. position: absolute;
  15. top: 50%;
  16. left: 50%;
  17. transform: translate(-50%, -50%);
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. }
  22. .wagtail-logo-container__desktop {
  23. float: left;
  24. width: 400px;
  25. height: 500px;
  26. }
  27. .page404__text-container {
  28. float: right;
  29. width: 600px;
  30. height: 500px;
  31. text-align: center;
  32. }
  33. .page404__header {
  34. font-size: 6.8em;
  35. margin-bottom: 0.2em;
  36. color: inherit;
  37. }
  38. .page404__text {
  39. font-size: 2.25em;
  40. line-height: 1.25em;
  41. color: inherit;
  42. }
  43. a.button.page404__button { // more specific to override standard button styles
  44. font-size: 1.5em;
  45. line-height: 2em;
  46. height: 2.5em;
  47. padding: 0 0.5em;
  48. background-color: $color-teal-darker;
  49. border: 4px solid $color-teal;
  50. color: inherit;
  51. &:hover {
  52. background-color: $color-teal;
  53. }
  54. }
  55. // SMALL DESKTOP CHANGES:
  56. @include media-breakpoint-down(sm) {
  57. .wagtail-logo-container__desktop {
  58. display: none;
  59. }
  60. }
  61. // MOBILE CHANGES:
  62. @include media-breakpoint-down(xs) {
  63. .page404__text-container {
  64. width: 400px;
  65. }
  66. .page404__header {
  67. font-size: 5em;
  68. }
  69. }