diff --git a/README.md b/README.md index 17269df..0c6af91 100644 --- a/README.md +++ b/README.md @@ -204,10 +204,11 @@ subtitle: Some fancy subtitle image: /jumbotron_image.svg imagePosition: left # values: left, right, top, bottom background: /img/jumbotron_bg.png -backgroundVideo: /img/jumbotron_video.webm # will replace the background image +backgroundVideo: /jumbotron_video.webm # will replace the background image textShadow: false fullscreen: false downArrow: false +whiteText: false # force white text in the jumbotron links: - title: About me link: /pages/about diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 42ed39e..8a13a64 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -654,6 +654,11 @@ header { } } header.jumbotronContainer { + {{ if (.Site.Data.jumbotron.whiteText | default false) }} + &, *, > * { + color: white !important; + } + {{ end }} {{ if (.Site.Data.jumbotron.textShadow | default false) }} &, * { text-shadow: 0 0 5px rgba(0, 0, 0, .7);