2017-03-04 08:12:31 -08:00
|
|
|
<!-- Configurable Styles partial to appear in head -->
|
|
|
|
<style>
|
|
|
|
{{ with .Site.Params.font }}
|
2017-03-14 00:07:16 -07:00
|
|
|
body { font-family:{{ . }},Helvetica,Arial,sans-serif; }
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Site.Params }}
|
|
|
|
|
|
|
|
{{ with .navbar }}
|
|
|
|
|
|
|
|
{{ with .font }}
|
2017-03-11 20:11:20 -08:00
|
|
|
.nav-bar__logo, .nav-bar__menu { font-family:{{ . }},Helvetica,Arial,sans-serif; }
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .bg_color }}
|
2017-03-11 20:11:20 -08:00
|
|
|
.nav-bar__menu-item:hover {color: {{ . }}; }
|
2017-03-14 00:07:16 -07:00
|
|
|
.nav-bar, .section--footer { background-color: {{ . }}; }
|
2017-03-04 20:02:56 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .text_size }}
|
2017-03-11 20:11:20 -08:00
|
|
|
.nav-bar__logo { font-size: {{ . }}em; }
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .color }}
|
2017-03-14 00:07:16 -07:00
|
|
|
.nav-bar__logo, .nav-bar__menu, .nav-bar__menu-button, .section--footer { color: {{ . }}; }
|
2017-03-11 20:11:20 -08:00
|
|
|
.nav-bar__menu-item:hover { background-color: {{ . }}; }
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ end }}
|
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
{{ with .logo_text_short }}
|
|
|
|
@media only screen and (max-width: 400px) {
|
|
|
|
.nav-bar__logo {
|
|
|
|
text-indent: -9999px;
|
|
|
|
line-height: 0; /* Collapse the original line */
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-bar__logo::after {
|
|
|
|
content: "{{ . }}";
|
|
|
|
text-indent: 0;
|
|
|
|
display: block;
|
|
|
|
line-height: initial; /* New content takes up original line height */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ end }} /* end navbar */
|
|
|
|
|
2017-03-04 20:02:56 -08:00
|
|
|
{{ with .hero }}
|
|
|
|
|
|
|
|
{{ with .img }}
|
2017-03-29 19:58:42 -07:00
|
|
|
{{ with $.Site.Params.imagespath }} {{ $.Scratch.Set "path" ( . ) }} {{ else }}{{ $.Scratch.Set "path" "/images/" }}{{ end }}
|
|
|
|
#hero {
|
|
|
|
background-image: url("{{ $.Scratch.Get "path" }}{{ . }}");
|
|
|
|
}
|
2017-03-04 20:02:56 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .font }}
|
|
|
|
#hero .text { font-family:{{ . }},Helvetica,Arial,sans-serif;}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .color }}
|
2017-03-13 12:35:41 -07:00
|
|
|
#hero > .text { color: {{ . }}; }
|
2017-03-04 20:02:56 -08:00
|
|
|
{{ end }}
|
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
{{ if and ( .text_outline ) ( .text_shadow ) }}
|
|
|
|
#hero > .text {
|
|
|
|
text-shadow:
|
|
|
|
-2px -2px 0 {{ .text_outline }},
|
|
|
|
2px -2px 0 {{ .text_outline }},
|
|
|
|
-2px 2px 0 {{ .text_outline }},
|
|
|
|
2px 2px 0 {{ .text_outline }},
|
|
|
|
-7px -3px 0 {{ .text_shadow }};
|
|
|
|
}
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{ with .text_outline }}
|
|
|
|
#hero > .text {
|
|
|
|
text-shadow:
|
|
|
|
-2px -2px 0 {{ . }},
|
|
|
|
2px -2px 0 {{ . }},
|
|
|
|
-2px 2px 0 {{ . }},
|
|
|
|
2px 2px 0 {{ . }};
|
|
|
|
}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .text_shadow }}
|
|
|
|
#hero > .text {
|
|
|
|
text-shadow:
|
|
|
|
-7px -3px 0 {{ . }}
|
|
|
|
}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
{{ with .headlines_font }}
|
2017-03-04 20:02:56 -08:00
|
|
|
#hero h1, #hero h2, #hero h3 { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .headline_color }}
|
|
|
|
#hero h1 { color: {{ . }}; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .headline_size }}
|
|
|
|
#hero h1 { font-size: {{ . }}em; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .subheadline_color }}
|
|
|
|
#hero h2 { color: {{ . }}; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .subheadline_size }}
|
|
|
|
#hero h2 { font-size: {{ . }}em; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .subsubheadline_color }}
|
|
|
|
#hero h3 { color: {{ . }}; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .subsubheadline_size }}
|
|
|
|
#hero h3 { font-size: {{ . }}em; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .lines_color }}
|
|
|
|
#hero h4 { color: {{ . }}; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .lines_size }}
|
|
|
|
#hero h4 { font-size: {{ . }}em; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .divider_thickness }}
|
|
|
|
hr { border-width: {{ . }}px; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .divider_color }}
|
|
|
|
hr { border-top-color: {{ . }}; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }} /* end hero */
|
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
|
|
|
|
{{ with .sections }}
|
|
|
|
|
|
|
|
{{ with .font }}
|
|
|
|
.section, .section h1, .section h2, .section h3, .section p { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
|
|
|
{{ end }}
|
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
{{ with .headline_font }}
|
|
|
|
.section__headline h1 { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .bullet_icon }}
|
|
|
|
.section__content li::before {
|
2017-03-14 00:07:16 -07:00
|
|
|
content: "{{ . }}";
|
|
|
|
}
|
2017-03-13 12:35:41 -07:00
|
|
|
|
2017-03-10 22:59:27 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .odd }}
|
2017-03-14 00:07:16 -07:00
|
|
|
.section--odd, .section--even .btn {
|
2017-03-13 12:35:41 -07:00
|
|
|
color: {{ .color }};
|
|
|
|
background-color: {{ .bg_color }};
|
|
|
|
}
|
2017-03-14 00:07:16 -07:00
|
|
|
|
2017-03-13 12:35:41 -07:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .even }}
|
2017-03-14 00:07:16 -07:00
|
|
|
.section--even, .section--odd .btn {
|
|
|
|
color: {{ .color }};
|
|
|
|
background-color: {{ .bg_color }};
|
|
|
|
}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .footer }}
|
|
|
|
.section--footer {
|
2017-03-13 12:35:41 -07:00
|
|
|
color: {{ .color }};
|
|
|
|
background-color: {{ .bg_color }};
|
|
|
|
}
|
2017-03-10 22:59:27 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }} /* end sections */
|
|
|
|
|
2017-03-14 00:07:16 -07:00
|
|
|
{{ with .buttons }}
|
2017-03-10 22:59:27 -08:00
|
|
|
|
2017-03-14 00:07:16 -07:00
|
|
|
{{ with .odd }}
|
|
|
|
.section--odd .btn {
|
|
|
|
color: {{ .color }};
|
|
|
|
background-color: {{ .bg_color }};
|
|
|
|
}
|
2017-03-04 20:02:56 -08:00
|
|
|
|
2017-03-14 00:07:16 -07:00
|
|
|
.section--odd .btn:hover {
|
|
|
|
color: {{ .hover_color }};
|
|
|
|
background-color: {{ .hover_bg_color }};
|
|
|
|
}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .even }}
|
|
|
|
.section--even .btn {
|
|
|
|
color: {{ .color }};
|
|
|
|
background-color: {{ .bg_color }};
|
|
|
|
}
|
|
|
|
|
|
|
|
.section--even .btn:hover {
|
|
|
|
color: {{ .hover_color }};
|
|
|
|
background-color: {{ .hover_bg_color }};
|
|
|
|
}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }} /* .buttons */
|
|
|
|
|
|
|
|
{{ end }} /* .Site.Params*/
|
2017-03-04 08:12:31 -08:00
|
|
|
|
|
|
|
</style>
|