User:Fen/Portals/Services/styles.css: Difference between revisions
Appearance
add css for services |
No edit summary |
||
| Line 114: | Line 114: | ||
color: #b14e00; | color: #b14e00; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .services-portal-wrapper, | |||
html.skin-theme-clientpref-os .services-portal-wrapper { | |||
background: #1b1b1b; | |||
color: #e0e0e0; | |||
} | |||
html.skin-theme-clientpref-night .services-header, | |||
html.skin-theme-clientpref-os .services-header { | |||
background: #2a2520; | |||
border-left-color: #ff914d; | |||
box-shadow: inset 0 -1px 0 #3a3129; | |||
} | |||
html.skin-theme-clientpref-night .services-title, | |||
html.skin-theme-clientpref-os .services-title { | |||
color: #f0e0d0; | |||
} | |||
html.skin-theme-clientpref-night .services-subtitle, | |||
html.skin-theme-clientpref-os .services-subtitle { | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .services-card, | |||
html.skin-theme-clientpref-os .services-card { | |||
background: #242424; | |||
border: 1px solid #333; | |||
border-top: 4px solid #ff914d; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.4); | |||
} | |||
html.skin-theme-clientpref-night .services-card-title, | |||
html.skin-theme-clientpref-os .services-card-title { | |||
color: #ffe0c2; | |||
border-bottom-color: #444; | |||
} | |||
html.skin-theme-clientpref-night .services-card-body, | |||
html.skin-theme-clientpref-os .services-card-body { | |||
color: #ddd; | |||
} | |||
html.skin-theme-clientpref-night .services-card-body a[href*="Category:"], | |||
html.skin-theme-clientpref-os .services-card-body a[href*="Category:"] { | |||
background: #2e2e2e; | |||
border: 1px solid #555; | |||
color: #ffb273; | |||
} | |||
html.skin-theme-clientpref-night .services-card-body a[href*="Category:"]:hover, | |||
html.skin-theme-clientpref-os .services-card-body a[href*="Category:"]:hover { | |||
background: #3a3a3a; | |||
border-color: #ff914d; | |||
color: #ffd9b3; | |||
} | |||
html.skin-theme-clientpref-night a:link, | |||
html.skin-theme-clientpref-night a:visited, | |||
html.skin-theme-clientpref-os a:link, | |||
html.skin-theme-clientpref-os a:visited { | |||
color: #ffa366; | |||
} | |||
html.skin-theme-clientpref-night a:hover, | |||
html.skin-theme-clientpref-os a:hover { | |||
color: #ffc799; | |||
} | |||
} | } | ||
Latest revision as of 02:10, 14 August 2025
.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;
}
@media screen {
html.skin-theme-clientpref-night .services-portal-wrapper,
html.skin-theme-clientpref-os .services-portal-wrapper {
background: #1b1b1b;
color: #e0e0e0;
}
html.skin-theme-clientpref-night .services-header,
html.skin-theme-clientpref-os .services-header {
background: #2a2520;
border-left-color: #ff914d;
box-shadow: inset 0 -1px 0 #3a3129;
}
html.skin-theme-clientpref-night .services-title,
html.skin-theme-clientpref-os .services-title {
color: #f0e0d0;
}
html.skin-theme-clientpref-night .services-subtitle,
html.skin-theme-clientpref-os .services-subtitle {
color: #aaa;
}
html.skin-theme-clientpref-night .services-card,
html.skin-theme-clientpref-os .services-card {
background: #242424;
border: 1px solid #333;
border-top: 4px solid #ff914d;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
html.skin-theme-clientpref-night .services-card-title,
html.skin-theme-clientpref-os .services-card-title {
color: #ffe0c2;
border-bottom-color: #444;
}
html.skin-theme-clientpref-night .services-card-body,
html.skin-theme-clientpref-os .services-card-body {
color: #ddd;
}
html.skin-theme-clientpref-night .services-card-body a[href*="Category:"],
html.skin-theme-clientpref-os .services-card-body a[href*="Category:"] {
background: #2e2e2e;
border: 1px solid #555;
color: #ffb273;
}
html.skin-theme-clientpref-night .services-card-body a[href*="Category:"]:hover,
html.skin-theme-clientpref-os .services-card-body a[href*="Category:"]:hover {
background: #3a3a3a;
border-color: #ff914d;
color: #ffd9b3;
}
html.skin-theme-clientpref-night a:link,
html.skin-theme-clientpref-night a:visited,
html.skin-theme-clientpref-os a:link,
html.skin-theme-clientpref-os a:visited {
color: #ffa366;
}
html.skin-theme-clientpref-night a:hover,
html.skin-theme-clientpref-os a:hover {
color: #ffc799;
}
}