_home.scss 4.6 KB

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