MediaWiki:Common.css: Difference between revisions

From PAWS Lab
Jump to navigation Jump to search
Zrisha (talk | contribs)
No edit summary
Clean unified theme: light text on navy sidebar and footer
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
/* =======================================================
 
* PAWS Lab Wiki -- Common.css
/* To make images responsive */
* ======================================================== */
.res-img img {
.mw-parser-output img { max-width: 100%; height: auto; }
  max-width:100%;
.mw-parser-output .thumb,.mw-parser-output .thumbinner,.mw-parser-output figure { max-width: 100%; box-sizing: border-box; }
  height:auto;
.mw-parser-output table { max-width: 100%; }
}
.mw-parser-output pre { max-width: 100%; overflow-x: auto; white-space: pre; }
 
:root { --paws-navy: #1d2a56; --paws-gold: #cdb87d; --paws-gold-hover: #e0cf9d; --paws-white: #ffffff; }
.res-img a img {
body.skin-vector { background: var(--paws-navy) !important; }
  max-width:100%;
body.skin-vector .mw-body,body.skin-vector #content { background: var(--paws-white); }
  height:auto;
body.skin-vector #mw-page-base,body.skin-vector #mw-head-base { background: var(--paws-navy) !important; background-image: none !important; }
}
body.skin-vector #mw-head-base { border-bottom: 3px solid var(--paws-gold); }
 
body.skin-vector #mw-head { background: transparent; }
.res-image{
body.skin-vector #p-personal a { color: var(--paws-white) !important; }
  border: 1px solid black;
body.skin-vector #p-personal a:hover { color: var(--paws-gold-hover) !important; text-decoration: underline; }
}
body.skin-vector .vector-menu-tabs li { background-color: rgba(255,255,255,0.06); background-image: none; }
body.skin-vector .vector-menu-tabs li a, body.skin-vector .vector-menu-tabs li a span { color: var(--paws-white) !important; }
body.skin-vector .vector-menu-tabs li.selected { background: var(--paws-white) !important; }
body.skin-vector .vector-menu-tabs li.selected a, body.skin-vector .vector-menu-tabs li.selected a span { color: var(--paws-navy) !important; }
body.skin-vector .vector-menu-tabs li:hover:not(.selected) { background-color: rgba(205,184,125,0.2); }
body.skin-vector #p-cactions .vector-menu-heading, body.skin-vector #p-cactions .vector-menu-heading-label { color: var(--paws-white) !important; }
body.skin-vector #p-cactions .vector-menu-heading::after { filter: brightness(0) invert(1) opacity(0.9); }
body.skin-vector #p-cactions .vector-menu-content { background: var(--paws-navy) !important; border: 1px solid var(--paws-gold) !important; border-radius: 3px; }
body.skin-vector #p-cactions .vector-menu-content a, body.skin-vector #p-cactions .vector-menu-content a span { color: var(--paws-white) !important; }
body.skin-vector #p-cactions .vector-menu-content a:hover, body.skin-vector #p-cactions .vector-menu-content a:hover span { color: var(--paws-gold-hover) !important; }
body.skin-vector .vector-search-box-input, body.skin-vector #searchInput { background: var(--paws-white) !important; color: #222 !important; border: 1px solid var(--paws-gold) !important; border-radius: 3px; padding: 3px 8px; }
body.skin-vector .vector-search-box-input::placeholder { color: #666; }
body.skin-vector #mw-panel, body.skin-vector .vector-legacy-sidebar { background: var(--paws-navy) !important; padding-top: 0.5em; min-height: 100vh; }
body.skin-vector #p-logo { height: auto !important; width: 100% !important; padding: 8px 10px !important; margin: 0 !important; background: transparent !important; }
body.skin-vector #p-logo a.mw-wiki-logo { display: block !important; width: 100% !important; height: 50px !important; background-size: contain !important; background-position: left center !important; background-repeat: no-repeat !important; background-color: transparent !important; }
body.skin-vector #mw-panel .vector-menu-heading, body.skin-vector #mw-panel h3 { color: var(--paws-gold) !important; border-bottom: 1px solid rgba(205,184,125,0.25); padding-bottom: 4px; margin-bottom: 6px; text-transform: uppercase; font-size: 0.75em; letter-spacing: 0.05em; font-weight: bold; background: transparent !important; }
body.skin-vector #mw-panel a, body.skin-vector #mw-panel .mw-list-item a, body.skin-vector #mw-panel .mw-list-item a span { color: var(--paws-white) !important; }
body.skin-vector #mw-panel a:visited, body.skin-vector #mw-panel .mw-list-item a:visited { color: #d4d8e8 !important; }
body.skin-vector #mw-panel a:hover, body.skin-vector #mw-panel .mw-list-item a:hover, body.skin-vector #mw-panel .mw-list-item a:hover span { color: var(--paws-gold-hover) !important; text-decoration: underline; }
body.skin-vector #content { border-left: 1px solid rgba(205,184,125,0.3); }
body.skin-vector #footer { background: transparent !important; border-top: 3px solid var(--paws-gold); padding: 2em 1.5em 3em 1.5em; }
body.skin-vector #footer, body.skin-vector #footer li { color: var(--paws-white) !important; }
body.skin-vector #footer a { color: var(--paws-gold) !important; }
body.skin-vector #footer a:hover { color: var(--paws-gold-hover) !important; text-decoration: underline; }

Latest revision as of 19:24, 22 July 2026

/* =======================================================
 * PAWS Lab Wiki -- Common.css
 * ======================================================== */
.mw-parser-output img { max-width: 100%; height: auto; }
.mw-parser-output .thumb,.mw-parser-output .thumbinner,.mw-parser-output figure { max-width: 100%; box-sizing: border-box; }
.mw-parser-output table { max-width: 100%; }
.mw-parser-output pre { max-width: 100%; overflow-x: auto; white-space: pre; }
:root { --paws-navy: #1d2a56; --paws-gold: #cdb87d; --paws-gold-hover: #e0cf9d; --paws-white: #ffffff; }
body.skin-vector { background: var(--paws-navy) !important; }
body.skin-vector .mw-body,body.skin-vector #content { background: var(--paws-white); }
body.skin-vector #mw-page-base,body.skin-vector #mw-head-base { background: var(--paws-navy) !important; background-image: none !important; }
body.skin-vector #mw-head-base { border-bottom: 3px solid var(--paws-gold); }
body.skin-vector #mw-head { background: transparent; }
body.skin-vector #p-personal a { color: var(--paws-white) !important; }
body.skin-vector #p-personal a:hover { color: var(--paws-gold-hover) !important; text-decoration: underline; }
body.skin-vector .vector-menu-tabs li { background-color: rgba(255,255,255,0.06); background-image: none; }
body.skin-vector .vector-menu-tabs li a, body.skin-vector .vector-menu-tabs li a span { color: var(--paws-white) !important; }
body.skin-vector .vector-menu-tabs li.selected { background: var(--paws-white) !important; }
body.skin-vector .vector-menu-tabs li.selected a, body.skin-vector .vector-menu-tabs li.selected a span { color: var(--paws-navy) !important; }
body.skin-vector .vector-menu-tabs li:hover:not(.selected) { background-color: rgba(205,184,125,0.2); }
body.skin-vector #p-cactions .vector-menu-heading, body.skin-vector #p-cactions .vector-menu-heading-label { color: var(--paws-white) !important; }
body.skin-vector #p-cactions .vector-menu-heading::after { filter: brightness(0) invert(1) opacity(0.9); }
body.skin-vector #p-cactions .vector-menu-content { background: var(--paws-navy) !important; border: 1px solid var(--paws-gold) !important; border-radius: 3px; }
body.skin-vector #p-cactions .vector-menu-content a, body.skin-vector #p-cactions .vector-menu-content a span { color: var(--paws-white) !important; }
body.skin-vector #p-cactions .vector-menu-content a:hover, body.skin-vector #p-cactions .vector-menu-content a:hover span { color: var(--paws-gold-hover) !important; }
body.skin-vector .vector-search-box-input, body.skin-vector #searchInput { background: var(--paws-white) !important; color: #222 !important; border: 1px solid var(--paws-gold) !important; border-radius: 3px; padding: 3px 8px; }
body.skin-vector .vector-search-box-input::placeholder { color: #666; }
body.skin-vector #mw-panel, body.skin-vector .vector-legacy-sidebar { background: var(--paws-navy) !important; padding-top: 0.5em; min-height: 100vh; }
body.skin-vector #p-logo { height: auto !important; width: 100% !important; padding: 8px 10px !important; margin: 0 !important; background: transparent !important; }
body.skin-vector #p-logo a.mw-wiki-logo { display: block !important; width: 100% !important; height: 50px !important; background-size: contain !important; background-position: left center !important; background-repeat: no-repeat !important; background-color: transparent !important; }
body.skin-vector #mw-panel .vector-menu-heading, body.skin-vector #mw-panel h3 { color: var(--paws-gold) !important; border-bottom: 1px solid rgba(205,184,125,0.25); padding-bottom: 4px; margin-bottom: 6px; text-transform: uppercase; font-size: 0.75em; letter-spacing: 0.05em; font-weight: bold; background: transparent !important; }
body.skin-vector #mw-panel a, body.skin-vector #mw-panel .mw-list-item a, body.skin-vector #mw-panel .mw-list-item a span { color: var(--paws-white) !important; }
body.skin-vector #mw-panel a:visited, body.skin-vector #mw-panel .mw-list-item a:visited { color: #d4d8e8 !important; }
body.skin-vector #mw-panel a:hover, body.skin-vector #mw-panel .mw-list-item a:hover, body.skin-vector #mw-panel .mw-list-item a:hover span { color: var(--paws-gold-hover) !important; text-decoration: underline; }
body.skin-vector #content { border-left: 1px solid rgba(205,184,125,0.3); }
body.skin-vector #footer { background: transparent !important; border-top: 3px solid var(--paws-gold); padding: 2em 1.5em 3em 1.5em; }
body.skin-vector #footer, body.skin-vector #footer li { color: var(--paws-white) !important; }
body.skin-vector #footer a { color: var(--paws-gold) !important; }
body.skin-vector #footer a:hover { color: var(--paws-gold-hover) !important; text-decoration: underline; }