User:Fen/Portals/Services/styles.css
Appearance
.services-portal-wrapper {
font-family: "Inter", "Helvetica Neue", sans-serif;
background: #f3f4f6;
padding: 2em;
max-width: 1200px;
margin: auto;
line-height: 1.6;
}
/* Header */
.services-header {
background: #f8f2eb;
border-left: 10px solid #ff914d;
padding: 1.5em;
border-radius: 0.5em;
box-shadow: inset 0 -1px 0 #e6dfd7;
margin-bottom: 2em;
}
.services-title {
font-size: 2.2em;
font-weight: 800;
color: #2c2c2c;
}
.services-subtitle {
font-size: 1.1em;
color: #666;
font-style: italic;
margin-top: 0.3em;
}
/* Grid layout */
.services-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5em;
}
/* Card base */
.services-card {
background: #ffffff;
border: 1px solid #ddd;
border-top: 4px solid #ff914d;
padding: 1.2em;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.03);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.services-card:hover {
transform: translateY(-3px);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}
/* Wide cards */
.services-card.wide {
grid-column: 1 / -1;
}
/* Card title */
.services-card-title {
font-size: 1.4em;
font-weight: bold;
color: #333;
margin-bottom: 0.5em;
border-bottom: 1px dashed #ccc;
padding-bottom: 0.2em;
}
/* Card body */
.services-card-body {
font-size: 0.97em;
color: #222;
}
.services-card-body ul {
padding-left: 1.2em;
list-style-type: disc;
}
.services-card-body li {
margin-bottom: 0.4em;
}
/* Centered content */
.services-card-body.center {
text-align: center;
}
/* Category links */
.services-card-body a[href*="Category:"] {
display: inline-block;
background: #fafafa;
border: 1px solid #ccc;
padding: 0.4em 0.7em;
font-size: 0.9em;
font-weight: 600;
border-radius: 20px;
color: #444;
margin: 0.25em;
text-decoration: none;
transition: background 0.2s ease;
}
.services-card-body a[href*="Category:"]:hover {
background: #f0e5dc;
border-color: #ffa366;
color: #222;
}
/* Link styles */
a:link,
a:visited {
color: #e56c00;
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: #b14e00;
text-decoration: underline;
}