styles.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. ---
  2. ---
  3. @import "variables";
  4. //
  5. // BASE
  6. //
  7. html,
  8. body {
  9. min-height: 100%;
  10. }
  11. body {
  12. {% if site.background_color %}
  13. background-color: {{ site.background_color }};
  14. {% endif %}
  15. {% if site.background_image %}
  16. background: linear-gradient(rgba(59, 61, 64, 0.5), rgba(59, 61, 64, 0.5)), url(../../{{ site.background_image }}) no-repeat center center;
  17. -webkit-background-size: cover;
  18. -moz-background-size: cover;
  19. -o-background-size: cover;
  20. background-size: cover;
  21. {% endif %}
  22. {% if site.text_color %}
  23. color: {{ site.text_color }};
  24. {% endif %}
  25. font-size: 18px;
  26. -moz-osx-font-smoothing: grayscale;
  27. -webkit-font-smoothing: antialiased;
  28. }
  29. a {
  30. transition: all .3s;
  31. }
  32. ul {
  33. list-style-type: disc;
  34. }
  35. {% if site.link_color %}
  36. a {
  37. color: {{ site.link_color }};
  38. }
  39. a:focus,
  40. a:hover {
  41. color: darken({{ site.link_color }}, 5%);
  42. }
  43. ul > li {
  44. color: {{ site.link_color }};
  45. }
  46. ul > li > span {
  47. color: black;
  48. }
  49. {% endif %}
  50. //
  51. // LAYOUT / SECTIONS
  52. //
  53. .container {
  54. max-width: 980px;
  55. }
  56. .main {
  57. position: relative;
  58. min-height: 100%;
  59. padding-top: 70px;
  60. padding-bottom: 60px;
  61. }
  62. .footer {
  63. padding-bottom: 50px;
  64. }
  65. .footer-links {
  66. padding-right: 12px;
  67. font-size: 14px;
  68. }
  69. .footer-links:focus,
  70. .footer-links:hover {
  71. padding-right: 12px;
  72. font-size: 14px;
  73. {% if site.link_color %}
  74. color: darken({{ site.link_color }}, 5%);
  75. {% endif %}
  76. }
  77. //
  78. // Marketing
  79. //
  80. .marketing {
  81. text-align: center;
  82. }
  83. .app-meta {
  84. margin-bottom: 20px;
  85. font-size: 32px;
  86. }
  87. .app-icon {
  88. display: block;
  89. margin: 0 auto 10px;
  90. border-radius: 15px;
  91. width: 92px;
  92. }
  93. .marketing-desc {
  94. margin: 0 auto 20px;
  95. max-width: 450px;
  96. white-space: pre-wrap;
  97. font-weight: 500;
  98. }
  99. .marketing-features {
  100. margin: 0 auto 20px;
  101. max-width: 450px;
  102. white-space: pre-wrap;
  103. font-weight: 500;
  104. }
  105. //
  106. // Download Buttons
  107. //
  108. .download-buttons {
  109. margin-bottom: 20px;
  110. }
  111. .download-btn {
  112. margin-top: 20px;
  113. margin-right: 20px;
  114. margin-bottom: 20px;
  115. border: none;
  116. background-color: #0191FF;
  117. color: #fff;
  118. {% if site.download_button_background_color %}
  119. background-color: {{ site.download_button_background_color }};
  120. {% endif %}
  121. {% if site.download_button_text_color %}
  122. color: {{ site.download_button_text_color }};
  123. {% endif %}
  124. }
  125. .download-btn:focus,
  126. .download-btn:hover {
  127. background-color: darken(#0191FF, 5%);
  128. color: #fff;
  129. {% if site.download_button_background_color %}
  130. background-color: darken({{ site.download_button_background_color }}, 5%);
  131. {% endif %}
  132. {% if site.download_button_text_color %}
  133. color: {{ site.download_button_text_color }};
  134. {% endif %}
  135. }
  136. //
  137. // Social
  138. //
  139. .social {
  140. text-align: left;
  141. }
  142. .social-links {
  143. padding-left: 0;
  144. margin-left: -5px;
  145. list-style: none;
  146. }
  147. .social-links li {
  148. display: inline-block;
  149. margin: 12px;
  150. }
  151. {% if site.social_link_color %}
  152. .social-links a {
  153. color: {{ site.social_link_color }};
  154. }
  155. .social-links a:focus,
  156. .social-links a:hover {
  157. color: darken({{ site.social_link_color }}, 5%);
  158. }
  159. {% endif %}
  160. //
  161. // Device
  162. //
  163. .device {
  164. margin: auto;
  165. }
  166. //
  167. // large screens
  168. //
  169. @media (min-width: 768px) {
  170. .marketing {
  171. text-align: left;
  172. }
  173. .app-icon {
  174. display: inline;
  175. }
  176. .marketing-desc {
  177. text-align: left;
  178. }
  179. }
  180. //
  181. // more imports
  182. //
  183. @import "devices";