User:Fen/Portals/Products/styles.css
Appearance
.products-portal-wrapper { font-family: 'Segoe UI', sans-serif; background: #fdfaf6; padding: 2em; max-width: 1200px; margin: auto; box-shadow: 0 0 15px rgba(0,0,0,0.1); } /* Header */ .products-header { background: linear-gradient(to right, #ba0000, #450000); color: #fff; text-align: center; padding: 1.5em; border-radius: 8px; margin-bottom: 2em; box-shadow: 0 3px 12px rgba(0,0,0,0.4); } .products-title { font-size: 2.5em; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; } .products-subtitle { font-size: 1.2em; font-style: italic; margin-top: 0.5em; color: #f0e0e0; } /* Grid layout */ .products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5em; } /* Card styles */ .products-card { background: #fff; border: 1px solid #ccc; border-left: 6px solid #ba0000; padding: 1em; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; } .products-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); } .products-card.wide { grid-column: 1 / -1; } /* Titles */ .products-card-title { font-size: 1.5em; font-weight: bold; color: #333; border-bottom: 2px solid #ba0000; margin-bottom: 0.5em; } /* Body */ .products-card-body { font-size: 1em; line-height: 1.6; color: #222; } .products-card-body ul { padding-left: 1.2em; } .products-card-body li { margin-bottom: 0.5em; } /* Centered content */ .products-card-body.center { text-align: center; } /* Category links */ .products-card-body a[href*="Category:"] { display: inline-block; background-color: #f4f4f4; border: 1px solid #bbb; padding: 0.3em 0.6em; margin: 0.2em; font-weight: bold; color: #222; text-decoration: none; border-radius: 4px; transition: background-color 0.2s ease; } .products-card-body a[href*="Category:"]:hover { background-color: #ddd; } /* General link styles */ a:link, a:visited { color: #3366cc; text-decoration: none; } a:hover { text-decoration: underline; color: #224499; }