78 lines
1.4 KiB
CSS
78 lines
1.4 KiB
CSS
:root{
|
|
--panel:#0b1020cc;
|
|
--text:#e8f0ff;
|
|
--shadow: 0 12px 40px rgba(0,0,0,.55);
|
|
--r: 18px;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
background: #000;
|
|
}
|
|
|
|
.stage {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #000;
|
|
touch-action: manipulation;
|
|
user-select: none;
|
|
}
|
|
|
|
.face {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: block;
|
|
}
|
|
|
|
/* Touch-only overlay with two links */
|
|
.overlay{
|
|
position: fixed;
|
|
left: max(12px, env(safe-area-inset-left));
|
|
right: max(12px, env(safe-area-inset-right));
|
|
bottom: max(12px, env(safe-area-inset-bottom));
|
|
display:flex;
|
|
gap:10px;
|
|
justify-content:flex-start;
|
|
align-items:center;
|
|
|
|
background: var(--panel);
|
|
border: 1px solid rgba(255,255,255,.10);
|
|
border-radius: var(--r);
|
|
padding: 10px 12px;
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
|
|
opacity:0;
|
|
transform: translateY(10px);
|
|
pointer-events:none;
|
|
transition: opacity .18s ease, transform .18s ease;
|
|
}
|
|
|
|
.overlay.show{
|
|
opacity:1;
|
|
transform: translateY(0);
|
|
pointer-events:auto;
|
|
}
|
|
|
|
a.btn{
|
|
appearance:none;
|
|
border: 1px solid rgba(255,255,255,.14);
|
|
background: rgba(255,255,255,.06);
|
|
color: var(--text);
|
|
border-radius: 14px;
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
text-decoration:none;
|
|
line-height:1;
|
|
display:inline-flex;
|
|
align-items:center;
|
|
gap:8px;
|
|
}
|
|
|
|
a.btn:active{ transform: translateY(1px); }
|
|
|