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:
/* Leather Infobox Style */
/* Dark-themed Infobox Styles */
.leather-infobox {
.dark-infobox {
   background-color: #555D50; /* Dark brown leather color */
   background-color: #2F4F4F; /* Dark Slate Gray */
   border: 3px solid #2F4F4F; /* Lighter brown for the border */
   border: 3px solid #5c4739; /* Lighter brown for the border */
   border-radius: 5px;
   border-radius: 10px;
  padding: 15px;
   width: 320px; /* Adjust as needed */
   width: 320px; /* Adjust as needed */
   color: #fff;
   color: #fff;
   font-family: 'Georgia', serif;
   font-family: 'Georgia', serif;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   margin: 10px auto;
   margin: 10px;
   float: right; /* Float the infobox to the right */
   float: right; /* Float the infobox to the right */
}
}


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


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


.leather-infobox-image {
.dark-infobox-label {
   text-align: left;
   font-weight: bold;
   margin-bottom: 15px;
   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 {
.leather-infobox-label {
   padding: 5px;
   font-weight: bold;
   background-color: #2F4F4F; /* Dark Slate Gray */
  margin-bottom: 2px;
   border-bottom: 1px solid #5c4739;
  padding-bottom: 3px;
}
}


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


/* Add specific styles for links */
.dark-infobox a {
.leather-infobox a {
   color: #ffcc66; /* Light brown/gold */
   color: #ffcc66; /* Light brown/gold */
   text-decoration: none;
   text-decoration: none;
}
}


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

Revision as of 19:09, 6 June 2024

/* 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;
}