styles.scss 3.0 KB

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