option to make text in the jumbotron white

This commit is contained in:
Gabriele Musco 2021-07-06 17:38:44 +02:00
parent 10c7fb26bb
commit f62e10b4b2
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
2 changed files with 7 additions and 1 deletions

View file

@ -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);