_404.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @use '../tools' as *;
  2. .page404__bg {
  3. position: fixed;
  4. top: 0;
  5. inset-inline-start: 0;
  6. width: 100vw;
  7. height: 100vh;
  8. background-color: theme('colors.secondary.400');
  9. font-family: theme('fontFamily.sans');
  10. color: theme('colors.white.DEFAULT');
  11. }
  12. .page404__logo {
  13. width: 400px;
  14. height: 500px;
  15. // Media for Windows High Contrast mode
  16. @media (forced-colors: active) {
  17. background-color: LinkText;
  18. }
  19. }
  20. .page404__text-container {
  21. width: 600px;
  22. height: 500px;
  23. text-align: center;
  24. }
  25. .page404__header {
  26. font-size: 6.8em;
  27. margin-bottom: 0.2em;
  28. color: inherit;
  29. }
  30. .page404__text {
  31. font-size: 2.25em;
  32. line-height: 1.25em;
  33. color: inherit;
  34. }
  35. a.button.page404__button {
  36. // more specific to override standard button styles
  37. font-size: 1.5em;
  38. line-height: 2em;
  39. height: 2.5em;
  40. padding: 0 0.5em;
  41. background-color: theme('colors.secondary.400');
  42. border: 4px solid theme('colors.secondary.DEFAULT');
  43. color: inherit;
  44. &:hover {
  45. background-color: theme('colors.secondary.DEFAULT');
  46. }
  47. }
  48. // MOBILE CHANGES:
  49. @include media-breakpoint-down(xs) {
  50. .page404__text-container {
  51. width: 400px;
  52. }
  53. .page404__header {
  54. font-size: 5em;
  55. }
  56. }