styles.scss 2.7 KB

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