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, .gallerybox .thumb .mw-file-element {
.gallerybox .thumb img {
     border: 1px solid;  
    border: none;
}
 
/* To match the border with the parent's background color */
.gallerybox .thumb img {
    /* Alternatively, if you know the parent's background color */
    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:17, 20 January 2025

/* CSS placed here will be applied to all skins */
/* Override border color to match parent background */
.gallerybox .thumb img {
    border: none;
}

/* To match the border with the parent's background color */
.gallerybox .thumb img {
    /* Alternatively, if you know the parent's background color */
    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 */
}