suoni
This commit is contained in:
41
styles.css
41
styles.css
@@ -359,9 +359,36 @@ body {
|
||||
position: relative;
|
||||
transform-origin: bottom center;
|
||||
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
touch-action: none;
|
||||
}
|
||||
/* area di presa invisibile piu' ampia (facile da afferrare/toccare) */
|
||||
.lever::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -22px;
|
||||
right: -22px;
|
||||
top: -22px;
|
||||
bottom: -10px;
|
||||
}
|
||||
.lever.armed {
|
||||
cursor: grab;
|
||||
animation: leverBob 1.1s ease-in-out infinite;
|
||||
}
|
||||
.lever.armed .lever-knob {
|
||||
box-shadow: 0 0 16px var(--red), 0 0 30px var(--red), 0 0 46px #ff004c;
|
||||
animation: knobPulse 1.1s ease-in-out infinite;
|
||||
}
|
||||
@keyframes leverBob {
|
||||
0%, 100% { transform: rotate(0deg); }
|
||||
50% { transform: rotate(-5deg); }
|
||||
}
|
||||
@keyframes knobPulse {
|
||||
0%, 100% { filter: brightness(1); }
|
||||
50% { filter: brightness(1.5); }
|
||||
}
|
||||
.lever.pull {
|
||||
transform: rotate(28deg);
|
||||
animation: none;
|
||||
}
|
||||
.lever-knob {
|
||||
position: absolute;
|
||||
@@ -375,6 +402,20 @@ body {
|
||||
box-shadow: 0 0 16px var(--red);
|
||||
}
|
||||
|
||||
/* effetto "gaslighting": mentre finge di essersi fermato sulla stanza sbagliata */
|
||||
.reel-window.teasing {
|
||||
animation: teaseShake 0.12s linear infinite;
|
||||
}
|
||||
.reel-window.teasing .payline {
|
||||
border-color: var(--red);
|
||||
box-shadow: 0 0 26px rgba(255, 59, 92, 0.6);
|
||||
}
|
||||
@keyframes teaseShake {
|
||||
0%, 100% { transform: translateX(0); }
|
||||
25% { transform: translateX(-2px); }
|
||||
75% { transform: translateX(2px); }
|
||||
}
|
||||
|
||||
.mc-line {
|
||||
min-height: 26px;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user