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

MediaWiki:Common.css

MediaWiki interface page
More languages
More actions
Revision as of 10:40, 7 June 2024 by Master-Brent (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Dark-themed Infobox Styles */
.dark-infobox {
  background-color: #222222; /* Dark black background */
  border: 1px 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: #0A4571; /* 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: 10px;
  background-color: #222222; /* 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: #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;
}