main.scss 2.9 KB

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