's'
This commit is contained in:
@@ -23,10 +23,10 @@
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--color-primary: #0ea5e9;
|
||||
--color-primary-dark: #0284c7;
|
||||
--color-accent: #f59e0b;
|
||||
--color-accent-dark: #d97706;
|
||||
--color-primary: #ff4d4f;
|
||||
--color-primary-dark: #e04345;
|
||||
--color-accent: #ff7a45;
|
||||
--color-accent-dark: #e56a35;
|
||||
--animate-scroll: digital-scroll 30s linear infinite;
|
||||
--animate-scroll-reverse: digital-scroll 30s linear infinite reverse;
|
||||
--animate-fade-in: digital-fade-in 0.6s ease-out;
|
||||
@@ -122,35 +122,12 @@ html {
|
||||
}
|
||||
}
|
||||
|
||||
/* Reserve the first right-column rows for feature cards.
|
||||
City cards keep normal auto-placement and fill the right column after these rows. */
|
||||
.items-grid .right-item:nth-child(1) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 1;
|
||||
}
|
||||
.items-grid .right-item:nth-child(2) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 2;
|
||||
}
|
||||
.items-grid .right-item:nth-child(3) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 3;
|
||||
}
|
||||
.items-grid .right-item:nth-child(4) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 4;
|
||||
}
|
||||
.items-grid .right-item:nth-child(5) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 5;
|
||||
}
|
||||
.items-grid .right-item:nth-child(6) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 6;
|
||||
}
|
||||
.items-grid .right-item:nth-child(7) {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: 7;
|
||||
/* Right sidebar cards: only pin to the last column on large screens. */
|
||||
@media (min-width: 1024px) {
|
||||
.items-grid .right-item {
|
||||
grid-column: -2 / -1;
|
||||
grid-row: var(--right-row, auto);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== City Card ==================== */
|
||||
@@ -257,6 +234,9 @@ html {
|
||||
.filter-btn:hover {
|
||||
background: #f3f4f6;
|
||||
}
|
||||
.dark .filter-btn:hover {
|
||||
background: #374151;
|
||||
}
|
||||
.filter-btn.active {
|
||||
background: #111827;
|
||||
color: white;
|
||||
|
||||
Reference in New Issue
Block a user