custom.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /*html {
  2. min-height: 100vh;
  3. height: 100%;
  4. }
  5. body, #root {
  6. height: 100vh;
  7. }*/
  8. .button-position-bottom {
  9. max-width: 1000px;
  10. position: fixed;
  11. bottom: 0.5rem;
  12. left: 50%;
  13. transform: translate(0% -50%);
  14. transform: translateX(-50%);
  15. z-index: 1;
  16. }
  17. .container {
  18. display: flex;
  19. flex-direction: column;
  20. height: 100%;
  21. &-wrap {
  22. flex-grow: 1;
  23. width: 100%;
  24. padding-right: 2rem;
  25. padding-left: 2rem;
  26. @media (min-width: $min-medium) {
  27. padding-right: 5rem;
  28. padding-left: 32rem;
  29. }
  30. }
  31. }
  32. .caption-page {
  33. padding: 10rem 0;
  34. h2 {
  35. color: $color-white;
  36. font-size: 5rem;
  37. }
  38. @media (max-width: $medium) {
  39. h2 {
  40. text-align: center;
  41. }
  42. }
  43. }
  44. i {
  45. font-family: 'FontAwesome';
  46. }
  47. .bg-black {
  48. position: absolute;
  49. top: 0;
  50. left: 0;
  51. right: 0;
  52. bottom: 0;
  53. width: 100%;
  54. height: 100%;
  55. background: $color-black;
  56. opacity: 0.6;
  57. z-index: 2;
  58. }
  59. .sr-only {
  60. position: absolute;
  61. width: 1px;
  62. height: 1px;
  63. padding: 0;
  64. margin: -1px;
  65. overflow: hidden;
  66. clip: rect(0,0,0,0);
  67. border: 0;
  68. }
  69. .btn-group {
  70. padding: 2rem 0;
  71. text-align: center;
  72. }
  73. .btn {
  74. min-width: 12rem;
  75. background-color: $color-mint;
  76. padding: 0.7rem 1rem;
  77. border: none;
  78. border-radius: 3px;
  79. color: $color-white;
  80. font-weight: $semi-bold;
  81. font-size: 1.5rem;
  82. transition: 0.5s;
  83. &:hover {
  84. background-color: $color-blue;
  85. }
  86. }
  87. .not-found {
  88. font-size: 2.1rem;
  89. margin-top: 2rem;
  90. text-align: center;
  91. width: 100%;
  92. color: $color-blue;
  93. }
  94. //for the login and registration pages
  95. .form-quest {
  96. font-size: 1.4rem;
  97. margin-top:2rem;
  98. a {
  99. color: $color-mint;
  100. transition: 0.5s;
  101. &:hover {
  102. color: $color-blue;
  103. }
  104. }
  105. }
  106. //input-box error message
  107. .input-box {
  108. &__error {
  109. color: $color-error;
  110. }
  111. }
  112. //select error message
  113. .form-block {
  114. &__select,
  115. &__text-area {
  116. .error {
  117. font-size: 1.3rem;
  118. color: $color-error;
  119. }
  120. }
  121. }