Theme refresh with beige background artwork

This commit is contained in:
2026-02-02 14:53:14 +01:00
parent cdfa20809d
commit dfc48cbe4a
2 changed files with 85 additions and 174 deletions

View File

@@ -1,7 +1,7 @@
:root {
font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
background: radial-gradient(circle at 20% 20%, #0f172a, #050816);
color: #e5e7eb;
background: #f6e9d6;
color: #2c1c0d;
}
.page {
@@ -11,31 +11,25 @@
flex-direction: column;
align-items: center;
gap: 16px;
min-height: 100vh;
background: url("background.png") center/cover no-repeat fixed, #f6e9d6;
}
.lang-field {
margin-top: 8px;
}
.lang-field { margin-top: 8px; }
.lang-field select { min-width: 160px; }
.lang-inline {
display: flex;
align-items: center;
gap: 6px;
}
.lang-inline .label { font-size: 12px; }
.compact-select {
min-width: 120px;
}
.lang-inline { display: flex; align-items: center; gap: 6px; margin-left: 15px; }
.lang-inline .label { font-size: 12px; color: #6c5a42; }
.compact-select { min-width: 120px; }
.status-bar {
display: flex;
width: 100%;
justify-content: space-between;
gap: 12px;
background: rgba(15, 23, 42, 0.8);
border: 1px solid #1f2937;
border-radius: 10px;
box-shadow: 0 10px 24px rgba(0,0,0,0.25);
background: rgba(255, 255, 255, 0.9);
border: 1px solid #e3d4bd;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
padding: 10px 14px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 10px; }
@@ -45,12 +39,12 @@
width: 10px;
height: 10px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 10px #22c55e;
background: #2ca25f;
box-shadow: 0 0 10px #2ca25f;
}
.counts {
color: #9ca3af;
color: #5f513b;
font-size: 13px;
margin-left: 12px;
}
@@ -65,43 +59,26 @@
}
.card {
background: rgba(17, 24, 39, 0.9);
border: 1px solid #1f2937;
border-radius: 12px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #e3d4bd;
border-radius: 14px;
padding: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.card h2 {
margin-top: 0;
margin-bottom: 8px;
}
.card h2 { margin-top: 0; margin-bottom: 8px; }
.split {
display: flex;
justify-content: space-between;
gap: 16px;
align-items: flex-start;
flex-wrap: wrap;
}
.split { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.stack {
display: flex;
flex-direction: column;
gap: 8px;
}
.stack.horizontal {
flex-direction: row;
flex-wrap: wrap;
}
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack.horizontal { flex-direction: row; flex-wrap: wrap; }
input, textarea, select, button {
font: inherit;
border-radius: 8px;
border: 1px solid #374151;
background: #0f172a;
color: #e5e7eb;
border: 1px solid #d5c7b5;
background: #fffaf3;
color: #2c1c0d;
padding: 10px 12px;
min-width: 0;
}
@@ -110,38 +87,27 @@ textarea { min-height: 80px; resize: vertical; }
button {
cursor: pointer;
background: #2563eb;
border-color: #1d4ed8;
font-weight: 600;
background: linear-gradient(135deg, #f2a33c, #e67f2d);
border-color: #dd7a26;
font-weight: 700;
color: #2c1c0d;
}
button:hover { background: linear-gradient(135deg, #f6b24f, #eb8c35); }
button:hover { background: #1d4ed8; }
button.danger { background: #e0564f; border-color: #c54740; color: #fffaf3; }
button.danger {
background: #dc2626;
border-color: #b91c1c;
}
button.ghost { background: transparent; border-color: #d5c7b5; color: #2c1c0d; }
button.ghost {
background: transparent;
border-color: #374151;
}
.label { color: #9ca3af; font-size: 14px; }
.hint { color: #9ca3af; font-size: 12px; margin: 8px 0 12px 0; }
.hint.warning { color: #f59e0b; }
.label { color: #6c5a42; font-size: 14px; }
.hint { color: #8c7a63; font-size: 12px; margin: 8px 0 12px 0; }
.hint.warning { color: #c26c1a; }
.disabled-form { opacity: 0.5; pointer-events: none; }
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 12px;
margin-top: 12px;
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.game-card {
background: #0b1224;
border: 1px solid #1f2937;
background: #fffaf3;
border: 1px solid #e5d6c2;
border-radius: 12px;
overflow: hidden;
display: flex;
@@ -149,13 +115,11 @@ button.ghost {
min-height: 220px;
}
.subcard {
margin-top: 16px;
}
.subcard { margin-top: 16px; }
.card-visual {
height: 200px;
background: linear-gradient(135deg, #1d4ed8, #22c55e);
background: linear-gradient(135deg, #f0d9b5, #f6b24f);
background-size: cover;
background-position: center;
cursor: pointer;
@@ -165,44 +129,23 @@ button.ghost {
padding: 0;
}
.card-body {
padding: 12px;
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
}
.card-title-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-title-row h3 { margin: 0; font-size: 18px; }
.title-meta { display: flex; align-items: center; gap: 8px; }
.muted { color: #9ca3af; margin: 0; }
.link { color: #93c5fd; text-decoration: none; font-weight: 600; }
.muted { color: #7a6a53; margin: 0; }
.link { color: #c26200; text-decoration: none; font-weight: 700; }
.link:hover { text-decoration: underline; }
.link.compact { font-size: 14px; }
.chip {
background: #1f2937;
color: #e5e7eb;
padding: 4px 8px;
border-radius: 999px;
font-size: 12px;
}
.chip.danger-chip {
background: #dc2626;
border: 1px solid #b91c1c;
}
.chip { background: #f1dfc5; color: #2c1c0d; padding: 4px 8px; border-radius: 999px; font-size: 12px; }
.chip.danger-chip { background: #e0564f; border: 1px solid #c54740; color: #fffaf3; }
.vote-controls { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 6px; }
.score { font-weight: 700; min-width: 36px; text-align: center; }
.score-emoji { font-size: 24px; text-align: center; }
.results-grid .game-card { border-color: #2563eb44; }
.results-grid .game-card { border-color: #f0c56b; }
/* Slider */
input[type="range"].full-slider {
@@ -210,9 +153,9 @@ input[type="range"].full-slider {
width: 100%;
height: 20px;
border-radius: 999px;
background: linear-gradient(90deg, #d81d4e, #d8c552, #22c55e);
background: linear-gradient(90deg, #f28b3c, #f2c94c, #2ca25f);
outline: none;
box-shadow: inset 0 0 0 1px #1f2937, 0 4px 12px rgba(0,0,0,0.25);
box-shadow: inset 0 0 0 1px #e3d4bd, 0 4px 12px rgba(0,0,0,0.18);
}
input[type="range"].full-slider::-webkit-slider-thumb {
-webkit-appearance: none;
@@ -220,23 +163,23 @@ input[type="range"].full-slider::-webkit-slider-thumb {
width: 28px;
height: 28px;
border-radius: 50%;
background: #e5e7eb;
border: 2px solid #0f172a;
box-shadow: 0 4px 10px rgba(0,0,0,0.35);
background: #fffaf3;
border: 2px solid #d5c7b5;
box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
input[type="range"].full-slider::-moz-range-thumb {
width: 28px;
height: 28px;
border-radius: 50%;
background: #e5e7eb;
border: 2px solid #0f172a;
box-shadow: 0 4px 10px rgba(0,0,0,0.35);
background: #fffaf3;
border: 2px solid #d5c7b5;
box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
input[type="range"].full-slider::-moz-range-track {
height: 14px;
border-radius: 999px;
background: linear-gradient(90deg, #1d4ed8, #22c55e);
border: 1px solid #1f2937;
background: linear-gradient(90deg, #f28b3c, #f2c94c, #2ca25f);
border: 1px solid #e3d4bd;
}
.score { font-weight: 700; min-width: 36px; font-size: 24px; text-align: center; }
@@ -247,14 +190,14 @@ input[type="range"].full-slider::-moz-range-track {
position: fixed;
bottom: 16px;
right: 16px;
background: #2563eb;
color: white;
background: #f2a33c;
color: #2c1c0d;
padding: 10px 14px;
border-radius: 8px;
box-shadow: 0 10px 24px rgba(0,0,0,0.35);
box-shadow: 0 10px 24px rgba(0,0,0,0.2);
max-width: 320px;
}
.toast.error { background: #dc2626; }
.toast.error { background: #e0564f; color: #fffaf3; }
.auth-card .active { font-weight: 700; }
.auth-form { margin-top: 8px; }
@@ -266,11 +209,11 @@ input[type="range"].full-slider::-moz-range-track {
width: 44px;
height: 44px;
border-radius: 50%;
border: 1px solid #1f2937;
background: #0f172a;
color: #9ca3af;
border: 1px solid #e3d4bd;
background: rgba(255,255,255,0.9);
color: #6c5a42;
font-weight: 700;
box-shadow: 0 8px 20px rgba(0,0,0,0.35);
box-shadow: 0 8px 20px rgba(0,0,0,0.18);
z-index: 30;
}
@@ -288,7 +231,7 @@ input[type="range"].full-slider::-moz-range-track {
.lightbox {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.75);
background: rgba(0,0,0,0.7);
display: flex;
align-items: center;
justify-content: center;
@@ -298,10 +241,10 @@ input[type="range"].full-slider::-moz-range-track {
position: relative;
max-width: 90vw;
max-height: 90vh;
background: #0f172a;
background: #fffaf3;
padding: 12px;
border-radius: 12px;
box-shadow: 0 20px 50px rgba(0,0,0,0.6);
box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.lightbox-content img {
max-width: 100%;
@@ -313,9 +256,9 @@ input[type="range"].full-slider::-moz-range-track {
position: absolute;
top: 8px;
right: 8px;
background: #111827;
color: #e5e7eb;
border: 1px solid #1f2937;
background: #f2a33c;
color: #2c1c0d;
border: 1px solid #dd7a26;
border-radius: 999px;
width: 32px;
height: 32px;
@@ -327,15 +270,15 @@ input[type="range"].full-slider::-moz-range-track {
.edit-modal {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
background: rgba(0,0,0,0.55);
display: flex;
align-items: center;
justify-content: center;
z-index: 110;
}
.edit-modal .edit-panel {
background: #0b1224;
border: 1px solid #1f2937;
background: #fffaf3;
border: 1px solid #e3d4bd;
border-radius: 12px;
width: min(960px, 94vw);
max-height: 92vh;
@@ -343,51 +286,19 @@ input[type="range"].full-slider::-moz-range-track {
display: flex;
flex-direction: column;
gap: 12px;
box-shadow: 0 20px 48px rgba(0,0,0,0.45);
}
.edit-modal .edit-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.edit-modal .edit-body {
overflow: auto;
max-height: 70vh;
box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}
.edit-modal .edit-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edit-modal .edit-body { overflow: auto; max-height: 70vh; }
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.panel-header { display: flex; justify-content: space-between; align-items: center; }
.results-table {
width: 100%;
border-collapse: collapse;
}
.results-table th, .results-table td {
padding: 10px;
border-bottom: 1px solid #1f2937;
}
.results-table th { text-align: left; color: #9ca3af; font-size: 12px; letter-spacing: 0.3px; }
.results-table { width: 100%; border-collapse: collapse; }
.results-table th, .results-table td { padding: 10px; border-bottom: 1px solid #e3d4bd; }
.results-table th { text-align: left; color: #7a6a53; font-size: 12px; letter-spacing: 0.3px; }
.results-table .game-cell { display: flex; gap: 10px; align-items: center; }
.results-table .thumb {
width: 72px;
height: 48px;
object-fit: cover;
border-radius: 6px;
border: 1px solid #1f2937;
cursor: pointer;
}
.results-table .thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid #e3d4bd; cursor: pointer; }
.results-table .game-meta { display: flex; flex-direction: column; gap: 2px; }
.results-table .title-line { font-weight: 700; }
.results-table .muted.small { font-size: 12px; color: #9ca3af; }
.thumb-open {
background: #111827;
border: 1px solid #1f2937;
color: #e5e7eb;
border-radius: 6px;
padding: 4px 8px;
cursor: pointer;
}
.results-table .muted.small { font-size: 12px; color: #7a6a53; }
.thumb-open { background: #fffaf3; border: 1px solid #e3d4bd; color: #2c1c0d; border-radius: 6px; padding: 4px 8px; cursor: pointer; }