forked from rDrama/rDrama
remove unnecessary .js
parent
04762f01cc
commit
284edf22f1
|
@ -1,13 +1,10 @@
|
||||||
:root {
|
|
||||||
--opacity-frost: 0.25;
|
|
||||||
}
|
|
||||||
.frost {
|
.frost {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
box-shadow: 0 0 200px 10px rgba(255, 255, 255, var(--opacity-frost)) inset;
|
box-shadow: 0 0 200px 10px rgba(255, 255, 255, 0.5) inset;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 1050;
|
z-index: 1050;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
const root = document.querySelector(':root');
|
|
||||||
const count = 5;
|
|
||||||
const opacity = count * 0.1;
|
|
||||||
root.style.setProperty('--opacity-frost', opacity);
|
|
|
@ -12,7 +12,6 @@
|
||||||
{% if p.award_count("frostbite", v) %}
|
{% if p.award_count("frostbite", v) %}
|
||||||
<div class="frost"></div>
|
<div class="frost"></div>
|
||||||
<link rel="stylesheet" href="{{('events/fistmas/css/frostbite.css') | asset}}">
|
<link rel="stylesheet" href="{{('events/fistmas/css/frostbite.css') | asset}}">
|
||||||
<script defer src="{{'events/fistmas/js/frostbite.js' | asset}}"></script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue