Colours move into theme tokens (light values in :root, dark in [data-theme=dark]); the closing contact band inverts on each theme. The choice is stored in localStorage and applied by a head script before the first paint. Voxel covers and image shadows follow the theme. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XtcZtnG4GQA1d6mW5PNrS9
39 lines
630 B
CSS
39 lines
630 B
CSS
.gizmo {
|
|
position: fixed;
|
|
z-index: 40;
|
|
top: 84px;
|
|
right: max(16px, calc((100vw - 1240px) / 2 - 8px));
|
|
width: 88px;
|
|
height: 88px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: var(--disc-bg);
|
|
box-shadow: 0 0 0 1px var(--ring);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
backdrop-filter: blur(8px);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.gizmo svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.letter {
|
|
fill: #fff;
|
|
font: 700 10.5px var(--font-body);
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.gizmo {
|
|
top: auto;
|
|
bottom: 16px;
|
|
right: 16px;
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
}
|