Jump to content

MediaWiki:Vector-dark.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:ital,wght@0,400;0,700;1,400&family=Metamorphous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:ital,wght@0,400;0,700;1,400&family=Metamorphous&display=swap');
/* 🟠 Dark Theme - Header */
/* 🟠 Dark Theme - Header */
.vector-header-container .mw-header, .vector-header-container .vector-sticky-header  {
.vector-header-container .mw-header, .vector-header-container .vector-sticky-header  {
Line 667: Line 667:
         font-family: 'Metamorphous', cursive;
         font-family: 'Metamorphous', cursive;
         font-size: 1.2em;
         font-size: 1.2em;
        display: block;
         color: #FFB84D;
         color: #FFB84D;
        text-align: center;
         padding-bottom: 5px;
         padding-bottom: 5px;
     }
     }
Line 1,217: Line 1,217:
      
      
     height: auto; /* Maintain aspect ratio */
     height: auto; /* Maintain aspect ratio */
    display: flex;
     margin: 2px; /* Center the image */
     margin: 2px; /* Center the image */
}
}
Line 1,228: Line 1,227:
     justify-content: center; /* Horizontal centering */
     justify-content: center; /* Horizontal centering */
     align-items: center; /* Vertical centering (optional, for consistency) */
     align-items: center; /* Vertical centering (optional, for consistency) */
}
.pi-image-collection .pi-image + .pi-caption {
    display: block;
    text-align: center; /* Centers the caption */
    font-style: italic; /* Optional: Makes the text italic */
    font-size: 90%; /* Optional: Slightly smaller font */
    margin-top: 5px; /* Space between image and caption */
}
}