WikiPartner (talk | contribs) Created page with "→WikiPartner brand styles: :root { --wp-teal: #0F6B65; --wp-gold: #E8A33D; --wp-blue: #3E7CB1; --wp-navy: #12233F; --wp-charcoal: #2B2B2B; --wp-cream: #FAF7F2; } →Main text: body { color: var(--wp-charcoal); font-family: Inter, Arial, sans-serif; } →Article headings: .mw-parser-output h1, .mw-parser-output h2, .mw-parser-output h3, .firstHeading { font-family: "Source Serif 4", Georgia, serif; color: var(--wp-navy);..." |
WikiPartner (talk | contribs) No edit summary |
||
| Line 54: | Line 54: | ||
.vector-main-menu-landmark { | .vector-main-menu-landmark { | ||
color: var(--wp-teal); | color: var(--wp-teal); | ||
} | |||
/* ========================================================= | |||
WikiPartner — Light / Dark Theme Toggle | |||
========================================================= */ | |||
.wikipartner-theme-item { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
margin-right: 7px; | |||
} | |||
.wikipartner-theme-toggle { | |||
width: 34px; | |||
height: 34px; | |||
padding: 0; | |||
border: 1px solid rgba(174, 135, 57, 0.32); | |||
border-radius: 50%; | |||
background: | |||
linear-gradient( | |||
145deg, | |||
#fffdf7, | |||
#f7f0df | |||
); | |||
color: #173f3b; | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
cursor: pointer; | |||
appearance: none; | |||
box-shadow: | |||
0 2px 8px rgba(22, 35, 45, 0.08), | |||
inset 0 0 0 1px rgba(255, 255, 255, 0.55); | |||
transition: | |||
transform 160ms ease, | |||
background 160ms ease, | |||
border-color 160ms ease, | |||
color 160ms ease, | |||
box-shadow 160ms ease; | |||
} | |||
.wikipartner-theme-toggle:hover { | |||
transform: translateY(-1px) rotate(-5deg); | |||
border-color: rgba(174, 135, 57, 0.6); | |||
box-shadow: | |||
0 4px 12px rgba(22, 35, 45, 0.12), | |||
0 0 0 3px rgba(190, 151, 71, 0.08); | |||
} | |||
.wikipartner-theme-toggle:active { | |||
transform: translateY(0) scale(0.94); | |||
} | |||
.wikipartner-theme-toggle:focus-visible { | |||
outline: 2px solid #b88b36; | |||
outline-offset: 3px; | |||
} | |||
.wp-theme-icon { | |||
width: 18px; | |||
height: 18px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.wp-theme-icon svg { | |||
width: 18px; | |||
height: 18px; | |||
fill: none; | |||
stroke: currentColor; | |||
stroke-width: 1.8; | |||
stroke-linecap: round; | |||
stroke-linejoin: round; | |||
} | |||
.wp-theme-star { | |||
stroke-width: 1.5; | |||
} | |||
/* ========================================================= | |||
DARK MODE — WikiPartner button | |||
========================================================= */ | |||
html.skin-theme-clientpref-night .wikipartner-theme-toggle { | |||
background: | |||
linear-gradient( | |||
145deg, | |||
#172a2d, | |||
#101e22 | |||
); | |||
color: #e5b85e; | |||
border-color: rgba(229, 184, 94, 0.35); | |||
box-shadow: | |||
0 3px 10px rgba(0, 0, 0, 0.3), | |||
inset 0 0 0 1px rgba(255, 255, 255, 0.025); | |||
} | |||
html.skin-theme-clientpref-night .wikipartner-theme-toggle:hover { | |||
color: #f2ca78; | |||
border-color: rgba(229, 184, 94, 0.65); | |||
box-shadow: | |||
0 4px 14px rgba(0, 0, 0, 0.35), | |||
0 0 0 3px rgba(229, 184, 94, 0.08); | |||
} | |||
/* Responsive */ | |||
@media (max-width: 720px) { | |||
.wikipartner-theme-item { | |||
margin-right: 4px; | |||
} | |||
.wikipartner-theme-toggle { | |||
width: 32px; | |||
height: 32px; | |||
} | |||
.wp-theme-icon, | |||
.wp-theme-icon svg { | |||
width: 17px; | |||
height: 17px; | |||
} | |||
} | } | ||
Revision as of 20:48, 19 August 2026
/* WikiPartner brand styles */
:root {
--wp-teal: #0F6B65;
--wp-gold: #E8A33D;
--wp-blue: #3E7CB1;
--wp-navy: #12233F;
--wp-charcoal: #2B2B2B;
--wp-cream: #FAF7F2;
}
/* Main text */
body {
color: var(--wp-charcoal);
font-family: Inter, Arial, sans-serif;
}
/* Article headings */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.firstHeading {
font-family: "Source Serif 4", Georgia, serif;
color: var(--wp-navy);
}
/* Links */
a {
color: var(--wp-teal);
}
a:hover {
color: var(--wp-blue);
}
/* Infobox styling */
.infobox {
background: var(--wp-cream) !important;
border: 1px solid #d6d6d6 !important;
}
.infobox th {
background: #eef6f5;
color: var(--wp-navy);
}
/* Main content area */
.mw-body {
background: #ffffff;
}
/* Selected tabs and accents */
.vector-page-tools-landmark,
.vector-main-menu-landmark {
color: var(--wp-teal);
}
/* =========================================================
WikiPartner — Light / Dark Theme Toggle
========================================================= */
.wikipartner-theme-item {
display: flex;
align-items: center;
justify-content: center;
margin-right: 7px;
}
.wikipartner-theme-toggle {
width: 34px;
height: 34px;
padding: 0;
border: 1px solid rgba(174, 135, 57, 0.32);
border-radius: 50%;
background:
linear-gradient(
145deg,
#fffdf7,
#f7f0df
);
color: #173f3b;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
appearance: none;
box-shadow:
0 2px 8px rgba(22, 35, 45, 0.08),
inset 0 0 0 1px rgba(255, 255, 255, 0.55);
transition:
transform 160ms ease,
background 160ms ease,
border-color 160ms ease,
color 160ms ease,
box-shadow 160ms ease;
}
.wikipartner-theme-toggle:hover {
transform: translateY(-1px) rotate(-5deg);
border-color: rgba(174, 135, 57, 0.6);
box-shadow:
0 4px 12px rgba(22, 35, 45, 0.12),
0 0 0 3px rgba(190, 151, 71, 0.08);
}
.wikipartner-theme-toggle:active {
transform: translateY(0) scale(0.94);
}
.wikipartner-theme-toggle:focus-visible {
outline: 2px solid #b88b36;
outline-offset: 3px;
}
.wp-theme-icon {
width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
}
.wp-theme-icon svg {
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.wp-theme-star {
stroke-width: 1.5;
}
/* =========================================================
DARK MODE — WikiPartner button
========================================================= */
html.skin-theme-clientpref-night .wikipartner-theme-toggle {
background:
linear-gradient(
145deg,
#172a2d,
#101e22
);
color: #e5b85e;
border-color: rgba(229, 184, 94, 0.35);
box-shadow:
0 3px 10px rgba(0, 0, 0, 0.3),
inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}
html.skin-theme-clientpref-night .wikipartner-theme-toggle:hover {
color: #f2ca78;
border-color: rgba(229, 184, 94, 0.65);
box-shadow:
0 4px 14px rgba(0, 0, 0, 0.35),
0 0 0 3px rgba(229, 184, 94, 0.08);
}
/* Responsive */
@media (max-width: 720px) {
.wikipartner-theme-item {
margin-right: 4px;
}
.wikipartner-theme-toggle {
width: 32px;
height: 32px;
}
.wp-theme-icon,
.wp-theme-icon svg {
width: 17px;
height: 17px;
}
}