78 lines
1.7 KiB
HTML
78 lines
1.7 KiB
HTML
|
<!-- Configurable Styles partial to appear in head -->
|
||
|
{{ with $.Site.Params }}
|
||
|
<style>
|
||
|
|
||
|
{{ with .font }}
|
||
|
body,h1,h2,h3,h4,h5,h6 { font-family:{{ . }},Helvetica,Arial,sans-serif; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .navbar }}
|
||
|
|
||
|
{{ with .font }}
|
||
|
.navbar { font-family:{{ . }},Helvetica,Arial,sans-serif; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .bg_color }}
|
||
|
.navbar { background-color: {{ . }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .color }}
|
||
|
.navbar-header > a, .navbar-nav > li > a { color: {{ . }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ end }} /* end navbar */
|
||
|
|
||
|
{{ with .intro }}
|
||
|
|
||
|
{{ with .img }}
|
||
|
#intro {background-image: url("../images/{{ . }}");}
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .font }}
|
||
|
#intro, #intro h1, #intro h2, #intro h3, #intro h4, #intro p { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .color }}
|
||
|
#intro, #intro h1, #intro h2, #intro h3, #intro h4, #intro p { color: {{ . }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .font_headline }}
|
||
|
#intro h1, #intro h2, #intro h3 { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .color_headline }}
|
||
|
#intro > h1 { color: {{ . }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .color_subheadline }}
|
||
|
#intro > h2 { color: {{ . }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .color_subsubheadline }}
|
||
|
#intro > h3 { color: {{ . }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ end }} /* end intro */
|
||
|
|
||
|
{{ with .sections }}
|
||
|
|
||
|
{{ with .font }}
|
||
|
.section, .section h1, .section h2, .section h3, .section p { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .font_headline }}
|
||
|
.section h1, .section h2, .section h3, { font-family: "{{ . }}",Helvetica,Arial,sans-serif; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ with .odd }}
|
||
|
.section-odd {
|
||
|
color: {{ .color }}; }
|
||
|
background-color: {{ .bg_color }}; }
|
||
|
{{ end }}
|
||
|
|
||
|
{{ end }} /* end sections */
|
||
|
*/
|
||
|
|
||
|
</style>
|
||
|
{{ end }}
|