Turfwar/html/apperance.css
2026-02-12 11:58:03 +00:00

113 lines
1.9 KiB
CSS

html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: transparent;
overflow: hidden;
font-family: Arial, Helvetica, sans-serif;
}
/* block game clicks by default */
body { pointer-events: none; }
#wrap, #wrap * { pointer-events: auto; }
.hidden { display: none !important; }
#wrap {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
}
#wrap::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.15), rgba(0,0,0,0.60));
}
.panel {
position: relative;
z-index: 2;
width: 420px;
border-radius: 14px;
background: rgba(18,18,22,0.90);
box-shadow: 0 12px 40px rgba(0,0,0,0.45);
padding: 18px;
color: #fff;
}
.title {
font-size: 22px;
font-weight: 700;
margin-bottom: 14px;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
border-top: 1px solid rgba(255,255,255,0.08);
}
.label {
font-size: 14px;
opacity: 0.9;
}
.controls {
display: flex;
gap: 8px;
align-items: center;
}
.value {
min-width: 48px;
text-align: center;
font-weight: 700;
opacity: 0.95;
}
button {
border: 0;
padding: 8px 10px;
border-radius: 10px;
background: rgba(255,255,255,0.12);
color: #fff;
cursor: pointer;
}
button:hover {
background: rgba(255,255,255,0.18);
}
button.primary {
background: rgba(80,160,255,0.85);
}
button.primary:hover {
background: rgba(80,160,255,1);
}
button.active {
outline: 2px solid rgba(80,160,255,0.9);
}
.footer {
display: flex;
justify-content: flex-end;
padding-top: 12px;
border-top: 1px solid rgba(255,255,255,0.08);
margin-top: 12px;
}
.hint {
margin-top: 10px;
font-size: 12px;
opacity: 0.65;
}