Improve drop shadow of main site hero image
This commit is contained in:
parent
f3bac7c8d9
commit
aae7b8476a
|
@ -4,7 +4,11 @@
|
||||||
<img fetchpriority="high" src="/assets/leilukin/Leilukins-Hub-website-banner.avif" alt="Banner of Leilukin's Hub" width="900" height="300">
|
<img fetchpriority="high" src="/assets/leilukin/Leilukins-Hub-website-banner.avif" alt="Banner of Leilukin's Hub" width="900" height="300">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{%- css %}.hero img { filter: drop-shadow(0.1rem 0.1rem 0.2rem black); }{% endcss %}
|
{% set heroDropShadow %}
|
||||||
|
drop-shadow(0.1rem 0.1rem 0.2rem black)
|
||||||
|
drop-shadow(0.1rem 0.1rem 0.2rem rgba(30, 30, 30, 0.8))
|
||||||
|
{% endset%}
|
||||||
|
{%- css %}.hero img { filter: {{ heroDropShadow }}; }{% endcss %}
|
||||||
|
|
||||||
{% block eventScript %}
|
{% block eventScript %}
|
||||||
const todayEvent = getTodayEvent();
|
const todayEvent = getTodayEvent();
|
||||||
|
|
Loading…
Reference in New Issue