styles.scss 2.7 KB

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