Docker server has responsiveness now

This commit is contained in:
2025-12-17 13:00:15 -05:00
parent 1a01d29f19
commit c11a1eed35
14 changed files with 2465 additions and 747 deletions

View File

@@ -1,28 +1,61 @@
.back-btn {
position: fixed;
top: 2rem; left: 2rem; z-index: 100;
display: flex; align-items: center; gap: 0.5rem;
top: 2rem;
left: 2rem;
z-index: 100;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.8rem 1.5rem;
background: var(--color-glass-bg); backdrop-filter: blur(12px);
border: var(--border-subtle); border-radius: var(--radius-full);
color: white; text-decoration: none; font-weight: 600;
background: var(--color-glass-bg);
backdrop-filter: blur(12px);
border: var(--border-subtle);
border-radius: var(--radius-full);
color: white;
text-decoration: none;
font-weight: 600;
transition: all 0.2s ease;
}
.back-btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateX(-5px); }
.back-btn:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateX(-5px);
}
.hero-wrapper {
position: relative; width: 100%; height: 60vh; overflow: hidden;
position: relative;
width: 100%;
height: 60vh;
overflow: hidden;
}
.hero-background {
position: absolute;
inset: 0;
z-index: 0;
}
.hero-background img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.4;
filter: blur(8px);
transform: scale(1.1);
}
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; filter: blur(8px); transform: scale(1.1); }
.hero-overlay {
position: absolute; inset: 0; z-index: 1;
background: linear-gradient(to bottom, transparent 0%, var(--color-bg-base) 100%);
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(
to bottom,
transparent 0%,
var(--color-bg-base) 100%
);
}
.content-container {
position: relative; z-index: 10;
max-width: 1600px; margin: -350px auto 0 auto;
position: relative;
z-index: 10;
max-width: 1600px;
margin: -350px auto 0 auto;
padding: 0 3rem 4rem 3rem;
display: grid;
grid-template-columns: 260px 1fr;
@@ -31,7 +64,9 @@
animation: slideUp 0.8s ease;
}
.hero-content { display: none; }
.hero-content {
display: none;
}
.sidebar {
display: flex;
@@ -44,49 +79,111 @@
}
.poster-card {
width: 100%; aspect-ratio: 2/3; border-radius: var(--radius-lg);
overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
border: 1px solid rgba(255,255,255,0.1);
width: 100%;
aspect-ratio: 2/3;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
border: 1px solid rgba(255, 255, 255, 0.1);
background: #1a1a1a;
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; }
.poster-card img {
width: 100%;
height: 100%;
object-fit: cover;
}
.info-grid {
background: var(--color-bg-elevated); border: var(--border-subtle);
border-radius: var(--radius-md); padding: 1.25rem;
display: flex; flex-direction: column; gap: 1rem;
background: var(--color-bg-elevated);
border: var(--border-subtle);
border-radius: var(--radius-md);
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.info-item h4 {
margin: 0 0 0.25rem 0;
font-size: 0.8rem;
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.info-item span {
font-weight: 600;
font-size: 0.95rem;
}
.info-item h4 { margin: 0 0 0.25rem 0; font-size: 0.8rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.info-item span { font-weight: 600; font-size: 0.95rem; }
.main-content {
display: flex; flex-direction: column;
display: flex;
flex-direction: column;
padding-top: 4rem;
justify-content: flex-start;
}
.book-header { margin-bottom: 1.5rem; }
.book-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin: 0 0 1rem 0; text-shadow: 0 4px 30px rgba(0,0,0,0.8); }
.meta-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pill { padding: 0.4rem 1rem; background: rgba(255,255,255,0.1); border-radius: 99px; font-size: 0.9rem; font-weight: 600; border: var(--border-subtle); backdrop-filter: blur(10px); }
.pill.score { background: rgba(34, 197, 94, 0.2); color: #4ade80; border-color: rgba(34, 197, 94, 0.2); }
#description { display: none; }
#year { display: none; }
.action-row { display: flex; gap: 1rem; }
.btn-primary {
padding: 0.8rem 2rem; background: white; color: black; border: none; border-radius: 99px;
font-weight: 800; cursor: pointer; transition: transform 0.2s;
.book-header {
margin-bottom: 1.5rem;
}
.book-title {
font-size: 3.5rem;
font-weight: 900;
line-height: 1.1;
margin: 0 0 1rem 0;
text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.meta-row {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.pill {
padding: 0.4rem 1rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 99px;
font-size: 0.9rem;
font-weight: 600;
border: var(--border-subtle);
backdrop-filter: blur(10px);
}
.pill.score {
background: rgba(34, 197, 94, 0.2);
color: #4ade80;
border-color: rgba(34, 197, 94, 0.2);
}
#description {
display: none;
}
#year {
display: none;
}
.action-row {
display: flex;
gap: 1rem;
}
.btn-primary {
padding: 0.8rem 2rem;
background: white;
color: black;
border: none;
border-radius: 99px;
font-weight: 800;
cursor: pointer;
transition: transform 0.2s;
}
.btn-primary:hover {
transform: scale(1.05);
}
.btn-primary:hover { transform: scale(1.05); }
.btn-secondary {
padding: 0.8rem 2rem;
background: rgba(255,255,255,0.1);
background: rgba(255, 255, 255, 0.1);
color: white;
border: 1px solid rgba(255,255,255,0.2);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 99px;
font-weight: 700;
cursor: pointer;
@@ -94,49 +191,80 @@
backdrop-filter: blur(10px);
}
.btn-secondary:hover {
background: rgba(255,255,255,0.2);
background: rgba(255, 255, 255, 0.2);
}
.btn-blur {
padding: 0.8rem 2rem;
background: rgba(255,255,255,0.1);
background: rgba(255, 255, 255, 0.1);
color: white;
border: 1px solid rgba(255,255,255,0.2);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 99px;
font-weight: 700;
cursor: pointer;
transition: 0.2s;
backdrop-filter: blur(10px);
}
.btn-blur:hover { background: rgba(255,255,255,0.2); }
.btn-blur:hover {
background: rgba(255, 255, 255, 0.2);
}
.chapters-section { margin-top: 1rem; }
.section-title { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.8rem; margin-bottom: 1.5rem; }
.section-title h2 { font-size: 1.5rem; margin: 0; border-left: 4px solid var(--color-primary); padding-left: 1rem; }
.chapters-section {
margin-top: 1rem;
}
.section-title {
display: flex;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 0.8rem;
margin-bottom: 1.5rem;
}
.section-title h2 {
font-size: 1.5rem;
margin: 0;
border-left: 4px solid var(--color-primary);
padding-left: 1rem;
}
.chapters-table-wrapper {
background: var(--color-bg-elevated); border-radius: var(--radius-md);
border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
background: var(--color-bg-elevated);
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.05);
overflow: hidden;
}
.chapters-table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.chapters-table { width: 100%; border-collapse: collapse; text-align: left; }
.chapters-table th {
padding: 0.8rem 1.2rem; background: rgba(255,255,255,0.03);
color: var(--color-text-secondary); font-weight: 600; font-size: 0.85rem;
text-transform: uppercase; letter-spacing: 0.5px;
padding: 0.8rem 1.2rem;
background: rgba(255, 255, 255, 0.03);
color: var(--color-text-secondary);
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.chapters-table td {
padding: 1rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.05);
color: var(--color-text-primary); font-size: 0.95rem;
padding: 1rem 1.2rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
color: var(--color-text-primary);
font-size: 0.95rem;
}
.chapters-table tr:last-child td {
border-bottom: none;
}
.chapters-table tr:hover {
background: var(--color-bg-elevated-hover);
}
.chapters-table tr:last-child td { border-bottom: none; }
.chapters-table tr:hover { background: var(--color-bg-elevated-hover); }
.filter-select {
appearance: none;
-webkit-appearance: none;
background-color: var(--color-bg-elevated);
color: var(--color-text-primary);
border: 1px solid rgba(255,255,255,0.1);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 0.5rem 2rem 0.5rem 1rem;
border-radius: 99px;
font-size: 0.9rem;
@@ -159,36 +287,261 @@
}
.read-btn-small {
background: var(--color-primary); color: white; border: none;
padding: 0.4rem 0.9rem; border-radius: 6px; font-weight: 600; cursor: pointer;
font-size: 0.8rem; transition: 0.2s;
background: var(--color-primary);
color: white;
border: none;
padding: 0.4rem 0.9rem;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
font-size: 0.8rem;
transition: 0.2s;
}
.read-btn-small:hover {
background: #7c3aed;
}
.read-btn-small:hover { background: #7c3aed; }
.pagination-controls {
display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; align-items: center;
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 1.5rem;
align-items: center;
}
.page-btn {
background: var(--color-bg-elevated); border: 1px solid rgba(255,255,255,0.1);
color: white; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
background: var(--color-bg-elevated);
border: 1px solid rgba(255, 255, 255, 0.1);
color: white;
padding: 0.5rem 1rem;
border-radius: 8px;
cursor: pointer;
font-size: 0.9rem;
}
.page-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.page-btn:hover:not(:disabled) {
border-color: var(--color-primary);
}
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.page-btn:hover:not(:disabled) { border-color: var(--color-primary); }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 1024px) {
.hero-wrapper { height: 40vh; }
.content-container { grid-template-columns: 1fr; margin-top: -80px; padding: 0 1.5rem 4rem 1.5rem; }
.poster-card { display: none; }
.hero-wrapper {
height: 40vh;
}
.content-container {
grid-template-columns: 1fr;
margin-top: -80px;
padding: 0 1.5rem 4rem 1.5rem;
}
.poster-card {
display: none;
}
.main-content { padding-top: 0; align-items: center; text-align: center; }
.book-title { font-size: 2.2rem; }
.meta-row { justify-content: center; }
.action-row { justify-content: center; width: 100%; }
.btn-primary, .btn-blur { flex: 1; justify-content: center; }
.main-content {
padding-top: 0;
align-items: center;
text-align: center;
}
.book-title {
font-size: 2.2rem;
}
.meta-row {
justify-content: center;
}
.action-row {
justify-content: center;
width: 100%;
}
.btn-primary,
.btn-blur {
flex: 1;
justify-content: center;
}
.sidebar { display: none; }
.chapters-table th:nth-child(3), .chapters-table td:nth-child(3) { display: none; }
.chapters-table th:nth-child(4), .chapters-table td:nth-child(4) { display: none; }
}
.sidebar {
display: none;
}
.chapters-table th:nth-child(3),
.chapters-table td:nth-child(3) {
display: none;
}
.chapters-table th:nth-child(4),
.chapters-table td:nth-child(4) {
display: none;
}
}
@media (max-width: 768px) {
.hero-wrapper {
height: 35vh;
}
.content-container {
display: flex;
flex-direction: column;
margin-top: -60px;
padding: 0 1rem 3rem 1rem;
gap: 1.5rem;
}
.sidebar {
display: flex !important;
position: static;
width: 100%;
align-items: center;
order: 1;
}
.poster-card {
display: block !important;
width: 160px;
margin: 0 auto;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
border: 2px solid rgba(255, 255, 255, 0.15);
}
.info-grid {
display: none;
}
.main-content {
order: 2;
padding-top: 0;
text-align: center;
align-items: center;
}
.book-title {
font-size: 2rem;
line-height: 1.2;
margin-bottom: 0.8rem;
}
.meta-row {
justify-content: center;
gap: 0.5rem;
}
.pill {
padding: 0.3rem 0.8rem;
font-size: 0.8rem;
}
.action-row {
flex-direction: column;
width: 100%;
gap: 0.8rem;
}
.btn-primary,
.btn-secondary,
.btn-blur {
width: 100%;
justify-content: center;
padding: 0.9rem;
}
.chapters-table-wrapper {
background: transparent;
border: none;
}
.chapters-table thead {
display: none;
}
.chapters-table tbody,
.chapters-table tr,
.chapters-table td {
display: block;
width: 100%;
}
.chapters-table tr {
background: var(--color-bg-elevated);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
margin-bottom: 0.8rem;
padding: 1rem;
position: relative;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.chapters-table td {
padding: 0;
border: none;
text-align: left;
}
.chapters-table td:nth-child(1) {
font-size: 1rem;
font-weight: 700;
color: white;
}
.chapters-table td:nth-child(2) {
font-size: 0.8rem;
color: var(--color-text-secondary);
order: 3;
}
.chapters-table td:last-child {
margin-top: 0.5rem;
order: 4;
}
.chapters-table td:last-child,
.chapters-table td:nth-child(4) {
display: block !important;
width: 100%;
margin-top: 1rem;
padding-top: 0.75rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.read-btn-small {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 0.8rem;
font-size: 0.95rem;
background: var(--color-primary);
border: none;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.chapters-table td:nth-child(3) {
display: block !important;
font-size: 0.8rem;
color: var(--color-text-secondary);
margin-bottom: 0.25rem;
}
.chapters-table td:nth-child(3)::before {
content: "Provider: ";
font-weight: 700;
color: #555;
}
.read-btn-small {
width: 100%;
padding: 0.7rem;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
}
}

View File

@@ -4,11 +4,15 @@
--bg-hover: #252530;
}
.hidden { display: none !important; }
.hidden {
display: none !important;
}
.top-bar {
position: fixed;
top: 0; left: 0; right: 0;
top: 0;
left: 0;
right: 0;
height: 64px;
background: rgba(10, 10, 15, 0.85);
backdrop-filter: blur(20px) saturate(180%);
@@ -107,7 +111,9 @@
height: auto;
border-radius: var(--radius-md);
box-shadow: var(--shadow-lg);
transition: transform 0.2s ease, box-shadow 0.2s ease;
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
cursor: pointer;
display: block;
}
@@ -160,7 +166,9 @@
box-shadow: var(--shadow-lg);
object-fit: contain;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}
.double-container img:hover {
@@ -174,7 +182,7 @@
padding: 3rem 2.5rem;
line-height: var(--ln-line-height, 1.8);
font-size: var(--ln-font-size, 18px);
font-family: var(--ln-font-family, 'Georgia', serif);
font-family: var(--ln-font-family, "Georgia", serif);
color: var(--ln-text-color, #e5e7eb);
text-align: var(--ln-text-align, left);
}
@@ -183,7 +191,9 @@
margin-bottom: 1.5em;
}
.ln-content h1, .ln-content h2, .ln-content h3 {
.ln-content h1,
.ln-content h2,
.ln-content h3 {
margin-top: 2em;
margin-bottom: 1em;
font-weight: 700;
@@ -297,7 +307,7 @@
.control label span {
color: var(--color-text-primary);
font-weight: 600;
font-family: 'JetBrains Mono', monospace;
font-family: "JetBrains Mono", monospace;
font-size: 0.8125rem;
}
@@ -338,7 +348,9 @@ input[type="range"]::-moz-range-thumb {
transition: all 0.2s;
}
select, input[type="color"], input[type="number"] {
select,
input[type="color"],
input[type="number"] {
width: 100%;
padding: 0.625rem 0.875rem;
border-radius: var(--radius-md);
@@ -350,11 +362,15 @@ select, input[type="color"], input[type="number"] {
border: 1px solid var(--border-subtle);
}
select:hover, input[type="color"]:hover, input[type="number"]:hover {
select:hover,
input[type="color"]:hover,
input[type="number"]:hover {
border-color: var(--color-primary);
}
select:focus, input[type="color"]:focus, input[type="number"]:focus {
select:focus,
input[type="color"]:focus,
input[type="number"]:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 3px var(--color-primary-glow);
@@ -454,7 +470,9 @@ input[type="color"] {
}
@keyframes spin {
to { transform: rotate(360deg); }
to {
transform: rotate(360deg);
}
}
.loading-container {
@@ -544,4 +562,54 @@ input[type="color"] {
max-width: 50%;
margin: 0 auto;
display: block;
}
}
@media (max-width: 768px) {
#reader {
padding-left: 0 !important;
padding-right: 0 !important;
padding-top: 64px;
}
.manga-container {
width: 100% !important;
max-width: 100% !important;
gap: 0 !important;
}
.page-img {
width: 100% !important;
max-width: 100% !important;
height: auto !important;
border-radius: 0 !important;
box-shadow: none !important;
}
.page-img.longstrip-fit {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
}
.double-container {
flex-direction: column !important;
gap: 0 !important;
width: 100% !important;
}
.double-container img {
width: 100% !important;
max-width: 100% !important;
border-radius: 0 !important;
}
.fit-height,
.fit-screen {
width: 100% !important;
height: auto !important;
max-height: none !important;
max-width: 100% !important;
object-fit: contain !important;
}
}