404.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .navbar-toggler {
  2. display: none;
  3. }
  4. .notFound {
  5. padding-top: 5rem;
  6. text-align: center;
  7. padding-bottom: 8rem;
  8. }
  9. .notFound img {
  10. height: 500px;
  11. }
  12. .notFound h1 {
  13. font-style: italic;
  14. }
  15. .notFound .message {
  16. position: absolute;
  17. max-width: 20rem;
  18. top: 40%;
  19. left: 30%;
  20. }
  21. /* ============= Device specific fixes ======= */
  22. /* Extra small devices (portrait phones, less than 576px) */
  23. /* No media query for `xs` since this is the default in Bootstrap */
  24. /* Extra large devices (large desktops, 1200px and up) */
  25. @media (max-width: 1400px) {
  26. }
  27. @media (max-width: 1200px) {
  28. }
  29. /* Large devices (desktops, 992px and up) */
  30. @media (max-width: 992px) {
  31. .notFound .message {
  32. top: 46%;
  33. left: 25%;
  34. }
  35. }
  36. /* Medium devices (tablets, 768px and up) */
  37. @media only screen and (max-width: 768px) {
  38. .notFound img {
  39. height: 400px;
  40. }
  41. .notFound .message {
  42. top: 23%;
  43. left: 25%;
  44. }
  45. }
  46. /* Small devices (landscape phones, 576px and up) */
  47. @media only screen and (max-width: 576px) {
  48. .notFound img {
  49. height: 250px;
  50. }
  51. .notFound .message {
  52. top: 50%;
  53. left: 5%;
  54. }
  55. }