MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 284: Line 284:
.image-container img {
.image-container img {
     display: block;
     display: block;
     max-width: 100%; /* Ensure image scales within the container */
     max-width: 100%;  
     width: auto;
     width: auto;
     height: 400px; /* Maintain aspect ratio */
     height: 400px;  
}
}


Line 296: Line 296:
     transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
     color: black;
     color: black;
    background-color: rgba(255, 255, 255, 0.7); /* Slightly transparent for readability */
     padding: 10px;
     padding: 10px;
     text-align: center;
     text-align: center;
     font-size: 16pt;
     font-size: 16pt;
    line-height: 16.5pt;
     font-style: italic;
     font-style: italic;
     max-width: 90%; /* Adjust as needed */
     max-width: 90%;
     white-space: normal; /* Allow text wrapping */
     white-space: normal; /* Allow text wrapping */
     overflow: visible; /* Let the text be visible */
     overflow: visible; /* Let the text be visible */

Navigation menu