Jump to content

MediaWiki:Common.css

From Prius Wiki
Revision as of 18:31, 11 November 2026 by Admin (talk | contribs) (Head gasket page graphics)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.pw-cars { display:flex; flex-wrap:wrap; gap:1em; margin:1em 0; justify-content:center; }
.pw-car { flex:1 1 280px; max-width:360px; text-align:center; border:1px solid #c6cbc6; border-top:3px solid #1f6f4a; padding:.6em; border-radius:4px; }
.pw-car img { max-width:100%; height:auto; }
.pw-engine { display:flex; flex-wrap:wrap; gap:1em; align-items:center; margin:1em 0; border:1px solid #c6cbc6; border-left:4px solid #1f6f4a; padding:.8em; border-radius:4px; }
.pw-engine > div { flex:1 1 260px; }
.pw-engine img { max-width:100%; height:auto; }
.pw-credit { font-size:85%; color:#54595d; margin:.4em 0 1em; }
html.skin-theme-clientpref-night .pw-credit { color:#a2a9b1; }
@media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .pw-credit { color:#a2a9b1; } }
.pw-hero { text-align:center; padding:1.6em 1em; margin:0 0 1em; border:1px solid #1f6f4a; border-radius:6px; background:#eaf4ee; }
.pw-hero-title { font-size:2em; font-weight:600; color:#14502f; }
.pw-hero-sub { margin-top:.4em; color:#333; }
.pw-grid { display:flex; flex-wrap:wrap; gap:1em; margin:1em 0; }
.pw-box { flex:1 1 220px; border:1px solid #c6cbc6; border-top:3px solid #1f6f4a; padding:.2em 1em 1em; border-radius:4px; }
.pw-notice { border-left:4px solid #1f6f4a; background:#f1f7f3; padding:.6em 1em; margin:.8em 0; }
.pw-listing { border:1px solid #c6cbc6; padding:.5em 1em; margin:1em 0; }
html.skin-theme-clientpref-night .pw-hero { background:#17261e; border-color:#3fae7a; }
html.skin-theme-clientpref-night .pw-hero-title { color:#8fe0b4; }
html.skin-theme-clientpref-night .pw-hero-sub { color:#ddd; }
html.skin-theme-clientpref-night .pw-notice { background:#17261e; }
@media (prefers-color-scheme: dark) {
 html.skin-theme-clientpref-os .pw-hero { background:#17261e; border-color:#3fae7a; }
 html.skin-theme-clientpref-os .pw-hero-title { color:#8fe0b4; }
 html.skin-theme-clientpref-os .pw-hero-sub { color:#ddd; }
 html.skin-theme-clientpref-os .pw-notice { background:#17261e; }
}
/* Head gasket page graphics (2026-11-11) */
.pw-bars { margin:1em 0 .4em; }
.pw-bar-row { display:flex; align-items:center; gap:.6em; margin:.25em 0; }
.pw-bar-year { flex:0 0 5.5em; text-align:right; font-weight:600; }
.pw-bar-track { flex:1 1 auto; height:1.5em; background:#e3e7e4; border-radius:3px; }
.pw-bar { height:100%; border-radius:3px; }
.pw-bar-label { flex:0 0 8.5em; font-size:90%; }
.pw-red { background:#c0392b; } .pw-amber { background:#e0a100; } .pw-green { background:#2e8b57; }
.pw-legend { margin-top:.6em; font-size:90%; }
.pw-key { display:inline-block; width:.9em; height:.9em; border-radius:2px; vertical-align:-.1em; }
.pw-chain { display:flex; flex-wrap:wrap; align-items:stretch; gap:.4em; margin:1em 0; }
.pw-step { flex:1 1 9em; padding:.7em .8em; border:1px solid #c6cbc6; border-top:4px solid #e0a100; border-radius:4px; background:#fffaf0; text-align:center; }
.pw-step-last { border-top-color:#c0392b; background:#fdf1ef; }
.pw-arrow { align-self:center; font-size:1.8em; color:#54595d; }
.pw-scale { margin:1.2em 0 1.6em; padding-bottom:.2em; }
.pw-scale-track { position:relative; height:3.2em; background:#e3e7e4; border-radius:4px; }
.pw-scale-main { position:absolute; top:0; bottom:0; background:#c0392b; color:#fff; text-align:center; font-size:85%; line-height:1.2; display:flex; align-items:center; justify-content:center; border-radius:3px; }
.pw-scale-early { position:absolute; top:-.3em; bottom:-.3em; width:5px; background:#e0a100; border-radius:2px; }
.pw-scale-ticks { position:relative; height:1.4em; margin:.3em .5em 0; font-size:80%; color:#54595d; }
.pw-scale-ticks span { position:absolute; transform:translateX(-50%); white-space:nowrap; }
.pw-scale-ticks span:first-child { transform:none; } .pw-scale-ticks span:last-child { transform:translateX(-85%); }
.pw-scale-note { font-size:90%; margin-top:.4em; }
html.skin-theme-clientpref-night .pw-bar-track, html.skin-theme-clientpref-night .pw-scale-track { background:#2a312d; }
html.skin-theme-clientpref-night .pw-step { background:#2b2618; border-color:#4a5149; }
html.skin-theme-clientpref-night .pw-step-last { background:#34201d; }
html.skin-theme-clientpref-night .pw-arrow, html.skin-theme-clientpref-night .pw-scale-ticks { color:#a2a9b1; }
@media (prefers-color-scheme: dark) {
 html.skin-theme-clientpref-os .pw-bar-track, html.skin-theme-clientpref-os .pw-scale-track { background:#2a312d; }
 html.skin-theme-clientpref-os .pw-step { background:#2b2618; border-color:#4a5149; }
 html.skin-theme-clientpref-os .pw-step-last { background:#34201d; }
 html.skin-theme-clientpref-os .pw-arrow, html.skin-theme-clientpref-os .pw-scale-ticks { color:#a2a9b1; }
}