Show overlay on staging
This commit is contained in:
parent
8d996651aa
commit
5052394ae4
|
@ -61,6 +61,17 @@ h2 a {
|
||||||
font-size: 0.75rem;
|
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
|
// noscript fallbacks
|
||||||
|
|
||||||
.podlove-player > audio {
|
.podlove-player > audio {
|
||||||
|
|
2
static/assets/staging.svg
Normal file
2
static/assets/staging.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.6 KiB |
|
@ -27,6 +27,9 @@
|
||||||
{%- endblock metadata %}
|
{%- endblock metadata %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
{%- if config.base_url is containing("staging") %}
|
||||||
|
<div id="staging-overlay"></div>
|
||||||
|
{%- endif %}
|
||||||
<div class="container has-background-white" id="page-wrapper">
|
<div class="container has-background-white" id="page-wrapper">
|
||||||
{%- block banner %}
|
{%- block banner %}
|
||||||
<a href="{{ get_url(path="/") }}"><img id="banner" src="{{ get_url(path="assets/banner.jpg") | safe }}" alt="Banner von {{ config.title }}"></a>
|
<a href="{{ get_url(path="/") }}"><img id="banner" src="{{ get_url(path="assets/banner.jpg") | safe }}" alt="Banner von {{ config.title }}"></a>
|
||||||
|
|
Loading…
Reference in a new issue