User:YourUsername/Portals/Legislation/styles.css: Difference between revisions

Fen (talk | contribs)
Created page with ".law-portal-wrapper { font-family: "Georgia", serif; background-color: #fdfcf9; padding: 2em; max-width: 1200px; margin: 0 auto; } .law-header { background: linear-gradient(135deg, #004225, #002e1b); color: #f1f1f1; padding: 1.8em; border-radius: 8px; text-align: center; margin-bottom: 2em; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3); } .law-title { font-size: 2em; font-weight: bold; margin-bottom: 0.4em; } .law-subtitle { font-size: 1.1e..."
 
Fen (talk | contribs)
forgot to change the css for these ones
 
Line 44: Line 44:
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
}
.guides-card:hover {
.law-card:hover {
   transform: translateY(-2px);
   transform: translateY(-2px);
   box-shadow: 0 4px 10px rgba(0,0,0,0.05);
   box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
}
.guides-card.wide {
.law-card.wide {
   grid-column: 1 / -1;
   grid-column: 1 / -1;
}
}