_home.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. .home-page-layout-content{
  2. .layout--onecol{
  3. width: 90%;
  4. margin: auto;
  5. font-size: 1.3rem;
  6. font-weight: 400;
  7. font-style: normal;
  8. h4{
  9. font-size: 5rem;
  10. font-weight: normal;
  11. margin: 0;
  12. @media(max-width: 891px){
  13. font-size: 4rem;
  14. }
  15. @media(max-width: 520px){
  16. font-size: 3rem;
  17. }
  18. }
  19. h5{
  20. font-size: 5rem;
  21. font-weight: 900;
  22. margin: 0;
  23. line-height: 0.6;
  24. @media(max-width: 891px){
  25. font-size: 4rem;
  26. line-height: 0.9;
  27. }
  28. @media(max-width: 520px){
  29. font-size: 3rem;
  30. }
  31. }
  32. .block-region-content{
  33. display: grid;
  34. grid-column: repeat(2, 1fr);
  35. @media(max-width: 891px){
  36. display: flex;
  37. flex-direction: column;
  38. }
  39. .block-views-blockhome-block-1{
  40. grid-column: 1 /span 2;
  41. grid-row: 1;
  42. margin-bottom: 2rem;
  43. }
  44. // grid-row: ;
  45. .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
  46. grid-column: 1;
  47. grid-row: 2 /span 2;
  48. width: 80%;
  49. border: solid $yellow-puca 1px;
  50. background-color: $white-button;
  51. font-weight: 800;
  52. padding: 2rem;
  53. margin-right: 1rem;
  54. @media(max-width: 891px){
  55. margin-bottom: 1rem;
  56. // margin: auto;
  57. }
  58. h2{
  59. margin-top: 0;
  60. margin-bottom: 0;
  61. text-transform: lowercase;
  62. font-weight: 900;
  63. line-height: 1rem;
  64. font-size:1.8rem ;
  65. }
  66. .field--name-field-description{
  67. margin-top: 0;
  68. font-size: 2rem;
  69. line-height: 2.2rem;
  70. p{
  71. margin-top: 0.8rem;
  72. }
  73. }
  74. .field--type-link{
  75. padding: 0;
  76. margin: 0;
  77. border: none;
  78. font-weight: 400;
  79. background-color: inherit;
  80. .field__item {
  81. ::after{
  82. justify-self: unset;
  83. padding-left: 1rem;
  84. content: url(../images/noun-arrow-1569918.svg);
  85. }
  86. }
  87. }
  88. }
  89. .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f:hover{
  90. background-color: $yellow-puca;
  91. .field--type-link{
  92. .field__item {
  93. ::after{
  94. justify-self: unset;
  95. padding-left: 1rem;
  96. content: url(../images/noun-arrow-1569918_hover.svg);
  97. }
  98. }
  99. }
  100. }
  101. .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d{
  102. margin-bottom: 1rem;
  103. grid-column: 2;
  104. grid-row: 2;
  105. width: 90%;
  106. // height: fit-content;
  107. display: flex;
  108. justify-content: flex-end;
  109. align-items: center;
  110. @media(max-width: 891px){
  111. width: 90%;
  112. }
  113. @media(max-width: 520px){
  114. width: 100%;
  115. }
  116. .field--type-file{
  117. width: 80%;
  118. margin: 0;
  119. @media(max-width: 891px){
  120. width: 100%;
  121. }
  122. }
  123. :hover{
  124. background-color: $yellow-puca;
  125. }
  126. }
  127. .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252{
  128. grid-column: 2;
  129. grid-row: 3;
  130. width: 90%;
  131. display: flex;
  132. justify-content: flex-end;
  133. align-items: center;
  134. @media(max-width: 891px){
  135. width: 90%;
  136. }
  137. @media(max-width: 520px){
  138. width: 100%;
  139. }
  140. .field--type-file{
  141. width: 80%;
  142. margin: 0;
  143. @media(max-width: 891px){
  144. width: 100%;
  145. }
  146. }
  147. :hover{
  148. background-color: $yellow-puca;
  149. }
  150. }
  151. .block-views-blockhome-block-2{
  152. grid-column: 1 /span 2;
  153. grid-row: 4;
  154. margin-top: 2rem;
  155. }
  156. }
  157. }
  158. }