This commit is contained in:
1 parent
a6db306847
commit
7e4fa74cd6
13 files changed
+363
-63
No files matched your search
+60
-2
@@ -17,6 +17,33 @@
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html { color-scheme: dark; }
|
||||
button, a, summary, input, select { touch-action: manipulation; }
|
||||
|
||||
.visually-hidden {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
.skip-link {
|
||||
position: fixed;
|
||||
top: -60px;
|
||||
left: 12px;
|
||||
z-index: 200;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
background: var(--accent);
|
||||
color: #0a0d13;
|
||||
font-weight: 650;
|
||||
text-decoration: none;
|
||||
transition: top .15s;
|
||||
}
|
||||
.skip-link:focus { top: 12px; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
@@ -159,6 +186,7 @@ main { padding: 24px 28px 70px; }
|
||||
transform: translateX(calc(-100% - 30px));
|
||||
transition: transform .22s ease, opacity .22s ease;
|
||||
will-change: transform;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.layout.filters-unpinned .filters.open {
|
||||
opacity: 1;
|
||||
@@ -478,8 +506,9 @@ html[data-theme="light"] .select-box {
|
||||
.grid.list-view .select-box { right: 6px; bottom: 6px; width: 24px; height: 24px; }
|
||||
|
||||
.grid.table-view { display: block; }
|
||||
.game-table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
||||
.game-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
|
||||
.game-table th {
|
||||
position: relative;
|
||||
text-align: left;
|
||||
padding: 8px 10px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
@@ -508,6 +537,23 @@ html[data-theme="light"] .select-box {
|
||||
.game-table .t-fav { color: var(--accent); width: 26px; text-align: center; }
|
||||
.game-table .t-year, .game-table .t-duration { white-space: nowrap; }
|
||||
.game-table td:nth-child(5) { white-space: nowrap; }
|
||||
.game-table td:nth-child(3),
|
||||
.game-table td:nth-child(4),
|
||||
.game-table td:nth-child(5),
|
||||
.game-table td:nth-child(6) { font-variant-numeric: tabular-nums; }
|
||||
.game-table th[data-sort] { cursor: pointer; user-select: none; }
|
||||
.game-table th[data-sort]:hover { color: var(--text); }
|
||||
.th-label { white-space: nowrap; }
|
||||
.col-resizer {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -3px;
|
||||
z-index: 2;
|
||||
width: 6px;
|
||||
height: 100%;
|
||||
cursor: col-resize;
|
||||
}
|
||||
.col-resizer:hover { background: var(--accent); opacity: .35; }
|
||||
.cover-inline {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
@@ -700,6 +746,7 @@ html[data-theme="light"] .game-table tbody tr:hover { background: rgba(23, 32, 5
|
||||
.options { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
|
||||
.range { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
|
||||
.range input { accent-color: var(--accent); }
|
||||
.range select { width: auto; min-width: 120px; padding: 6px 8px; }
|
||||
.range b { color: var(--text); font-weight: 600; min-width: 34px; }
|
||||
|
||||
.primary {
|
||||
@@ -749,6 +796,7 @@ html[data-theme="light"] .game-table tbody tr:hover { background: rgba(23, 32, 5
|
||||
color: var(--text);
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.modal::backdrop { background: rgba(4, 6, 10, .72); backdrop-filter: blur(6px); }
|
||||
|
||||
@@ -1004,6 +1052,15 @@ html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #c9c0ad; }
|
||||
::-webkit-scrollbar-thumb { background: #26304a; border-radius: 99px; border: 2px solid var(--bg); }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: .01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: .01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.layout { grid-template-columns: minmax(0, 1fr); }
|
||||
.filters-backdrop { inset: 0; }
|
||||
@@ -1029,7 +1086,8 @@ html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #c9c0ad; }
|
||||
.toolbar input { flex: 1 1 150px; }
|
||||
.toolbar select { flex: 1 1 140px; min-width: 140px; }
|
||||
.stat { padding: 4px 9px; font-size: 12px; }
|
||||
.game-table { font-size: 12px; }
|
||||
.game-table { table-layout: auto; font-size: 12px; }
|
||||
.game-table col { width: auto !important; }
|
||||
.game-table th, .game-table td { padding: 6px 7px; }
|
||||
.game-table .t-year,
|
||||
.game-table .t-genres,
|
||||
|
||||
Reference in new issue
Block a user