index.styl 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // Стили для страницы 404
  2. .not-found-page
  3. display: flex
  4. align-items: center
  5. justify-content: center
  6. min-height: 60vh
  7. padding: var(--spacing-2xl) var(--spacing-md)
  8. .error-container
  9. text-align: center
  10. max-width: 500px
  11. margin: 0 auto
  12. .error-code
  13. font-size: 8rem
  14. font-weight: var(--font-weight-bold)
  15. color: var(--color-primary)
  16. margin-bottom: var(--spacing-sm)
  17. line-height: 1
  18. opacity: 0.8
  19. @media (max-width: 768px)
  20. font-size: 6rem
  21. .error-title
  22. font-size: var(--font-size-2xl)
  23. margin-bottom: var(--spacing-md)
  24. color: var(--color-dark)
  25. font-weight: var(--font-weight-semibold)
  26. .theme-dark &
  27. color: var(--color-light)
  28. .error-description
  29. color: var(--color-secondary)
  30. margin-bottom: var(--spacing-xl)
  31. font-size: var(--font-size-lg)
  32. line-height: var(--line-height-relaxed)
  33. .error-actions
  34. display: flex
  35. gap: var(--spacing-md)
  36. justify-content: center
  37. flex-wrap: wrap
  38. .error-illustration
  39. margin-bottom: var(--spacing-xl)
  40. opacity: 0.7
  41. svg
  42. width: 200px
  43. height: 150px
  44. fill: var(--color-primary-50)
  45. // Адаптивность
  46. @media (max-width: 480px)
  47. .not-found-page
  48. min-height: 50vh
  49. padding: var(--spacing-xl) var(--spacing-sm)
  50. .error-code
  51. font-size: 4rem
  52. .error-title
  53. font-size: var(--font-size-xl)
  54. .error-description
  55. font-size: var(--font-size-base)
  56. .error-actions
  57. flex-direction: column
  58. align-items: center
  59. .btn
  60. width: 100%
  61. max-width: 280px