main.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. // @import "musare-theme";
  2. @import "colors";
  3. @import "breakpoints";
  4. @import "login";
  5. @import "navbar";
  6. @import "register";
  7. @import "setPassword";
  8. @import "settings";
  9. @import "specific/button";
  10. @import "specific/form";
  11. @import url("https://fonts.googleapis.com/css?family=Roboto:100,400,500,700");
  12. html, body {
  13. margin: 0;
  14. padding: 0;
  15. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  16. min-width: 320px;
  17. text-rendering: optimizeLegibility;
  18. -moz-osx-font-smoothing: grayscale;
  19. -webkit-font-smoothing: antialiased;
  20. }
  21. * {
  22. padding: 0;
  23. margin: 0;
  24. }
  25. h1, h2, h3, h4, h5, h6 {
  26. font-weight: normal;
  27. }
  28. h1 {
  29. text-shadow: 0 3px 6px $musare_shadow_color;
  30. color: $musare_color_primary_gray;
  31. text-align: center;
  32. }
  33. main {
  34. margin-left: auto;
  35. margin-right: auto;
  36. .custom-messages {
  37. border-style: solid;
  38. &.custom-messages-error {
  39. border-color: $musare_color_primary_red;
  40. color: $musare_color_primary_red;
  41. }
  42. &.custom-messages-info {
  43. border-color: $musare_color_dark_blue;
  44. color: $musare_color_dark_blue;
  45. }
  46. &.custom-messages-success {
  47. border-color: $musare_color_green;
  48. color: $musare_color_green;
  49. }
  50. p {
  51. font-weight: 600;
  52. }
  53. ul {
  54. list-style-position: inside;
  55. }
  56. }
  57. }
  58. @include responsive(smallest) {
  59. h1 {
  60. font-size: 32px;
  61. line-height: 43px;
  62. margin-bottom: 16px;
  63. }
  64. main {
  65. margin-top: 16px;
  66. width: calc(100% - 20px);
  67. .custom-messages {
  68. border-width: 1px;
  69. padding: 8px;
  70. margin-bottom: 12px;
  71. p {
  72. font-size: 16px;
  73. line-height: 21px;
  74. margin-bottom: 8px;
  75. }
  76. ul {
  77. li {
  78. font-size: 14px;
  79. line-height: 19px;
  80. }
  81. }
  82. }
  83. }
  84. }
  85. @include responsive(small) {
  86. h1 {
  87. font-size: 60px;
  88. line-height: 80px;
  89. margin-bottom: 52px; // TODO Check if this shouldn't be 32px
  90. }
  91. main {
  92. margin-top: 32px;
  93. width: calc(100% - 40px);
  94. .custom-messages {
  95. border-width: 2px;
  96. padding: 16px;
  97. margin-bottom: 26px;
  98. p {
  99. font-size: 29px;
  100. line-height: 38px;
  101. margin-bottom: 16px;
  102. }
  103. ul {
  104. li {
  105. font-size: 23px;
  106. line-height: 31px;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. @include responsive(medium) {
  113. h1 {
  114. font-size: 90px;
  115. line-height: 120px;
  116. margin-bottom: 51px; // TODO Check if this shouldn't be 48px
  117. }
  118. main {
  119. margin-top: 48px;
  120. width: calc(100% - 60px);
  121. .custom-messages {
  122. border-width: 2px;
  123. padding: 24px;
  124. margin-bottom: 39px;
  125. p {
  126. font-size: 43px;
  127. line-height: 57px;
  128. margin-bottom: 24px;
  129. }
  130. ul {
  131. li {
  132. font-size: 34px;
  133. line-height: 46px;
  134. }
  135. }
  136. }
  137. }
  138. }
  139. @include responsive(large) {
  140. h1 {
  141. font-size: 48px;
  142. line-height: 64px;
  143. margin-bottom: 32px;
  144. }
  145. main {
  146. margin-top: 32px;
  147. width: 500px;
  148. .custom-messages {
  149. border-width: 2px;
  150. padding: 16px;
  151. margin-bottom: 32px;
  152. p {
  153. font-size: 28px;
  154. line-height: 37px;
  155. margin-bottom: 16px;
  156. }
  157. ul {
  158. li {
  159. font-size: 24px;
  160. line-height: 32px;
  161. }
  162. }
  163. }
  164. }
  165. }
  166. @include responsive(largest) {
  167. main {
  168. width: 800px;
  169. }
  170. }