MediaWiki:Common.css: Difference between revisions

dark mode other elements
No edit summary
Line 668: Line 668:
     /* ── Image frames & captions ────────────────────── */
     /* ── Image frames & captions ────────────────────── */
     .thumb,
     .thumb,
     .thumbinner {
     div.thumb,
         background-color: #1e1e1c;
    .thumbinner,
         border-color: #3a3a38;
    div.thumbinner,
         color: var(--bs-text-primary);
    table.thumb,
    .tright,
    .tleft,
    .tnone {
         background-color: #1e1e1c !important;
         border-color: #3a3a38 !important;
         color: var(--bs-text-primary) !important;
    }
 
    .thumbimage,
    div.thumbimage {
        background-color: #1e1e1c !important;
        border-color: #3a3a38 !important;
     }
     }


     .thumbcaption,
     .thumbcaption,
     .thumbimage,
     div.thumbcaption,
     div.thumbcaption {
     .thumbinner .thumbcaption {
         color: var(--bs-text-muted);
        background-color: #1e1e1c !important;
         background-color: #1e1e1c;
         color: var(--bs-text-muted) !important;
         border-top: 1px solid #3a3a38 !important;
     }
     }


     /* magnify icon link */
     /* magnify icon */
     .thumbcaption .magnify a {
     .thumbcaption .magnify a,
         color: var(--bs-gray-400);
    .thumbcaption .magnify a:visited {
         color: var(--bs-gray-400) !important;
     }
     }


     /* plain image frames (not thumbs) */
     /* plain [[File:...|frame]] images */
     .frame,
     .frame,
     div.frame {
     div.frame,
         background-color: #1e1e1c;
    .framebox {
         border-color: #3a3a38;
         background-color: #1e1e1c !important;
         color: var(--bs-text-primary);
         border-color: #3a3a38 !important;
         color: var(--bs-text-primary) !important;
    }
 
    /* image border when using |border option */
    .mw-body-content img {
        background-color: transparent !important;
    }
 
    /* gallery thumbnails */
    li.gallerybox .thumb {
        background-color: #252523 !important;
        border-color: #3a3a38 !important;
    }
    li.gallerybox div.gallerytext {
        background-color: #1e1e1c !important;
        color: var(--bs-text-muted) !important;
     }
     }