Add mobile responsiveness to ToolsnToys hub pages; fix table overflow in guides

Add 680px breakpoint to toolsntoys, foss-tools, guides, jl-early-tools:
header stacks, stats bar collapses to 2-col, sidebar/content grid stacks.
Fix table overflow in 3 guide pages: move overflow-x:hidden from body to
.guide-wrap so .guide-table-wrap scroll containers work on mobile Safari.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 18:21:33 +02:00
parent 73f653ff23
commit 334929292e
7 changed files with 39 additions and 8 deletions

View File

@@ -32,9 +32,7 @@
background: var(--bg-deep); background: var(--bg-deep);
color: var(--text-main); color: var(--text-main);
font-family: 'Rambla', sans-serif; font-family: 'Rambla', sans-serif;
min-height: 100vh; min-height: 100vh;}
overflow-x: hidden;
}
body::before { body::before {
content: ''; content: '';
@@ -90,7 +88,7 @@
#embers { position: fixed; inset: 0; pointer-events: none; z-index: 3; } #embers { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.guide-wrap { .guide-wrap { overflow-x: hidden;
position: relative; position: relative;
z-index: 1; z-index: 1;
display: grid; display: grid;

View File

@@ -152,6 +152,15 @@
::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); } ::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--text-muted); } ::-webkit-scrollbar-thumb { background: var(--text-muted); }
@media (max-width: 680px) {
.header { flex-direction: column; gap: 0.75rem; }
.header-right { align-items: flex-start; text-align: left; }
.stats-bar { grid-template-columns: repeat(2, 1fr); }
.main-grid { grid-template-columns: 1fr; }
.category-list { flex-direction: row; flex-wrap: wrap; }
.cat-item { flex: 1 1 auto; }
}
</style> </style>
</head> </head>
<body> <body>

View File

@@ -502,6 +502,15 @@
::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); } ::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--text-muted); } ::-webkit-scrollbar-thumb { background: var(--text-muted); }
@media (max-width: 680px) {
.header { flex-direction: column; gap: 0.75rem; }
.header-right { align-items: flex-start; text-align: left; }
.stats-bar { grid-template-columns: repeat(2, 1fr); }
.main-grid { grid-template-columns: 1fr; }
.category-list { flex-direction: row; flex-wrap: wrap; }
.cat-item { flex: 1 1 auto; }
}
</style> </style>
</head> </head>
<body> <body>

View File

@@ -298,6 +298,12 @@
width: 600px; height: 400px; background: radial-gradient(ellipse at center bottom, rgba(232,148,58,0.1) 0%, transparent 70%); width: 600px; height: 400px; background: radial-gradient(ellipse at center bottom, rgba(232,148,58,0.1) 0%, transparent 70%);
pointer-events: none; z-index: 0; pointer-events: none; z-index: 0;
} }
@media (max-width: 680px) {
.header { flex-direction: column; gap: 0.75rem; }
.header-right { align-items: flex-start; text-align: left; }
.main-grid { grid-template-columns: 1fr; }
}
</style> </style>
</head> </head>
<body> <body>

View File

@@ -26,7 +26,7 @@
--border-amber: rgba(232,148,58,0.35); --border-amber: rgba(232,148,58,0.35);
} }
* { margin: 0; padding: 0; box-sizing: border-box; } * { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg-deep); color: var(--text-main); font-family: 'Rambla', sans-serif; min-height: 100vh; overflow-x: hidden; } body { background: var(--bg-deep); color: var(--text-main); font-family: 'Rambla', sans-serif; min-height: 100vh;}
body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 90%, rgba(232,148,58,0.06) 0%, transparent 70%), radial-gradient(ellipse 80% 50% at 10% 0%, rgba(3,8,18,0.95) 0%, transparent 60%), radial-gradient(ellipse 80% 50% at 90% 0%, rgba(3,8,18,0.95) 0%, transparent 60%); pointer-events: none; z-index: 0; } body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 90%, rgba(232,148,58,0.06) 0%, transparent 70%), radial-gradient(ellipse 80% 50% at 10% 0%, rgba(3,8,18,0.95) 0%, transparent 60%), radial-gradient(ellipse 80% 50% at 90% 0%, rgba(3,8,18,0.95) 0%, transparent 60%); pointer-events: none; z-index: 0; }
body::after { content: ''; position: fixed; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.10) 3px, rgba(0,0,0,0.10) 4px); pointer-events: none; z-index: 1000; animation: scanline 12s linear infinite; } body::after { content: ''; position: fixed; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.10) 3px, rgba(0,0,0,0.10) 4px); pointer-events: none; z-index: 1000; animation: scanline 12s linear infinite; }
@keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 400px; } } @keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 400px; } }
@@ -34,7 +34,7 @@
.campfire-glow { position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse at center bottom, rgba(255,107,26,0.14) 0%, rgba(255,59,10,0.04) 40%, transparent 70%); pointer-events: none; animation: campfireFlicker 3s ease-in-out infinite; z-index: 0; } .campfire-glow { position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse at center bottom, rgba(255,107,26,0.14) 0%, rgba(255,59,10,0.04) 40%, transparent 70%); pointer-events: none; animation: campfireFlicker 3s ease-in-out infinite; z-index: 0; }
@keyframes campfireFlicker { 0%,100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); } 33% { opacity: 1; transform: translateX(-50%) scaleY(1.08); } 66% { opacity: 0.7; transform: translateX(-52%) scaleY(0.96); } } @keyframes campfireFlicker { 0%,100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); } 33% { opacity: 1; transform: translateX(-50%) scaleY(1.08); } 66% { opacity: 0.7; transform: translateX(-52%) scaleY(0.96); } }
#embers { position: fixed; inset: 0; pointer-events: none; z-index: 3; } #embers { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.guide-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; max-width: 1100px; margin: 0 auto; } .guide-wrap { overflow-x: hidden; position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; max-width: 1100px; margin: 0 auto; }
.guide-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1.5rem 0.75rem 1.5rem 1rem; border-right: 1px solid var(--border-green); display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; scrollbar-color: var(--neon-dim) transparent; } .guide-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1.5rem 0.75rem 1.5rem 1rem; border-right: 1px solid var(--border-green); display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; scrollbar-color: var(--neon-dim) transparent; }
.sidebar-back { font-family: 'Share Tech Mono', monospace; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.15s; } .sidebar-back { font-family: 'Share Tech Mono', monospace; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.15s; }
.sidebar-back:hover { color: var(--neon-green); } .sidebar-back:hover { color: var(--neon-green); }

