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
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
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" */
/* Basic gallery styling */
.mw-gallery-nolines .gallerybox .thumb {
.mw-gallery-traditional, .mw-gallery-nolines, .mw-gallery-packed, .mw-gallery-packed-hover, .mw-gallery-packed-overlay {
     background-color: inherit; /* Match parent's background or set a specific color */
    background-color: transparent; /* Or your preferred background color */
     border: none; /* No border around the thumb container */
}
 
/* Override individual gallery items */
.mw-gallery-traditional .gallerybox,
.mw-gallery-nolines .gallerybox,
.mw-gallery-packed .gallerybox,
.mw-gallery-packed-hover .gallerybox,
.mw-gallery-packed-overlay .gallerybox {
    border: none; /* Remove border */
    margin: 0; /* Adjust spacing */
    padding: 0; /* Adjust padding */
}
 
/* Specifically target the thumb container */
.mw-gallery-traditional .gallerybox .thumb,
.mw-gallery-nolines .gallerybox .thumb,
.mw-gallery-packed .gallerybox .thumb,
.mw-gallery-packed-hover .gallerybox .thumb,
.mw-gallery-packed-overlay .gallerybox .thumb {
     background-color: inherit; /* Or specify a color */
    border: none; /* Remove border around thumb */
}
 
/* Image within thumb */
.mw-gallery-traditional .gallerybox .thumb img,
.mw-gallery-nolines .gallerybox .thumb img,
.mw-gallery-packed .gallerybox .thumb img,
.mw-gallery-packed-hover .gallerybox .thumb img,
.mw-gallery-packed-overlay .gallerybox .thumb img {
    border: none; /* Remove any image border */
    padding: 0; /* Remove any padding around the image */
}
 
/* Gallery text styling */
.mw-gallery-traditional .gallerytext,
.mw-gallery-nolines .gallerytext,
.mw-gallery-packed .gallerytext,
.mw-gallery-packed-hover .gallerytext,
.mw-gallery-packed-overlay .gallerytext {
    text-align: center; /* Center text if desired */
    color: inherit; /* Or set a specific color */
}
 
/* For mode="nolines" specifically */
.mw-gallery-nolines .gallerybox {
     border: none; /* Since nolines should have no border */
}
}

Revision as of 02:03, 20 January 2025

/* CSS placed here will be applied to all skins */
/* Basic gallery styling */
.mw-gallery-traditional, .mw-gallery-nolines, .mw-gallery-packed, .mw-gallery-packed-hover, .mw-gallery-packed-overlay {
    background-color: transparent; /* Or your preferred background color */
}

/* Override individual gallery items */
.mw-gallery-traditional .gallerybox, 
.mw-gallery-nolines .gallerybox, 
.mw-gallery-packed .gallerybox, 
.mw-gallery-packed-hover .gallerybox, 
.mw-gallery-packed-overlay .gallerybox {
    border: none; /* Remove border */
    margin: 0; /* Adjust spacing */
    padding: 0; /* Adjust padding */
}

/* Specifically target the thumb container */
.mw-gallery-traditional .gallerybox .thumb, 
.mw-gallery-nolines .gallerybox .thumb, 
.mw-gallery-packed .gallerybox .thumb, 
.mw-gallery-packed-hover .gallerybox .thumb, 
.mw-gallery-packed-overlay .gallerybox .thumb {
    background-color: inherit; /* Or specify a color */
    border: none; /* Remove border around thumb */
}

/* Image within thumb */
.mw-gallery-traditional .gallerybox .thumb img, 
.mw-gallery-nolines .gallerybox .thumb img, 
.mw-gallery-packed .gallerybox .thumb img, 
.mw-gallery-packed-hover .gallerybox .thumb img, 
.mw-gallery-packed-overlay .gallerybox .thumb img {
    border: none; /* Remove any image border */
    padding: 0; /* Remove any padding around the image */
}

/* Gallery text styling */
.mw-gallery-traditional .gallerytext, 
.mw-gallery-nolines .gallerytext, 
.mw-gallery-packed .gallerytext, 
.mw-gallery-packed-hover .gallerytext, 
.mw-gallery-packed-overlay .gallerytext {
    text-align: center; /* Center text if desired */
    color: inherit; /* Or set a specific color */
}

/* For mode="nolines" specifically */
.mw-gallery-nolines .gallerybox {
    border: none; /* Since nolines should have no border */
}