Template:Profile card/styles.css: Difference between revisions
Appearance
Cherrykano (talk | contribs) Created page with "→Alternate versions of Module:Infobox/styles.css without alignment: .profilecard { border: 1px solid #a2a9b1; color: black; padding: 0.2em; font-size: 88%; line-height: 1.7em; border-spacing: 3px; border-radius: 8px; } .profilecard-header { line-height: 2.1em; font-size: 100%; border-radius: 5px; text-align: center; →DO NOT set background-color here to preserve template-defined color: } .profilecard-label { line-height: 2.1em; background-color: #f..." |
Cherrykano (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
.profilecard-header { | .profilecard-header { | ||
line-height: 2.1em; | line-height: 2.1em; | ||
border-radius: 5px; | border-radius: 5px; | ||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | text-align: center; | ||
padding: 0.2em; | |||
/* DO NOT set background-color here to preserve template-defined color */ | /* DO NOT set background-color here to preserve template-defined color */ | ||
} | } | ||
Line 30: | Line 32: | ||
.profilecard td { | .profilecard td { | ||
letter-spacing: 0.2px; | letter-spacing: 0.2px; | ||
} | } |
Latest revision as of 02:21, 3 June 2025
/* Alternate versions of Module:Infobox/styles.css without alignment */ .profilecard { border: 1px solid #a2a9b1; color: black; padding: 0.2em; font-size: 88%; line-height: 1.7em; border-spacing: 3px; border-radius: 8px; } .profilecard-header { line-height: 2.1em; border-radius: 5px; font-size: 125%; font-weight: bold; text-align: center; padding: 0.2em; /* DO NOT set background-color here to preserve template-defined color */ } .profilecard-label { line-height: 2.1em; background-color: #f2f2f2; border-radius: 5px; text-align: center; } .profilecard th { text-align: center; } .profilecard td { letter-spacing: 0.2px; } /* Dark theme overrides - night mode (clientpref-night) */ @media screen { html.skin-theme-clientpref-night .profilecard { background-color: #101418 !important; color: #f8f9fa !important; border-color: #444 !important; } html.skin-theme-clientpref-night .profilecard .profilecard-label { background-color: #2a2a2a !important; color: #ffffff !important; } html.skin-theme-clientpref-night .profilecard td, html.skin-theme-clientpref-night .profilecard th { color: #f0f0f0 !important; } html.skin-theme-clientpref-night .profilecard .profilecard-header { color: #ffffff !important; /* Do not override background-color to preserve custom/module header colors */ } } /* Dark theme overrides - auto dark mode (prefers-color-scheme: dark) */ @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .profilecard { background-color: #101418 !important; color: #f8f9fa !important; border-color: #444 !important; } html.skin-theme-clientpref-os .profilecard .profilecard-label { background-color: #2a2a2a !important; color: #ffffff !important; } html.skin-theme-clientpref-os .profilecard td, html.skin-theme-clientpref-os .profilecard th { color: #f0f0f0 !important; } html.skin-theme-clientpref-os .profilecard .profilecard-header { color: #ffffff !important; /* Preserve bright custom headers like Aqours */ } }