home.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. @import "colors";
  2. @import "breakpoints";
  3. @import "specific/form";
  4. main#homepage {
  5. width: calc(100% - 24px);
  6. margin-left: 12px;
  7. margin-right: 12px;
  8. overflow: hidden;
  9. .stations {
  10. display: flex;
  11. flex-wrap: wrap;
  12. justify-content: center;
  13. margin: -12px -12px 12px -12px;
  14. .station-card {
  15. width: 296px;
  16. background-color: $musare_color_white;
  17. border: 1px solid hsla(204, 3, 60, .5); //TODO Change this later and/or add to colors
  18. position: relative;
  19. margin: 12px;
  20. .station-media {
  21. width: 296px;
  22. height: 296px;
  23. display: block;
  24. > * {
  25. width: 296px;
  26. height: 296px;
  27. display: block;
  28. }
  29. }
  30. .station-media-icon {
  31. background-color: $musare_color_primary_blue;
  32. color: #EFEFEF; //TODO Change this color and figure out proper sizes
  33. > * {
  34. font-size: 296px;
  35. cursor: pointer;
  36. user-select: none;
  37. }
  38. }
  39. .station-body {
  40. padding: 20px;
  41. display: block;
  42. color: $musare_color_primary_gray;
  43. h3 {
  44. font-size: 23px;
  45. line-height: 31px;
  46. margin-bottom: 6px;
  47. }
  48. p {
  49. font-size: 15px;
  50. line-height: 20px;
  51. font-weight: 300;
  52. height: 60px;
  53. display: block;
  54. }
  55. label:first-child {
  56. margin-bottom: 6px;
  57. input {
  58. border: 0;
  59. padding: 0;
  60. font-size: 23px;
  61. line-height: 31px;
  62. height: 31px;
  63. color: $musare_color_primary_gray;
  64. @include forPlaceholder() {
  65. opacity: .75;
  66. }
  67. }
  68. }
  69. label:last-child {
  70. margin-bottom: 0;
  71. textarea {
  72. border: 0;
  73. padding: 0;
  74. font-size: 15px;
  75. line-height: 20px;
  76. height: 60px;
  77. font-weight: 300;
  78. color: $musare_color_primary_gray;
  79. @include forPlaceholder() {
  80. opacity: .75;
  81. }
  82. }
  83. }
  84. }
  85. .station-footer {
  86. padding: 0 20px 20px 20px;
  87. display: flex;
  88. align-items: flex-end;
  89. justify-content: space-between;
  90. .user-count {
  91. height: 27px;
  92. display: flex;
  93. align-items: flex-end;
  94. i {
  95. margin-right: 6px;
  96. }
  97. span {
  98. font-size: 20px;
  99. line-height: 27px;
  100. }
  101. }
  102. .nameContainer {
  103. display: flex;
  104. padding-top: 6px;
  105. span {
  106. font-size: 16px;
  107. line-height: 21px;
  108. height: 21px;
  109. }
  110. label {
  111. margin-bottom: 0;
  112. input {
  113. border: 0;
  114. padding: 0;
  115. font-size: 16px;
  116. line-height: 21px;
  117. font-weight: 300;
  118. color: $musare_color_primary_gray;
  119. @include forPlaceholder() {
  120. opacity: .75;
  121. }
  122. }
  123. }
  124. }
  125. i {
  126. margin-left: 10px;
  127. cursor: pointer;
  128. user-select: none;
  129. &.active {
  130. color: $musare_color_primary_blue;
  131. }
  132. }
  133. }
  134. > a {
  135. position: absolute;
  136. top: 0;
  137. left: 0;
  138. right: 0;
  139. bottom: 0;
  140. }
  141. }
  142. }
  143. h2 {
  144. font-size: 20px;
  145. line-height: 27px;
  146. margin-bottom: 12px;
  147. text-align: center;
  148. }
  149. }