diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 3c084f4..cec0c2e 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -5,7 +5,11 @@ @import 'libs/breakpoints'; @import 'libs/html-grid'; @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic"); - +/* import additional Fonts from fonts.google.com + use Format e.g. "Playfair+Display:400,700" */ +{{ range .Site.Params.Style.googleFonts }} +@import url("https://fonts.googleapis.com/css?family={{ . }}"); +{{ end }} /* Alpha by HTML5 UP html5up.net | @ajlkn @@ -1370,7 +1374,7 @@ #banner { background-attachment: scroll, fixed; background-color: #666; - background-image: url('images/overlay.png'), url('../../images/banner.jpg'); + background-image: url({{ "img/overlay.png" | absURL }}), url({{ .Site.Params.Banner.image | absURL }}); background-position: top left, center center; background-repeat: repeat, no-repeat; background-size: auto, cover; @@ -1524,6 +1528,11 @@ padding: 3.5em 0 4em 0; text-align: center; + a { + color: inherit; + font-weight: bold; + } + h2, h3, h4, h5, h6 { color: inherit; } diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 84dce15..b832894 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -71,12 +71,20 @@ googleAnalytics = "" author = "Daniel Saunders" languageCode = "en" # For accessibility this needs to be set. You can find all language codes at https://www.w3schools.com/tags/ref_language_codes.asp - customCSS = ["example.css"] + bible_popups = "faithlife" #faithlife, blb bible_version = "CSB" #HCSB, NIV, NLT, ESV, etc. instant_page = true + customCSS = ["example.css"] + [parapms.style] + googleFonts = ["Cardo", + "Crimson+Text", + "Merriweather", + "Playfair+Display:400,700", + "Roboto+Slab"] + [params.podcast] title = "Listen to Alpha Church" subtitle = "" diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html index 6795c61..937a625 100644 --- a/layouts/partials/banner.html +++ b/layouts/partials/banner.html @@ -1,4 +1,4 @@ -