Selaa lähdekoodia

Adjust destroyed-entity styling

vintage
Fen Dweller 5 vuotta sitten
vanhempi
commit
70082729cb
1 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa
  1. +5
    -4
      src/components/Statblock.vue

+ 5
- 4
src/components/Statblock.vue Näytä tiedosto

@@ -5,7 +5,7 @@
<div class="statblock-shader statblock-shader-selected-ally"></div>
<div class="statblock-shader statblock-shader-current-turn"></div>
<div class="statblock-shader statblock-shader-dead">
<i class="fas fa-skull" />
<i class="fas fa-skull-crossbones" />
</div>
<div class="statblock-shader statblock-shader-eaten"></div>
<div class="statblock-content">
@@ -275,7 +275,8 @@ a {
z-index: 0;
}

.statblock[data-destroyed] > .statblock-content {
.statblock[data-destroyed] .statblock-content,
.statblock[data-destroyed] .stat-entry {
animation: destroyed 1s;
animation-fill-mode: both;
overflow: hidden;
@@ -287,7 +288,7 @@ a {
}

to {
opacity: 0;
opacity: 0.25;
}
}

@@ -319,7 +320,7 @@ a {
}

.statblock-shader-dead i {
font-size: 100pt;
font-size: 100px;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);


Loading…
Peruuta
Tallenna