Master-Brent (talk | contribs) No edit summary |
Master-Brent (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* Dark-themed Infobox Styles */ | /* Dark-themed Infobox Styles */ | ||
.dark-infobox { | .dark-infobox { | ||
background-color: # | background-color: #222222; /* Dark black background */ | ||
border: 3px solid # | border: 3px solid #800000; /* Maroon for the border */ | ||
border-radius: 10px; | border-radius: 10px; | ||
width: 320px; /* Adjust as needed */ | width: 320px; /* Adjust as needed */ | ||
color: #fff; | color: #fff; /* White text color for contrast */ | ||
font-family: 'Georgia', serif; | font-family: 'Georgia', serif; /* Elegant font */ | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0. | 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 */ | ||
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 { | .dark-infobox-title { | ||
background-color: # | background-color: #800000; /* Maroon background for title */ | ||
padding: 10px; | padding: 10px; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
color: #FFFFFF; | color: #FFFFFF; /* White text color for contrast */ | ||
border-top-left-radius: 7px; | border-top-left-radius: 7px; | ||
border-top-right-radius: 7px; | border-top-right-radius: 7px; | ||
Line 26: | Line 29: | ||
text-align: center; | text-align: center; | ||
padding: 10px; | padding: 10px; | ||
background-color: # | background-color: #333333; /* Slightly lighter dark gray for image background */ | ||
} | |||
.dark-infobox-image img { | |||
display: block; | |||
margin: 0 auto; | |||
} | } | ||
Line 32: | Line 40: | ||
font-weight: bold; | font-weight: bold; | ||
padding: 5px; | 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 39: | Line 47: | ||
.dark-infobox-value { | .dark-infobox-value { | ||
padding: 5px; | padding: 5px; | ||
background-color: # | background-color: #222222; /* Dark black background for values */ | ||
} | } | ||
.dark-infobox td { | .dark-infobox td { | ||
border-bottom: 1px solid # | border-bottom: 1px solid #800000; /* Maroon row separation */ | ||
} | } | ||
.dark-infobox a { | .dark-infobox a { | ||
color: # | color: #FFCC99; /* Light maroon/gold for links */ | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.dark-infobox a:hover { | .dark-infobox a:hover { | ||
color: # | color: #FF6666; /* Light red for hover effect */ | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } |
Revision as of 19:55, 6 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;
width: 320px; /* Adjust as needed */
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;
}