Files

249 lines
5.1 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ============================================================
Güneş Sistemi · Mesafe Haritası
Karanlık uzay teması — harici kütüphane YOK
============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--arka: #02030a;
--cizgi: rgba(120, 180, 255, 0.18);
--cam: rgba(10, 18, 36, 0.72);
--cam-kenar: rgba(120, 180, 255, 0.22);
--metin: #dfe9ff;
--soluk: #8fa3c8;
--vurgu: #6fc3ff;
--altin: #ffd27a;
}
html, body {
min-height: 100%;
background: var(--arka);
color: var(--metin);
font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
/* ---------- SAHNE ---------- */
#sahne {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
display: block;
cursor: crosshair;
}
/* ---------- HUD / BAŞLIK ---------- */
.hud {
position: fixed;
top: 0; left: 0; right: 0;
padding: clamp(14px, 2.4vw, 26px) clamp(14px, 3vw, 32px) 14px;
pointer-events: none;
background: linear-gradient(180deg, rgba(2, 3, 10, 0.92) 0%, rgba(2, 3, 10, 0) 100%);
z-index: 5;
}
.hud h1 {
font-size: clamp(15px, 2.6vw, 26px);
letter-spacing: 0.16em;
font-weight: 700;
color: var(--metin);
text-shadow: 0 0 22px rgba(111, 195, 255, 0.35);
}
.hud h1 span {
display: block;
font-size: 0.55em;
letter-spacing: 0.34em;
color: var(--vurgu);
font-weight: 400;
margin-top: 6px;
}
.hud p {
margin-top: 8px;
font-size: clamp(11px, 1.35vw, 14px);
color: var(--soluk);
max-width: 620px;
}
.hud em { color: var(--altin); font-style: normal; }
/* ---------- KONTROL PANELİ ---------- */
.panel {
position: fixed;
left: clamp(12px, 2.4vw, 28px);
bottom: clamp(12px, 2.4vw, 28px);
z-index: 6;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 14px;
padding: 12px 16px;
max-width: min(94vw, 720px);
background: var(--cam);
border: 1px solid var(--cam-kenar);
border-radius: 14px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.grup { display: flex; align-items: center; gap: 8px; }
.etiket {
font-size: 11px;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--soluk);
}
.olcek-btn {
min-height: 44px;
padding: 0 16px;
border-radius: 10px;
border: 1px solid var(--cam-kenar);
background: rgba(111, 195, 255, 0.06);
color: var(--metin);
font-size: 13px;
font-family: inherit;
cursor: pointer;
transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.olcek-btn:hover { background: rgba(111, 195, 255, 0.16); }
.olcek-btn.aktif {
background: rgba(111, 195, 255, 0.24);
border-color: var(--vurgu);
color: #fff;
box-shadow: 0 0 18px rgba(111, 195, 255, 0.28);
}
.onay {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 44px;
padding: 0 4px;
font-size: 12.5px;
color: var(--soluk);
cursor: pointer;
user-select: none;
}
.onay input {
width: 18px;
height: 18px;
accent-color: var(--vurgu);
cursor: pointer;
}
/* ---------- BİLGİ KARTI ---------- */
.kart {
position: fixed;
right: clamp(12px, 2.4vw, 28px);
top: clamp(78px, 12vh, 130px);
z-index: 7;
width: min(88vw, 292px);
padding: 16px 18px;
background: var(--cam);
border: 1px solid var(--cam-kenar);
border-radius: 14px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
pointer-events: none;
}
.kart-bos {
font-size: 12.5px;
color: var(--soluk);
line-height: 1.5;
}
.kart-ust {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
}
.nokta {
width: 14px;
height: 14px;
border-radius: 50%;
flex: 0 0 auto;
background: var(--vurgu);
box-shadow: 0 0 14px currentColor;
}
.kart-ust h2 {
font-size: 18px;
font-weight: 600;
letter-spacing: 0.04em;
}
.kart dl {
display: grid;
grid-template-columns: 1fr auto;
gap: 7px 12px;
margin: 0;
}
.kart dt { font-size: 11.5px; color: var(--soluk); }
.kart dd {
font-size: 12.5px;
color: var(--metin);
text-align: right;
font-variant-numeric: tabular-nums;
}
/* ---------- ÖLÇEK NOTU ---------- */
.olcek-not {
position: fixed;
right: clamp(12px, 2.4vw, 28px);
bottom: clamp(12px, 2.4vw, 28px);
z-index: 6;
max-width: min(88vw, 320px);
padding: 10px 14px;
font-size: 11.5px;
line-height: 1.5;
color: var(--soluk);
background: var(--cam);
border: 1px solid var(--cam-kenar);
border-radius: 12px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
/* ---------- KÜÇÜK EKRAN ---------- */
@media (max-width: 720px) {
.hud p { display: none; }
.kart {
top: auto;
bottom: 132px;
right: 12px;
width: min(92vw, 260px);
padding: 12px 14px;
}
.kart-ust h2 { font-size: 15px; }
.panel { padding: 10px 12px; gap: 8px 10px; }
.olcek-btn { padding: 0 12px; font-size: 12px; }
.onay { font-size: 11.5px; }
.olcek-not {
right: auto;
left: 12px;
bottom: auto;
top: 74px;
max-width: 84vw;
font-size: 10.5px;
padding: 8px 11px;
}
}
@media (max-height: 560px) {
.olcek-not { display: none; }
}