mobile support

This commit is contained in:
2026-06-16 09:45:49 -04:00
parent 9c7d1e2c6a
commit 12a102a3ca
9 changed files with 125 additions and 24 deletions
+15 -4
View File
@@ -198,11 +198,22 @@
.s-btn:hover { color: #ccc; border-color: #555; background: rgba(255,255,255,0.03); }
@media (max-width: 800px) {
.layout { flex-direction: column; padding: 1rem; padding-top: 3rem; }
.settings { width: 100%; max-height: 200px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.6rem; padding: 0.8rem; }
.settings .settings-title { width: 100%; }
.settings .s-group { flex: 1; min-width: 100px; }
.layout { flex-direction: column; padding: 0.75rem; padding-top: 3rem; gap: 0.75rem; }
.settings { width: 100%; max-height: 170px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.4rem; padding: 0.6rem; }
.settings .settings-title { width: 100%; font-size: 0.55rem; }
.settings .s-group { flex: 1; min-width: 80px; }
.settings .s-group label { font-size: 0.5rem; }
.settings .palette-row { width: 100%; }
.palette-swatch { width: 24px; height: 16px; }
.subtitle { font-size: 0.5rem; }
.s-btn { font-size: 0.5rem; padding: 0.35rem 0; }
}
@media (max-width: 480px) {
.layout { padding: 0.5rem; padding-top: 2.6rem; gap: 0.5rem; }
.settings { max-height: 130px; padding: 0.4rem; gap: 0.3rem; }
.settings .s-group { min-width: 60px; }
.s-group input[type="range"]::-webkit-slider-thumb { width: 16px; height: 16px; }
.s-group input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; }
}
</style>
</head>