gate logo image mask stuff behind @supports query
This commit is contained in:
parent
d8735fab0b
commit
77b916f4b4
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
{% endblock %}
|
||||
{% if header_logo and header_logo_mask_mode %}
|
||||
<style>
|
||||
@supports (mask-mode: {{ header_logo_mask_mode }}) and (mask-repeat: no-repeat) and (mask-size: contain) {
|
||||
#header-logo-link {
|
||||
mask-image: url('{% static header_logo %}');
|
||||
mask-mode: {{ header_logo_mask_mode }};
|
||||
|
@ -56,6 +57,7 @@
|
|||
#header-logo-link > img {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endif %}
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue