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 7: Line 7:
   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 */
/* 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 */

Revision as of 11:30, 9 June 2024

/* Dark-themed Infobox Styles */
.dark-infobox {
  background-color: #222222; /* Dark black background */
  border: 0px solid #0A4571; /* 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: #5c85d6; /* Maroon background for title */
  padding: 5px;
  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: 1px;
  background-color: #FFFFFF; /* Slightly lighter dark gray for image background */
}

.dark-infobox-image img {
  /* display: block; */
  display: flex;
  margin: 0 auto;
  background-color: #FFFFFF;
}

.dark-infobox-label {
  /* font-weight: bold; */
  /* padding: 5px; */
  background-color: #222222; /* Dark gray for labels */
  border-right: 1px solid #222222; /* 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 #222222; /* 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;
}