diff --git a/sass/style.scss b/sass/style.scss index 3791101..9cc6107 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -61,6 +61,17 @@ h2 a { font-size: 0.75rem; } +#staging-overlay { + background-image: url("/assets/staging.svg"); + position: fixed; + top: 0; + width: 100%; + height: 100%; + z-index: 10000; + opacity: 0.075; + pointer-events: none; +} + // noscript fallbacks .podlove-player > audio { diff --git a/static/assets/staging.svg b/static/assets/staging.svg new file mode 100644 index 0000000..425181c --- /dev/null +++ b/static/assets/staging.svg @@ -0,0 +1,2 @@ + + diff --git a/templates/base.html b/templates/base.html index a63771e..fb23ce4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -27,6 +27,9 @@ {%- endblock metadata %}
+ {%- if config.base_url is containing("staging") %} + + {%- endif %}