MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 104: Line 104:




----
/* Style the infobox wrapper */
.infobox-wrapper {
.infobox-wrapper {
   display: flex;
   display: flex;
   justify-content: flex-end; /* Position infobox to the right */
   background-color: #f8f8f8;
   align-items: flex-start;
  border: 2px solid #ddd;
  border-radius: 10px;
   padding: 20px;
  margin: 10px auto;
  max-width: 600px;
}
}


/* Style the content on the left */
/* Style the content on the left */
.content {
.content {
   flex: 1; /* Takes up remaining space on the left */
   flex: 1;
   padding: 10px; /* Add padding as needed */
   padding: 10px;
}
}


/* Style the infobox on the right */
/* Style the character name */
.infobox {
.content h2 {
   width: 300px; /* Adjust the width as needed */
   text-align: center;
   padding: 10px; /* Add padding as needed */
  font-size: 24px;
   color: #333;
}
}


/* Style the name-box (centered "Name" section) */
/* Style the character image */
.name-box {
.content img {
   text-align: center;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
 
/* Style the character details */
.content p {
  font-size: 16px;
  margin: 10px 0;
}
 
/* Style the horizontal line */
.content hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 20px 0;
}
 
/* Style the aptitude and blessings */
.content p:last-child {
   font-weight: bold;
  color: #0073e6;
}
}
contributors, Interface administrators, uploadaccess
875

edits