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 19:09, 6 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: #2F4F4F; /* Dark Slate Gray */
  border: 3px solid #5c4739; /* Lighter brown for the border */
  border-radius: 10px;
  width: 320px; /* Adjust as needed */
  color: #fff;
  font-family: 'Georgia', serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 10px;
  float: right; /* Float the infobox to the right */
}

.dark-infobox-title {
  background-color: #5c4739; /* Same as border */
  padding: 10px;
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  color: #FFFFFF;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.dark-infobox-image {
  text-align: center;
  padding: 10px;
  background-color: #3b3024; /* Darker brown */
}

.dark-infobox-label {
  font-weight: bold;
  padding: 5px;
  background-color: #3b3024; /* Darker brown */
  border-right: 1px solid #5c4739; /* Border between label and value */
  width: 40%; /* Adjust the label width */
}

.dark-infobox-value {
  padding: 5px;
  background-color: #2F4F4F; /* Dark Slate Gray */
}

.dark-infobox td {
  border-bottom: 1px solid #5c4739; /* Row separation */
}

.dark-infobox a {
  color: #ffcc66; /* Light brown/gold */
  text-decoration: none;
}

.dark-infobox a:hover {
  color: #ffa500; /* Orange */
  text-decoration: underline;
}