Master-Brent (talk | contribs) No edit summary |
Master-Brent (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
.dark-infobox { | .dark-infobox { | ||
background-color: #222222; /* Dark black background */ | background-color: #222222; /* Dark black background */ | ||
border: | border: 3px solid #800000; /* Maroon for the border */ | ||
border-radius: 10px; | border-radius: 10px; | ||
color: #fff; /* White text color for contrast */ | color: #fff; /* White text color for contrast */ | ||
font-family: 'Georgia', serif; /* Elegant font */ | font-family: 'Georgia', serif; /* Elegant font */ | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Subtle shadow for modern look */ | |||
margin: 10px; | margin: 10px; | ||
float: right; /* Float the infobox to the right */ | float: right; /* Float the infobox to the right */ | ||
Line 16: | Line 15: | ||
.dark-infobox-title { | .dark-infobox-title { | ||
background-color: # | background-color: #800000; /* Maroon background for title */ | ||
padding: | padding: 10px; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
Line 28: | Line 27: | ||
.dark-infobox-image { | .dark-infobox-image { | ||
text-align: center; | text-align: center; | ||
padding: | padding: 10px; | ||
background-color: # | background-color: #333333; /* Slightly lighter dark gray for image background */ | ||
} | } | ||
.dark-infobox-image img { | .dark-infobox-image img { | ||
display: block; | |||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
.dark-infobox-label { | .dark-infobox-label { | ||
font-weight: bold; | |||
padding: 5px; | |||
background-color: # | background-color: #444444; /* Dark gray for labels */ | ||
border-right: 1px solid # | border-right: 1px solid #800000; /* Maroon border between label and value */ | ||
width: 40%; /* Adjust the label width */ | width: 40%; /* Adjust the label width */ | ||
} | } | ||
Line 53: | Line 50: | ||
.dark-infobox td { | .dark-infobox td { | ||
border-bottom: 1px solid # | border-bottom: 1px solid #800000; /* Maroon row separation */ | ||
} | } | ||
Revision as of 14:26, 9 June 2024
/* Dark-themed Infobox Styles */
.dark-infobox {
background-color: #222222; /* Dark black background */
border: 3px solid #800000; /* Maroon for the border */
border-radius: 10px;
color: #fff; /* White text color for contrast */
font-family: 'Georgia', serif; /* Elegant font */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Subtle shadow for modern look */
margin: 10px;
float: right; /* Float the infobox to the right */
clear: right; /* Ensure it aligns at the top right */
position: relative; /* Enable positioning adjustments if needed */
top: 0; /* Align to the top */
}
.dark-infobox-title {
background-color: #800000; /* Maroon background for title */
padding: 10px;
font-size: 1.5em;
text-align: center;
font-weight: bold;
color: #FFFFFF; /* White text color for contrast */
border-top-left-radius: 7px;
border-top-right-radius: 7px;
}
.dark-infobox-image {
text-align: center;
padding: 10px;
background-color: #333333; /* Slightly lighter dark gray for image background */
}
.dark-infobox-image img {
display: block;
margin: 0 auto;
}
.dark-infobox-label {
font-weight: bold;
padding: 5px;
background-color: #444444; /* Dark gray for labels */
border-right: 1px solid #800000; /* Maroon border between label and value */
width: 40%; /* Adjust the label width */
}
.dark-infobox-value {
padding: 5px;
background-color: #222222; /* Dark black background for values */
}
.dark-infobox td {
border-bottom: 1px solid #800000; /* Maroon row separation */
}
.dark-infobox a {
color: #FFCC99; /* Light maroon/gold for links */
text-decoration: none;
}
.dark-infobox a:hover {
color: #FF6666; /* Light red for hover effect */
text-decoration: underline;
}