View File

@@ -26,7 +26,7 @@
--border-amber: rgba(232,148,58,0.35); --border-amber: rgba(232,148,58,0.35);
} }
* { margin: 0; padding: 0; box-sizing: border-box; } * { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg-deep); color: var(--text-main); font-family: 'Rambla', sans-serif; min-height: 100vh; overflow-x: hidden; } body { background: var(--bg-deep); color: var(--text-main); font-family: 'Rambla', sans-serif; min-height: 100vh;}
body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 90%, rgba(232,148,58,0.06) 0%, transparent 70%), radial-gradient(ellipse 80% 50% at 10% 0%, rgba(3,8,18,0.95) 0%, transparent 60%), radial-gradient(ellipse 80% 50% at 90% 0%, rgba(3,8,18,0.95) 0%, transparent 60%); pointer-events: none; z-index: 0; } body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 90%, rgba(232,148,58,0.06) 0%, transparent 70%), radial-gradient(ellipse 80% 50% at 10% 0%, rgba(3,8,18,0.95) 0%, transparent 60%), radial-gradient(ellipse 80% 50% at 90% 0%, rgba(3,8,18,0.95) 0%, transparent 60%); pointer-events: none; z-index: 0; }
body::after { content: ''; position: fixed; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.10) 3px, rgba(0,0,0,0.10) 4px); pointer-events: none; z-index: 1000; animation: scanline 12s linear infinite; } body::after { content: ''; position: fixed; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.10) 3px, rgba(0,0,0,0.10) 4px); pointer-events: none; z-index: 1000; animation: scanline 12s linear infinite; }
@keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 400px; } } @keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 400px; } }
@@ -34,7 +34,7 @@
.campfire-glow { position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse at center bottom, rgba(255,107,26,0.14) 0%, rgba(255,59,10,0.04) 40%, transparent 70%); pointer-events: none; animation: campfireFlicker 3s ease-in-out infinite; z-index: 0; } .campfire-glow { position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse at center bottom, rgba(255,107,26,0.14) 0%, rgba(255,59,10,0.04) 40%, transparent 70%); pointer-events: none; animation: campfireFlicker 3s ease-in-out infinite; z-index: 0; }
@keyframes campfireFlicker { 0%,100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); } 33% { opacity: 1; transform: translateX(-50%) scaleY(1.08); } 66% { opacity: 0.7; transform: translateX(-52%) scaleY(0.96); } } @keyframes campfireFlicker { 0%,100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); } 33% { opacity: 1; transform: translateX(-50%) scaleY(1.08); } 66% { opacity: 0.7; transform: translateX(-52%) scaleY(0.96); } }
#embers { position: fixed; inset: 0; pointer-events: none; z-index: 3; } #embers { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.guide-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; max-width: 1100px; margin: 0 auto; } .guide-wrap { overflow-x: hidden; position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; max-width: 1100px; margin: 0 auto; }
.guide-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1.5rem 0.75rem 1.5rem 1rem; border-right: 1px solid var(--border-green); display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; scrollbar-color: var(--neon-dim) transparent; } .guide-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1.5rem 0.75rem 1.5rem 1rem; border-right: 1px solid var(--border-green); display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; scrollbar-color: var(--neon-dim) transparent; }
.sidebar-back { font-family: 'Share Tech Mono', monospace; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.15s; } .sidebar-back { font-family: 'Share Tech Mono', monospace; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.15s; }
.sidebar-back:hover { color: var(--neon-green); } .sidebar-back:hover { color: var(--neon-green); }

View File

@@ -518,6 +518,15 @@
::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); } ::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--text-muted); } ::-webkit-scrollbar-thumb { background: var(--text-muted); }
@media (max-width: 680px) {
.header { flex-direction: column; gap: 0.75rem; }
.header-right { align-items: flex-start; text-align: left; }
.stats-bar { grid-template-columns: repeat(2, 1fr); }
.main-grid { grid-template-columns: 1fr; }
.category-list { flex-direction: row; flex-wrap: wrap; }
.cat-item { flex: 1 1 auto; }
}
</style> </style>
</head> </head>
<body> <body>