styles.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. h1 {
  44. color: {{ site.link_color }};
  45. }
  46. ul > li {
  47. color: {{ site.link_color }};
  48. }
  49. ul > li > span {
  50. color: black;
  51. }
  52. {% endif %}
  53. //
  54. // LAYOUT / SECTIONS
  55. //
  56. .container {
  57. max-width: 980px;
  58. }
  59. .main {
  60. position: relative;
  61. min-height: 100%;
  62. padding-top: 70px;
  63. padding-bottom: 60px;
  64. }
  65. .footer {
  66. padding-bottom: 50px;
  67. }
  68. .footer-links {
  69. padding-right: 12px;
  70. font-size: 14px;
  71. }
  72. .footer-links:focus,
  73. .footer-links:hover {
  74. padding-right: 12px;
  75. font-size: 14px;
  76. {% if site.link_color %}
  77. color: darken({{ site.link_color }}, 5%);
  78. {% endif %}
  79. }
  80. //
  81. // Marketing
  82. //
  83. .marketing {
  84. text-align: center;
  85. }
  86. .app-meta {
  87. margin-bottom: 20px;
  88. font-size: 32px;
  89. }
  90. .app-icon {
  91. display: block;
  92. margin: 0 auto 10px;
  93. border-radius: 15px;
  94. width: 92px;
  95. }
  96. .marketing-desc {
  97. margin: 0 auto 20px;
  98. max-width: 450px;
  99. white-space: pre-wrap;
  100. font-weight: 500;
  101. }
  102. .marketing-features {
  103. margin: 0 auto 20px;
  104. max-width: 450px;
  105. white-space: pre-wrap;
  106. font-weight: 500;
  107. }
  108. //
  109. // Download Buttons
  110. //
  111. .download-buttons {
  112. margin-bottom: 20px;
  113. }
  114. .download-btn {
  115. margin-top: 20px;
  116. margin-right: 20px;
  117. margin-bottom: 20px;
  118. border: none;
  119. background-color: #0191FF;
  120. color: #fff;
  121. {% if site.download_button_background_color %}
  122. background-color: {{ site.download_button_background_color }};
  123. {% endif %}
  124. {% if site.download_button_text_color %}
  125. color: {{ site.download_button_text_color }};
  126. {% endif %}
  127. }
  128. .download-btn:focus,
  129. .download-btn:hover {
  130. background-color: darken(#0191FF, 5%);
  131. color: #fff;
  132. {% if site.download_button_background_color %}
  133. background-color: darken({{ site.download_button_background_color }}, 5%);
  134. {% endif %}
  135. {% if site.download_button_text_color %}
  136. color: {{ site.download_button_text_color }};
  137. {% endif %}
  138. }
  139. //
  140. // Social
  141. //
  142. .social {
  143. text-align: left;
  144. }
  145. .social-links {
  146. padding-left: 0;
  147. margin-left: -5px;
  148. list-style: none;
  149. }
  150. .social-links li {
  151. display: inline-block;
  152. margin: 12px;
  153. }
  154. {% if site.social_link_color %}
  155. .social-links a {
  156. color: {{ site.social_link_color }};
  157. }
  158. .social-links a:focus,
  159. .social-links a:hover {
  160. color: darken({{ site.social_link_color }}, 5%);
  161. }
  162. {% endif %}
  163. //
  164. // large screens
  165. //
  166. @media (min-width: 768px) {
  167. .marketing {
  168. text-align: left;
  169. }
  170. .app-icon {
  171. display: inline;
  172. }
  173. .marketing-desc {
  174. text-align: left;
  175. }
  176. }
  177. //
  178. // more imports
  179. //
  180. @import "devices";