Tags: Manual revert Reverted |
Tags: Replaced Manual revert |
| Line 1: |
Line 1: |
| /* CSS placed here will be applied to all skins */ | | /* CSS placed here will be applied to all skins */ |
| /* Override styles for galleries with mode="nolines" */
| |
| .mw-gallery-nolines {
| |
| background-color: transparent; /* Or any color you prefer */
| |
| }
| |
|
| |
| .mw-gallery-nolines .gallerybox {
| |
| border: none; /* Ensure no border for gallery items */
| |
| margin: 0; /* Adjust or remove margin */
| |
| padding: 0; /* Adjust or remove padding */
| |
| }
| |
|
| |
| .mw-gallery-nolines .gallerybox .thumb {
| |
| background-color: inherit; /* Match parent's background or set a specific color */
| |
| border: none; /* No border around the thumb container */
| |
| }
| |
|
| |
| .mw-gallery-nolines .gallerybox .thumb img {
| |
| border: none; /* Remove any border on the image itself */
| |
| padding: 0; /* Remove padding around the image */
| |
| }
| |
|
| |
| .mw-gallery-nolines .gallerytext {
| |
| text-align: center; /* Center text if desired */
| |
| color: inherit; /* Or set a specific color */
| |
| }
| |
Revision as of 02:15, 20 January 2025
/* CSS placed here will be applied to all skins */