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 border color to match parent background */
.gallerybox .thumb img {
/* For the container (assuming it's .thumb or .gallerybox) */
     border: none;
.gallerybox, .thumb {
    background-color: transparent; /* or match to parent's background */
     border: none; /* Remove border if you don't want it */
}
}


/* To match the border with the parent's background color */
/* Alternatively, if you want to keep the border but change the background */
.gallerybox .thumb img {
.gallerybox, .thumb {
     /* Alternatively, if you know the parent's background color */
     background-color: inherit; /* Inherit from parent */
     border: 1px solid #315c27;
     border: 1px solid #315c27;
}
/* If you want to ensure the border matches the gallery item's background, assuming the gallery item has a defined background */
.gallerybox .thumb img {
    border: 1px solid currentColor; /* This will match the text color if set, or use the inherited color */
}
}

Revision as of 01:22, 20 January 2025

/* CSS placed here will be applied to all skins */
/* Override border color to match parent background */
/* For the container (assuming it's .thumb or .gallerybox) */
.gallerybox, .thumb {
    background-color: transparent; /* or match to parent's background */
    border: none; /* Remove border if you don't want it */
}

/* Alternatively, if you want to keep the border but change the background */
.gallerybox, .thumb {
    background-color: inherit; /* Inherit from parent */
    border: 1px solid #315c27;
}