custom.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /* Shared
  2. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  3. .button {
  4. border-radius: 100px;
  5. }
  6. /* Sections
  7. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  8. .section {
  9. padding: 8rem 0 7rem;
  10. text-align: center;
  11. }
  12. .section-heading,
  13. .section-description {
  14. margin-bottom: 1.2rem;
  15. }
  16. .section-description {
  17. text-align: justify;
  18. margin-top: 1rem;
  19. margin-bottom: 1rem;
  20. }
  21. .subsection {
  22. padding: 3rem 0 2rem;
  23. text-align: center;
  24. }
  25. /* Hero
  26. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  27. .header {
  28. background-image: url('../img/header-bg.jpg');
  29. background-size: cover;
  30. color: #fff;
  31. padding-bottom: 5rem;
  32. text-align: center;
  33. }
  34. /* Values
  35. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  36. .values {
  37. /*padding-bottom: 5rem;*/
  38. }
  39. .value-multiplier {
  40. margin-bottom: .5rem;
  41. color: #11DFC7;
  42. }
  43. .value-heading {
  44. margin-bottom: .3rem;
  45. }
  46. .value-description {
  47. opacity: .8;
  48. font-weight: 300;
  49. }
  50. /* Help
  51. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  52. .get-help {
  53. border-bottom: 1px solid #ddd;
  54. }
  55. /* Categories
  56. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  57. .categories {
  58. color: #fff;
  59. }
  60. .categories .section-description {
  61. margin-bottom: 4rem;
  62. }
  63. /* Questions
  64. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  65. details {
  66. text-align: left;
  67. }
  68. details summary::-webkit-details-marker {
  69. display:none;
  70. }
  71. details summary {
  72. display: block;
  73. }
  74. .question {
  75. font-size: 20px;
  76. line-height: 30px;
  77. border-bottom: 1px solid #DDD;
  78. font-weight: 200;
  79. padding: 10px 0 10px 60px;
  80. cursor: pointer;
  81. position: relative;
  82. box-sizing: border-box;
  83. }
  84. details span::after {
  85. font-size: 26px;
  86. content: '+';
  87. height: 30px;
  88. width: 30px;
  89. content: '\f138';
  90. color: #334d63;
  91. font-size: 30px;
  92. font-family: 'ForkAwesome';
  93. }
  94. details[open] span::after {
  95. content: '-';
  96. line-height: 26px;
  97. content : "\f13a";
  98. color: #334d63;
  99. font-size: 30px;
  100. font-family: 'ForkAwesome';
  101. }
  102. .question span {
  103. position: absolute;
  104. left: 10px;
  105. /*background: transparent;
  106. height: 30px;
  107. width: 30px;
  108. border-radius: 50%;
  109. text-align: center;
  110. line-height: 30px;
  111. background-color: #334d63;
  112. color: white;
  113. -webkit-transition: all 0.2s ease;
  114. -moz-transition: all 0.2s ease;
  115. -o-transition: all 0.2s ease;
  116. transition: all 0.2s ease;
  117. box-sizing: content-box;*/
  118. }
  119. /* Media
  120. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  121. /* Bigger than 550 */
  122. @media (min-width: 550px) {
  123. .section {
  124. padding: 8rem 0 7rem;
  125. }
  126. .header {
  127. padding-bottom: 12rem;
  128. height: 165px;
  129. }
  130. .header-heading {
  131. font-size: 2.4rem;
  132. }
  133. }
  134. /* Bigger than 750 */
  135. @media (min-width: 750px) {
  136. .header {
  137. height: 190px;
  138. }
  139. .header-heading {
  140. font-size: 2.6rem;
  141. }
  142. .section {
  143. padding: 8rem 0 7rem;
  144. }
  145. .header {
  146. padding: 16rem 0 14rem;
  147. }
  148. .section-description {
  149. max-width: 80%;
  150. margin-left: auto;
  151. margin-right: auto;
  152. }
  153. .categories {
  154. padding: 15rem 0 8rem;
  155. }
  156. }
  157. /* Bigger than 1000 */
  158. @media (min-width: 1000px) {
  159. .section {
  160. padding: 8rem 0 7rem;
  161. }
  162. .header {
  163. padding: 22rem 0;
  164. }
  165. .header-heading {
  166. font-size: 3.0rem;
  167. }
  168. }