User:Fen/Portals/UserGuides/styles.css: Difference between revisions
Appearance
Created page with ".guides-portal-wrapper { font-family: "Segoe UI", "Roboto", sans-serif; background: #f9fbfc; color: #1b1f23; padding: 2em; max-width: 1200px; margin: auto; } →Header: .guides-header { background: linear-gradient(to right, #2a70b8, #4d9fe6); color: #ffffff; padding: 1.6em; border-radius: 6px; margin-bottom: 2em; box-shadow: 0 0 12px rgba(42, 112, 184, 0.3); } .guides-title { font-size: 2.2em; font-weight: 800; } .guides-subtitle { font-s..." |
dark theme |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.guides-portal-wrapper { | .guides-portal-wrapper { | ||
font-family: "Segoe UI", "Roboto", sans-serif; | font-family: "Segoe UI", "Roboto", sans-serif; | ||
background: # | background: #fff6fa; | ||
color: # | color: #2a0017; | ||
padding: 2em; | padding: 2em; | ||
max-width: 1200px; | max-width: 1200px; | ||
| Line 10: | Line 10: | ||
/* Header */ | /* Header */ | ||
.guides-header { | .guides-header { | ||
background: linear-gradient(to right, # | background: linear-gradient(to right, #e75480, #d94f75); | ||
color: #ffffff; | color: #ffffff; | ||
padding: 1.6em; | padding: 1.6em; | ||
border-radius: 6px; | border-radius: 6px; | ||
margin-bottom: 2em; | margin-bottom: 2em; | ||
box-shadow: 0 0 12px rgba( | box-shadow: 0 0 12px rgba(233, 92, 139, 0.3); | ||
} | } | ||
.guides-title { | .guides-title { | ||
| Line 25: | Line 25: | ||
font-style: italic; | font-style: italic; | ||
margin-top: 0.3em; | margin-top: 0.3em; | ||
color: # | color: #ffebf2; | ||
} | } | ||
| Line 38: | Line 38: | ||
.guides-card { | .guides-card { | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid # | border: 1px solid #f6dce7; | ||
border-left: 6px solid # | border-left: 6px solid #d94f75; | ||
border-radius: 5px; | border-radius: 5px; | ||
padding: 1.3em; | padding: 1.3em; | ||
| Line 47: | Line 47: | ||
.guides-card:hover { | .guides-card:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
box-shadow: 0 4px 10px rgba(0,0,0,0. | box-shadow: 0 4px 10px rgba(0,0,0,0.06); | ||
} | } | ||
.guides-card.wide { | .guides-card.wide { | ||
| Line 57: | Line 57: | ||
font-size: 1.3em; | font-size: 1.3em; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #a63a5e; | ||
margin-bottom: 0.4em; | margin-bottom: 0.4em; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #f0cbd8; | ||
padding-bottom: 0.3em; | padding-bottom: 0.3em; | ||
} | } | ||
| Line 84: | Line 84: | ||
.guides-card-body a[href*="Category:"] { | .guides-card-body a[href*="Category:"] { | ||
display: inline-block; | display: inline-block; | ||
background: # | background: #fbe7f0; | ||
border: 1px solid # | border: 1px solid #f2c6dc; | ||
padding: 0.3em 0.7em; | padding: 0.3em 0.7em; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
font-weight: 600; | font-weight: 600; | ||
color: # | color: #d94f75; | ||
border-radius: 6px; | border-radius: 6px; | ||
margin: 0.2em; | margin: 0.2em; | ||
| Line 95: | Line 95: | ||
} | } | ||
.guides-card-body a[href*="Category:"]:hover { | .guides-card-body a[href*="Category:"]:hover { | ||
background: # | background: #f9d5e8; | ||
color: # | color: #a63a5e; | ||
} | } | ||
| Line 102: | Line 102: | ||
a:link, | a:link, | ||
a:visited { | a:visited { | ||
color: # | color: #c72d65; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
a:hover { | a:hover { | ||
color: # | color: #8c1e46; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | |||
.org-card-body a[href*="Category:"] { | |||
display: inline-block; | |||
background-color: #eef0f2; | |||
border: 1px solid #bbb; | |||
padding: 0.3em 0.6em; | |||
margin: 0.2em; | |||
font-weight: bold; | |||
text-decoration: none; | |||
color: #222; | |||
font-size: 0.8em; | |||
border-radius: 4px; | |||
transition: background-color 0.2s ease; | |||
} | |||
.org-card-body a[href*="Category:"]:hover { | |||
background-color: #d0d5d9; | |||
color: #000; | |||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .guides-portal-wrapper, | |||
html.skin-theme-clientpref-os .guides-portal-wrapper { | |||
background: #1a0f14; | |||
color: #ffe6f1; | |||
} | |||
html.skin-theme-clientpref-night .guides-header, | |||
html.skin-theme-clientpref-os .guides-header { | |||
background: linear-gradient(to right, #a8325a, #912a4d); | |||
color: #fff0f6; | |||
box-shadow: 0 0 12px rgba(168, 50, 90, 0.4); | |||
} | |||
html.skin-theme-clientpref-night .guides-card, | |||
html.skin-theme-clientpref-os .guides-card { | |||
background: #24161c; | |||
border: 1px solid #3a1f2a; | |||
border-left: 6px solid #b3456a; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.3); | |||
} | |||
html.skin-theme-clientpref-night .guides-card-title, | |||
html.skin-theme-clientpref-os .guides-card-title { | |||
color: #ff99b9; | |||
border-bottom-color: #663546; | |||
} | |||
html.skin-theme-clientpref-night .guides-card-body, | |||
html.skin-theme-clientpref-os .guides-card-body { | |||
color: #ffd9e6; | |||
} | |||
html.skin-theme-clientpref-night .guides-card-body a[href*="Category:"], | |||
html.skin-theme-clientpref-os .guides-card-body a[href*="Category:"] { | |||
background: #3a1f2a; | |||
border: 1px solid #663546; | |||
color: #ffb3c9; | |||
} | |||
html.skin-theme-clientpref-night .guides-card-body a[href*="Category:"]:hover, | |||
html.skin-theme-clientpref-os .guides-card-body a[href*="Category:"]:hover { | |||
background: #4d2a37; | |||
color: #ffccdc; | |||
} | |||
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: #ff99b9; | |||
} | |||
html.skin-theme-clientpref-night a:hover, | |||
html.skin-theme-clientpref-os a:hover { | |||
color: #ffccd9; | |||
} | |||
html.skin-theme-clientpref-night .org-card-body a[href*="Category:"], | |||
html.skin-theme-clientpref-os .org-card-body a[href*="Category:"] { | |||
background-color: #2e2e2e; | |||
border: 1px solid #555; | |||
color: #ddd; | |||
} | |||
html.skin-theme-clientpref-night .org-card-body a[href*="Category:"]:hover, | |||
html.skin-theme-clientpref-os .org-card-body a[href*="Category:"]:hover { | |||
background-color: #444; | |||
color: #fff; | |||
} | |||
} | } | ||
Latest revision as of 00:55, 14 August 2025
.guides-portal-wrapper {
font-family: "Segoe UI", "Roboto", sans-serif;
background: #fff6fa;
color: #2a0017;
padding: 2em;
max-width: 1200px;
margin: auto;
}
/* Header */
.guides-header {
background: linear-gradient(to right, #e75480, #d94f75);
color: #ffffff;
padding: 1.6em;
border-radius: 6px;
margin-bottom: 2em;
box-shadow: 0 0 12px rgba(233, 92, 139, 0.3);
}
.guides-title {
font-size: 2.2em;
font-weight: 800;
}
.guides-subtitle {
font-size: 1.1em;
font-style: italic;
margin-top: 0.3em;
color: #ffebf2;
}
/* Grid */
.guides-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5em;
}
/* Card */
.guides-card {
background: #ffffff;
border: 1px solid #f6dce7;
border-left: 6px solid #d94f75;
border-radius: 5px;
padding: 1.3em;
box-shadow: 0 2px 4px rgba(0,0,0,0.04);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.guides-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.guides-card.wide {
grid-column: 1 / -1;
}
/* Title */
.guides-card-title {
font-size: 1.3em;
font-weight: bold;
color: #a63a5e;
margin-bottom: 0.4em;
border-bottom: 1px solid #f0cbd8;
padding-bottom: 0.3em;
}
/* Body */
.guides-card-body {
font-size: 0.96em;
color: #333;
line-height: 1.6;
}
.guides-card-body ul {
padding-left: 1.2em;
}
.guides-card-body li {
margin-bottom: 0.5em;
}
/* Centered */
.guides-card-body.center {
text-align: center;
}
/* Category tags */
.guides-card-body a[href*="Category:"] {
display: inline-block;
background: #fbe7f0;
border: 1px solid #f2c6dc;
padding: 0.3em 0.7em;
font-size: 0.9em;
font-weight: 600;
color: #d94f75;
border-radius: 6px;
margin: 0.2em;
text-decoration: none;
}
.guides-card-body a[href*="Category:"]:hover {
background: #f9d5e8;
color: #a63a5e;
}
/* Links */
a:link,
a:visited {
color: #c72d65;
text-decoration: none;
}
a:hover {
color: #8c1e46;
text-decoration: underline;
}
.org-card-body a[href*="Category:"] {
display: inline-block;
background-color: #eef0f2;
border: 1px solid #bbb;
padding: 0.3em 0.6em;
margin: 0.2em;
font-weight: bold;
text-decoration: none;
color: #222;
font-size: 0.8em;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.org-card-body a[href*="Category:"]:hover {
background-color: #d0d5d9;
color: #000;
}
@media screen {
html.skin-theme-clientpref-night .guides-portal-wrapper,
html.skin-theme-clientpref-os .guides-portal-wrapper {
background: #1a0f14;
color: #ffe6f1;
}
html.skin-theme-clientpref-night .guides-header,
html.skin-theme-clientpref-os .guides-header {
background: linear-gradient(to right, #a8325a, #912a4d);
color: #fff0f6;
box-shadow: 0 0 12px rgba(168, 50, 90, 0.4);
}
html.skin-theme-clientpref-night .guides-card,
html.skin-theme-clientpref-os .guides-card {
background: #24161c;
border: 1px solid #3a1f2a;
border-left: 6px solid #b3456a;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
html.skin-theme-clientpref-night .guides-card-title,
html.skin-theme-clientpref-os .guides-card-title {
color: #ff99b9;
border-bottom-color: #663546;
}
html.skin-theme-clientpref-night .guides-card-body,
html.skin-theme-clientpref-os .guides-card-body {
color: #ffd9e6;
}
html.skin-theme-clientpref-night .guides-card-body a[href*="Category:"],
html.skin-theme-clientpref-os .guides-card-body a[href*="Category:"] {
background: #3a1f2a;
border: 1px solid #663546;
color: #ffb3c9;
}
html.skin-theme-clientpref-night .guides-card-body a[href*="Category:"]:hover,
html.skin-theme-clientpref-os .guides-card-body a[href*="Category:"]:hover {
background: #4d2a37;
color: #ffccdc;
}
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: #ff99b9;
}
html.skin-theme-clientpref-night a:hover,
html.skin-theme-clientpref-os a:hover {
color: #ffccd9;
}
html.skin-theme-clientpref-night .org-card-body a[href*="Category:"],
html.skin-theme-clientpref-os .org-card-body a[href*="Category:"] {
background-color: #2e2e2e;
border: 1px solid #555;
color: #ddd;
}
html.skin-theme-clientpref-night .org-card-body a[href*="Category:"]:hover,
html.skin-theme-clientpref-os .org-card-body a[href*="Category:"]:hover {
background-color: #444;
color: #fff;
}
}