Spaces:
Sleeping
Sleeping
File size: 2,085 Bytes
2f66c90 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | :root {
color-scheme: dark;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
background: #020408;
color: #f8fbff;
}
* {
box-sizing: border-box;
}
html,
body,
#app {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
}
#universe {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
display: block;
background: #020408;
}
#hud {
position: fixed;
left: clamp(16px, 3vw, 40px);
bottom: clamp(18px, 5vh, 52px);
width: min(620px, calc(100vw - 32px));
padding: 0;
text-shadow: 0 2px 24px rgba(0, 0, 0, 0.78);
pointer-events: none;
z-index: 2;
}
.system-line {
display: flex;
flex-wrap: wrap;
gap: 10px 16px;
align-items: center;
margin-bottom: 10px;
font-size: 11px;
letter-spacing: 0;
color: #89e9ff;
}
#body-name {
margin: 0 0 8px;
font-size: clamp(34px, 6vw, 74px);
line-height: 0.92;
letter-spacing: 0;
font-weight: 760;
}
#phenomenon {
margin: 0 0 14px;
color: #fff0b8;
font-size: clamp(15px, 2vw, 20px);
}
#science,
#transmission {
max-width: 58ch;
margin: 0 0 12px;
font-size: clamp(14px, 1.6vw, 17px);
line-height: 1.45;
}
#transmission {
color: #c5ffed;
font-style: italic;
}
#engage {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
min-width: 132px;
min-height: 44px;
border: 1px solid rgba(137, 233, 255, 0.6);
border-radius: 4px;
background: rgba(2, 10, 18, 0.72);
color: #f8fbff;
font-size: 13px;
font-weight: 700;
letter-spacing: 0;
cursor: pointer;
backdrop-filter: blur(10px);
z-index: 4;
}
#engage.hidden {
opacity: 0;
pointer-events: none;
}
#reticle {
position: fixed;
left: 50%;
top: 50%;
width: 10px;
height: 10px;
border-top: 1px solid rgba(248, 251, 255, 0.72);
border-left: 1px solid rgba(248, 251, 255, 0.72);
transform: translate(-50%, -50%) rotate(45deg);
pointer-events: none;
z-index: 3;
}
@media (max-width: 640px) {
#hud {
bottom: 16px;
}
#science,
#transmission {
max-width: 100%;
}
}
|