redundant

This commit is contained in:
lda committed 2025-12-18 04:07:17 +07:00
1 parent 28dfc06d24
commit 5990eb424d
1 file changed
+54 -50
+54 -50
View File
@@ -160,44 +160,49 @@ li a {
} }
details { details {
width: 100%; width: 100%;
max-width: 600px; max-width: 600px;
margin-top: 20px; margin-top: 20px;
background-color: var(--surface-color); background-color: var(--surface-color);
border-radius: var(--border-radius); border-radius: var(--border-radius);
border: 1px solid #333; border: 1px solid #333;
} }
summary { summary {
padding: 15px; padding: 15px;
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
color: var(--secondary-color); color: var(--secondary-color);
list-style: none; /* Hide default triangle */ list-style: none; /* Hide default triangle */
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
summary::after { summary::after {
content: '+'; content: "+";
font-size: 1.2rem; font-size: 1.2rem;
} }
details[open] summary::after { details[open] summary::after {
content: '-'; content: "-";
} }
details[open] summary { details[open] summary {
border-bottom: 1px solid #333; border-bottom: 1px solid #333;
} }
summary::marker,
summary::-webkit-details-marker {
list-style-type: none;
display: none;
}
.route-list { .route-list {
display: grid; display: grid;
gap: 10px; gap: 10px;
width: 100%; width: 100%;
padding: 15px; padding: 15px;
box-sizing: border-box; box-sizing: border-box;
} }
.route-item { .route-item {
@@ -212,47 +217,46 @@ details[open] summary {
/* Queue Grid */ /* Queue Grid */
.queue-grid { .queue-grid {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 20px; gap: 20px;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
} }
.queue-grid li { .queue-grid li {
flex: 1 1 300px; /* Grow, shrink, basis */ flex: 1 1 300px; /* Grow, shrink, basis */
max-width: 400px; max-width: 400px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
text-align: center; text-align: center;
} }
.queue-grid li a { .queue-grid li a {
align-items: center; align-items: center;
word-break: break-word; word-break: break-word;
} }
/* Trail Page */ /* Trail Page */
.trail-container { .trail-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 80dvh; height: 80dvh;
width: 100%; width: 100%;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
} }
.trail-count { .trail-count {
font-size: 5rem; font-size: 5rem;
font-weight: bold; font-weight: bold;
color: var(--secondary-color); color: var(--secondary-color);
} }
.trail-hint { .trail-hint {
color: #666; color: #666;
margin-top: 20px; margin-top: 20px;
} }