Anonymous
×
Create a new article
Write your page title here:
We currently have 7 articles on wiki.jedimud.net. Type your article name above or click on one of the titles below and start writing!



wiki.jedimud.net

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Override border color to match parent background */
/* Override styles for the gallery box and thumb container */
/* For the container (assuming it's .thumb or .gallerybox) */
.gallerybox {
.gallerybox, .thumb {
     margin: 0;
     background-color: transparent; /* or match to parent's background */
     padding: 0;
     border: none; /* Remove border if you don't want it */
}
}


/* Alternatively, if you want to keep the border but change the background */
.gallerybox .thumb {
.gallerybox, .thumb {
     background-color: inherit ; /* Match parent's background */
     background-color: inherit; /* Inherit from parent */
    border: none ; /* Remove any border */
     border: 1px solid #315c27;
    width: 280px ; /* Match inline style */
    height: 150px ; /* Match inline style */
}
 
/* Ensure image itself doesn't add extra border or padding */
.gallerybox .thumb img {
     border: none ;
    padding: 0 ;
}
}

Revision as of 01:26, 20 January 2025

/* CSS placed here will be applied to all skins */
/* Override styles for the gallery box and thumb container */
.gallerybox {
    margin: 0;
    padding: 0;
}

.gallerybox .thumb {
    background-color: inherit ; /* Match parent's background */
    border: none ; /* Remove any border */
    width: 280px ; /* Match inline style */
    height: 150px ; /* Match inline style */
}

/* Ensure image itself doesn't add extra border or padding */
.gallerybox .thumb img {
    border: none ;
    padding: 0 ;
}