MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→Light Theme Styles: body:not(.dark-theme) .infobox { background-color: #ffffff; color: #000000; border: 1px solid #ddd; } body:not(.dark-theme) .infobox th { background-color: #f4f4f4; color: #000000; } body:not(.dark-theme) .infobox td { background-color: #f9f9f9; } →Dark Theme Styles: body.dark-theme .infobox { background-color: #2e2e2e; color: #ffffff; border: 1px solid #444; } body.dark-theme .infobox th { backgrou..." |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Ensures it applies only to your infobox */ | ||
.purely-evil-infobox { | |||
background-color: # | background-color: #2e2e2e; | ||
color: | color: white; | ||
border: 1px solid # | border: 1px solid #444; | ||
border-radius: 10px; | |||
font-family: Verdana, sans-serif; | |||
padding: 10px; | |||
width: 250px; | |||
margin: 10px; | |||
} | } | ||
.purely-evil-infobox .infobox-title { | |||
background-color: # | font-size: 150%; | ||
font-weight: bold; | |||
color: white; | |||
background-color: #333; | |||
padding: 5px; | |||
text-align: center; | |||
text-shadow: 2px 2px 5px red; | |||
} | } | ||
.purely-evil-infobox .infobox-label { | |||
color: white; | |||
font-weight: bold; | |||
margin-top: 5px; | |||
} | } | ||
.purely-evil-infobox .infobox-data { | |||
color: #ccc; | |||
margin-top: 2px; | |||
} | } | ||
.purely-evil-infobox .infobox-label, | |||
.purely-evil-infobox .infobox-data { | |||
font-size: 14px; | |||
} | } |
Revision as of 11:31, 8 October 2025
/* Ensures it applies only to your infobox */
.purely-evil-infobox {
background-color: #2e2e2e;
color: white;
border: 1px solid #444;
border-radius: 10px;
font-family: Verdana, sans-serif;
padding: 10px;
width: 250px;
margin: 10px;
}
.purely-evil-infobox .infobox-title {
font-size: 150%;
font-weight: bold;
color: white;
background-color: #333;
padding: 5px;
text-align: center;
text-shadow: 2px 2px 5px red;
}
.purely-evil-infobox .infobox-label {
color: white;
font-weight: bold;
margin-top: 5px;
}
.purely-evil-infobox .infobox-data {
color: #ccc;
margin-top: 2px;
}
.purely-evil-infobox .infobox-label,
.purely-evil-infobox .infobox-data {
font-size: 14px;
}