fix: update to correct NeoBrutalismCSS CDN and class names
- Switch CDN to jsdelivr (matches design spec) - Use nb-card, nb-card-title, nb-button default, nb-checkbox, nb-navbar-link - Add Google Fonts import for Lexend Mega - Style all route links as nb-button default buttons - Fix navbar to use nb-navbar-brand and nb-navbar-nav - Update style.css for new NB version compatibility
This commit is contained in:
+16
-13
@@ -16,42 +16,45 @@ body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Override NB navbar to have drop shadow like our design */
|
||||
.nb-navbar {
|
||||
background: #fff;
|
||||
border-bottom: 3px solid #000;
|
||||
padding: 0.75rem 1.5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 4px 4px 0 #000;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.nb-navbar-start, .nb-navbar-end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
/* List items with subtle dividers */
|
||||
.nb-list-item {
|
||||
border-bottom: 1px solid rgba(0,0,0,0.1);
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.nb-list-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* Stat tiles */
|
||||
.stat-tile {
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* Container padding */
|
||||
.nb-container {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.nb-navbar {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.nb-navbar-end {
|
||||
.nb-navbar-nav {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user