final home desing
This commit is contained in:
@@ -3890,3 +3890,51 @@ a.deletelink {
|
||||
.draft-title { font-weight: 600; color: var(--md-sys-color-on-surface, #cdd6f4); text-decoration: none; }
|
||||
.draft-meta { color: var(--md-sys-color-on-surface-variant, #a6adc8); font-size: 0.75rem; }
|
||||
.draft-actions { display: flex; gap: 0.4rem; align-items: center; }
|
||||
|
||||
/* Home per-category Popular/Recent sections */
|
||||
.home-cat-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1px 1fr;
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.home-cat-row-divider { background: var(--md-sys-color-outline-variant, #45475a); align-self: stretch; }
|
||||
.home-cat-block { min-width: 0; }
|
||||
.home-cat-block:only-child { grid-column: 1 / -1; }
|
||||
.home-cat-cols {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1px 1fr;
|
||||
gap: 20px;
|
||||
align-items: start;
|
||||
}
|
||||
.home-cat-divider { background: var(--md-sys-color-outline-variant, #45475a); align-self: stretch; }
|
||||
.home-cat-head { margin: 0 0 0.6rem; font-size: 0.95rem; }
|
||||
.home-cat-head i { color: var(--md-sys-color-primary); margin-right: 0.3rem; }
|
||||
.pack-row-list { display: flex; flex-direction: column; gap: 0.6rem; }
|
||||
@media (max-width: 900px) {
|
||||
.home-cat-row { grid-template-columns: 1fr; }
|
||||
.home-cat-row-divider { height: 1px; width: 100%; }
|
||||
.home-cat-cols { grid-template-columns: 1fr; }
|
||||
.home-cat-divider { height: 1px; width: 100%; }
|
||||
}
|
||||
.pack-card-row {
|
||||
display: flex; align-items: center; gap: 0.75rem;
|
||||
background: var(--md-sys-color-surface-variant, #45475a);
|
||||
border: 1px solid var(--md-sys-color-outline-variant, #3a3f4d);
|
||||
border-radius: 10px; padding: 0.5rem 0.7rem;
|
||||
text-decoration: none; transition: border-color 0.15s;
|
||||
}
|
||||
.pack-card-row:hover { border-color: var(--md-sys-color-primary); }
|
||||
.pack-card-row-thumb {
|
||||
width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px;
|
||||
overflow: hidden; display: flex; align-items: center; justify-content: center;
|
||||
background: var(--md-sys-color-surface, #1e1e2e);
|
||||
}
|
||||
.pack-card-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.pack-card-row-thumb .pack-card-thumb-icon { font-size: 1.3rem; color: var(--md-sys-color-on-surface-variant, #a6adc8); }
|
||||
.pack-card-row-body { min-width: 0; flex: 1; }
|
||||
.pack-card-row-body h4 { margin: 0; font-size: 0.9rem; color: var(--md-sys-color-on-surface, #cdd6f4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.pack-card-row-author { margin: 0.1rem 0 0; color: var(--md-sys-color-on-surface-variant, #a6adc8); font-size: 0.72rem; }
|
||||
.pack-card-row-meta { display: flex; gap: 0.6rem; margin: 0.15rem 0 0; color: var(--md-sys-color-on-surface-variant, #a6adc8); font-size: 0.72rem; flex-wrap: wrap; }
|
||||
.pack-card-row-meta span { white-space: nowrap; }
|
||||
|
||||
Reference in New Issue
Block a user