404.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. body.kind-404 {
  2. .navbar-toggler {
  3. display: none;
  4. }
  5. .notFound {
  6. padding-top: 5rem;
  7. text-align: center;
  8. padding-bottom: 8rem;
  9. }
  10. .notFound img {
  11. height: 500px;
  12. }
  13. .notFound h1 {
  14. font-style: italic;
  15. }
  16. .notFound .message {
  17. position: absolute;
  18. max-width: 20rem;
  19. top: 40%;
  20. left: 30%;
  21. }
  22. /* ============= Device specific fixes ======= */
  23. /* Large screens such as TV */
  24. @media only screen and (min-width: 1824px) {
  25. }
  26. /* Extra large devices (large desktops, 1200px and up) */
  27. @media (max-width: 1400px) {
  28. }
  29. @media (max-width: 1200px) {
  30. .notFound .message {
  31. top: 50%;
  32. left: 25%;
  33. }
  34. }
  35. /* IPad Pro */
  36. @media (max-width: 1024px) {
  37. }
  38. /* Large devices (desktops, 992px and up) */
  39. @media (max-width: 992px) {
  40. .notFound .message {
  41. top: 46%;
  42. left: 25%;
  43. }
  44. }
  45. /* Medium devices (tablets, 768px and up) */
  46. @media only screen and (max-width: 768px) {
  47. .notFound img {
  48. height: 400px;
  49. }
  50. .notFound .message {
  51. top: 20rem;
  52. left: 4rem;
  53. }
  54. }
  55. /* Small devices (landscape phones, 576px and up) */
  56. @media only screen and (max-width: 576px) {
  57. .notFound img {
  58. height: 250px;
  59. }
  60. .notFound .message {
  61. top: 20rem;
  62. left: 2rem;
  63. }
  64. }
  65. /* iPhoneX, iPhone 6,7,8 */
  66. @media only screen and (max-width: 375px) {
  67. }
  68. /* Galaxy S5, Moto G4 */
  69. @media only screen and (max-width: 360px) {
  70. }
  71. /* iPhone 5 or before */
  72. @media only screen and (max-width: 320px) {
  73. }
  74. }