-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.scss
41 lines (31 loc) · 2.4 KB
/
main.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# Front matter comment to ensure Jekyll properly reads file.
---
$body-color: {{ site.data.theme_settings.body_background_color }};
$header-image-position: {{ site.data.theme_settings.cover_image_position }};
$device-type: "assets/phone-frames/{{ site.data.theme_settings.phone_frame }}.png";
$device-offset-x: {% if site.data.theme_settings.phone_frame contains "iphone" %}6.5%{% elsif site.data.theme_settings.phone_frame contains "nexus-5x" %}4.591%{% else %}0{% endif %};
$device-offset-y: {% if site.data.theme_settings.phone_frame contains "iphone" %}5.75%{% elsif site.data.theme_settings.phone_frame contains "nexus-5x" %}19.449%{% else %}0{% endif %};
$device-width: {% if site.data.theme_settings.phone_frame contains "iphone" %}87.25%{% elsif site.data.theme_settings.phone_frame contains "nexus-5x" %}90.150%{% else %}0{% endif %};
$device-height: {% if site.data.theme_settings.phone_frame contains "iphone" %}93.44%{% elsif site.data.theme_settings.phone_frame contains "nexus-5x" %}79.660%{% else %}0{% endif %};
$device-mask: {% if site.data.theme_settings.phone_frame contains "iphone" %}url(#screenMask-iPhone){% else %}none{% endif %};
$accent-color: {{ site.data.theme_settings.link_color }};
$header-title-color: {{ site.data.theme_settings.topbar_title_color }};
$app-title-color: {{ site.data.theme_settings.app_title_color }};
$app-price-color: {{ site.data.theme_settings.app_price_color }};
$app-description-color: {{ site.data.theme_settings.app_description_color }};
$feature-title-color: {{ site.data.theme_settings.feature_title_color }};
$feature-text-color: {{ site.data.theme_settings.feature_text_color }};
$footer-text-color: {{ site.data.theme_settings.footer_text_color }};
$header_color: {{ site.data.theme_settings.topbar_color }};
$header_transparency: {{ site.data.theme_settings.topbar_transparency }};
$image-overlay-color: {{ site.data.theme_settings.cover_overlay_color }};
$image-overlay-transparency: {{ site.data.theme_settings.cover_overlay_transparency }};
$feature-icons-foreground-color: {{ site.data.theme_settings.feature_icons_foreground_color }};
$feature-icons-background-color: {{ site.data.theme_settings.feature_icons_background_color }};
$social-icons-foreground-color: {{ site.data.theme_settings.social_icons_foreground_color }};
$social-icons-background-color: {{ site.data.theme_settings.social_icons_background_color }};
@import
"base",
"layout",
"github-markdown"