Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
More languages
More actions
No edit summary
No edit summary
Line 1: Line 1:
/* Custom styles for SimpleDarkInfobox */
/* Modern Blue Theme for SimpleDarkInfobox */
.infobox {
.infobox {
   background-color: #333; /* Dark gray background */
   background-color: #222; /* Dark gray background for the entire infobox */
   border: 2px solid #800000; /* Maroon border */
   border: 2px solid #0066cc; /* Blue border */
   border-radius: 10px; /* Rounded corners */
   border-radius: 10px; /* Rounded corners */
   color: #fff; /* 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 */
Line 14: Line 14:


.infobox th {
.infobox th {
   background-color: #800000; /* Maroon background for headers */
   background-color: #0066cc; /* Blue background for headers */
   color: #FFFFFF; /* White text for contrast */
   color: #FFFFFF; /* White text for contrast */
   padding: 10px; /* Padding for the header */
   padding: 10px; /* Padding for the header */
Line 23: Line 23:


.infobox td {
.infobox td {
   border-bottom: 1px solid #800000; /* Maroon row separator */
   border-bottom: 1px solid #0066cc; /* Blue row separator */
   padding: 5px; /* Padding for table cells */
   padding: 5px; /* Padding for table cells */
}
}
Line 35: Line 35:


.infobox td:last-child {
.infobox td:last-child {
   background-color: #222; /* Darker background for data cells */
   background-color: #333; /* Slightly lighter dark gray for data cells */
   padding: 5px;
   padding: 5px;
}
}


.infobox a {
.infobox a {
   color: #FFCC99; /* Light maroon/gold for links */
   color: #66ccff; /* Light blue for links */
   text-decoration: none; /* Remove underline from links */
   text-decoration: none; /* Remove underline from links */
}
}


.infobox a:hover {
.infobox a:hover {
   color: #FF6666; /* Light red for hovered links */
   color: #3399ff; /* Bright blue for hovered links */
   text-decoration: underline; /* Underline on hover */
   text-decoration: underline; /* Underline on hover */
}
/* Center the image within the infobox */
.infobox td img {
  display: block;
  margin: 0 auto;
}
}

Revision as of 15:36, 9 June 2024

/* Modern Blue Theme for SimpleDarkInfobox */
.infobox {
  background-color: #222; /* Dark gray background for the entire infobox */
  border: 2px 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: #444; /* 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: #333; /* 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;
}