Master-Brent (talk | contribs) No edit summary |
Master-Brent (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
.infobox { | .infobox { | ||
background-color: #222; /* Dark gray background for the entire infobox */ | background-color: #222; /* Dark gray background for the entire infobox */ | ||
border: | border: 1px solid #0066cc; /* Blue border */ | ||
border-radius: 10px; /* Rounded corners */ | border-radius: 10px; /* Rounded corners */ | ||
color: #ffffff; /* White text */ | color: #ffffff; /* White text */ | ||
font-family: 'Arial', sans-serif; /* Modern, clean font */ | font-family: 'Arial', sans-serif; /* Modern, clean font */ | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Subtle shadow */ | /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); *//* Subtle shadow */ | ||
margin: 10px; | margin: 10px; | ||
float: right; /* Float to the right */ | float: right; /* Float to the right */ | ||
Line 28: | Line 28: | ||
.infobox td:first-child { | .infobox td:first-child { | ||
background-color: # | background-color: #222; /* Dark gray for label cells */ | ||
font-weight: bold; /* Bold text for labels */ | font-weight: bold; /* Bold text for labels */ | ||
padding: 5px; | padding: 5px; | ||
Line 35: | Line 35: | ||
.infobox td:last-child { | .infobox td:last-child { | ||
background-color: # | background-color: #222; /* Slightly lighter dark gray for data cells */ | ||
padding: 5px; | padding: 5px; | ||
} | } |
Revision as of 15:49, 9 June 2024
/* Modern Blue Theme for SimpleDarkInfobox */
.infobox {
background-color: #222; /* Dark gray background for the entire infobox */
border: 1px solid #0066cc; /* 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;
float: right; /* Float to the right */
clear: right; /* Align to the top right */
width: 300px; /* Fixed width */
}
.infobox th {
background-color: #0066cc; /* Blue background for headers */
color: #FFFFFF; /* White text for contrast */
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 */
}
.infobox td {
/* border-bottom: 1px solid #0066cc; *//* Blue row separator */
padding: 5px; /* Padding for table cells */
}
.infobox td:first-child {
background-color: #222; /* Dark gray for label cells */
font-weight: bold; /* Bold text for labels */
padding: 5px;
width: 40%; /* Fixed width for the label column */
}
.infobox td:last-child {
background-color: #222; /* Slightly lighter dark gray for data cells */
padding: 5px;
}
.infobox a {
color: #66ccff; /* Light blue for links */
text-decoration: none; /* Remove underline from links */
}
.infobox a:hover {
color: #3399ff; /* Bright blue for hovered links */
text-decoration: underline; /* Underline on hover */
}
/* Center the image within the infobox */
.infobox td img {
display: block;
margin: 0 auto;
}