_errors.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // WRAPPER
  2. // -----------------------------------------------------------------------------
  3. /* Error Pages - wrappers */
  4. .body-error {
  5. margin: 0 auto;
  6. max-width: 900px;
  7. width: 100%;
  8. &.error-outside {
  9. display: table;
  10. height: 100vh;
  11. .center-error {
  12. display: table-cell;
  13. vertical-align: middle;
  14. }
  15. }
  16. &.error-inside {
  17. margin-top: 150px;
  18. }
  19. }
  20. // HEADER
  21. // -----------------------------------------------------------------------------
  22. /* Error Pages - header */
  23. .body-error {
  24. .error-header {
  25. border-bottom: 1px solid #DADADA;
  26. margin-bottom: 50px;
  27. padding-bottom: 15px;
  28. .form {
  29. margin-top: 12px;
  30. }
  31. }
  32. }
  33. // TYPO
  34. // -----------------------------------------------------------------------------
  35. /* Error Pages - typo */
  36. .body-error {
  37. .error-code {
  38. @include font-size(140);
  39. @include line-height(140);
  40. letter-spacing: -10px;
  41. }
  42. .error-explanation {
  43. @include font-size(20);
  44. @include line-height(36);
  45. }
  46. }
  47. // RESPONSIVE
  48. // -----------------------------------------------------------------------------
  49. /* Error Pages - Responsive */
  50. @media only screen and (max-width: 1150px) {
  51. .body-error.error-inside {
  52. margin-top: 50px;
  53. padding-bottom: 50px;
  54. }
  55. }
  56. @media only screen and (min-width: 768px) and (max-width: 1150px) {
  57. .body-error.error-inside {
  58. .error-code {
  59. @include font-size(100);
  60. @include line-height(100);
  61. letter-spacing: -7px;
  62. }
  63. .error-explanation {
  64. @include font-size(18);
  65. @include line-height(32);
  66. }
  67. }
  68. }
  69. @media only screen and (max-width: 767px) {
  70. .body-error {
  71. .error-code {
  72. @include font-size(90);
  73. @include line-height(90);
  74. letter-spacing: -7px;
  75. }
  76. .error-explanation {
  77. @include font-size(16);
  78. @include line-height(28);
  79. }
  80. }
  81. .body-error.error-outside {
  82. height: auto;
  83. padding: 20px;
  84. }
  85. }