Master-Brent (talk | contribs) No edit summary |
Master-Brent (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
.infobox-header { | .infobox-header { | ||
background-color: # | background-color: #fff; /* Blue background for header */ | ||
color: #FFFFFF; /* White text */ | color: #FFFFFF; /* White text */ | ||
padding: 10px; /* Padding for the header */ | padding: 10px; /* Padding for the header */ | ||
Line 61: | Line 61: | ||
display: block; | display: block; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | |||
.skin-citizen-light.infobox { | |||
background-color: #444; /* Dark gray background */ | |||
border: 2px solid #5c85d6; /* Modern blue border */ | |||
border-radius: 10px; /* Rounded corners */ | |||
color: #ffffff; /* White text */ | |||
font-family: 'Arial', sans-serif; /* Modern, clean font */ | |||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Subtle shadow */ | |||
margin: 10px; | |||
clear: right; /* Prevent overlap and allow stacking */ | |||
float: right; /* Float to the right */ | |||
width: 300px; /* Fixed width */ | |||
} | } |
Revision as of 12:01, 10 June 2024
/* Basic Infobox with Modern Blue and Dark Gray Theme using Divs */
.infobox {
background-color: #444; /* Dark gray background */
border: 2px solid #5c85d6; /* Modern blue border */
border-radius: 10px; /* Rounded corners */
color: #ffffff; /* White text */
font-family: 'Arial', sans-serif; /* Modern, clean font */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Subtle shadow */
margin: 10px;
clear: right; /* Prevent overlap and allow stacking */
float: right; /* Float to the right */
width: 300px; /* Fixed width */
}
.infobox-header {
background-color: #fff; /* Blue background for header */
color: #FFFFFF; /* White text */
padding: 10px; /* Padding for the header */
text-align: center; /* Center-align the header text */
font-size: 1.25em; /* Slightly larger text */
font-weight: bold; /* Bold header text */
border-top-left-radius: 8px; /* Match container rounding */
border-top-right-radius: 8px; /* Match container rounding */
}
.infobox-image {
text-align: center; /* Center the image */
padding: 10px; /* Padding for the image area */
}
.infobox-row {
display: flex; /* Use flexbox to layout label and value */
justify-content: space-between; /* Space out the label and value */
padding: 5px 10px; /* Padding for each row */
border-top: 1px solid #5c85d6; /* Blue border separator */
}
.infobox-label {
font-weight: bold; /* Bold text for labels */
flex: 1; /* Flex to take up space */
text-align: left; /* Align text to the left */
}
.infobox-value {
flex: 2; /* Flex to take more space */
text-align: right; /* Align text to the right */
}
.infobox-value a {
color: #66ccff; /* Light blue for links */
text-decoration: none; /* Remove underline from links */
}
.infobox-value a:hover {
color: #3399ff; /* Bright blue for hovered links */
text-decoration: underline; /* Underline on hover */
}
/* Center the image within the infobox */
.infobox img {
display: block;
margin: 0 auto;
}
.skin-citizen-light.infobox {
background-color: #444; /* Dark gray background */
border: 2px solid #5c85d6; /* Modern blue border */
border-radius: 10px; /* Rounded corners */
color: #ffffff; /* White text */
font-family: 'Arial', sans-serif; /* Modern, clean font */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Subtle shadow */
margin: 10px;
clear: right; /* Prevent overlap and allow stacking */
float: right; /* Float to the right */
width: 300px; /* Fixed width */
}