User:Fen/Portals/Products/styles.css
Appearance
/* Wrapper: Light and clean */ .products-portal-wrapper { font-family: "Rubik", "Segoe UI", sans-serif; background: #f9fbfc; padding: 2em; max-width: 1200px; margin: auto; border-radius: 8px; } /* Header: Minimalist alert-bar style */ .products-header { background: #005d8f; color: #ffffff; padding: 1.2em 1.5em; border-left: 10px solid #ff5050; border-radius: 4px; margin-bottom: 2em; } .products-title { font-size: 2.2em; font-weight: 800; margin-bottom: 0.2em; letter-spacing: 0.5px; } .products-subtitle { font-size: 1em; font-weight: 400; opacity: 0.9; } /* Grid layout */ .products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; } /* Card Base: Soft, tile-like design */ .products-card { background-color: #ffffff; border: 1px solid #d8e1e8; border-radius: 10px; padding: 1.2em; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03); transition: box-shadow 0.2s ease, transform 0.2s ease; } .products-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07); transform: translateY(-2px); } /* Wide Cards span full width */ .products-card.wide { grid-column: 1 / -1; } /* Card Title */ .products-card-title { font-size: 1.4em; font-weight: 600; color: #003550; margin-bottom: 0.6em; border-left: 4px solid #ff5050; padding-left: 0.5em; } /* Card Body */ .products-card-body { font-size: 0.98em; line-height: 1.6; color: #222; } .products-card-body ul { padding-left: 1.2em; list-style-type: disc; } .products-card-body li { margin-bottom: 0.4em; } /* Center content (image card) */ .products-card-body.center { text-align: center; } /* Category links */ .products-card-body a[href*="Category:"] { display: inline-block; background: #eef4f8; border: 1px solid #ccdce6; padding: 0.3em 0.7em; font-size: 0.95em; font-weight: 600; color: #003e66; border-radius: 6px; margin: 0.25em; text-decoration: none; } .products-card-body a[href*="Category:"]:hover { background: #dbeaf5; border-color: #a6c4d6; color: #002a47; } /* General link styles */ a:link, a:visited { color: #005ca9; text-decoration: none; transition: color 0.2s ease; } a:hover, a:focus { color: #003f73; text-decoration: underline; } /* Thumbnail cleanup */ .products-card-body .thumb { margin: 0 auto; border-radius: 4px; }