Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Gallery/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 8: Line 8:


.ds li.gallerybox div.thumb {
.ds li.gallerybox div.thumb {
     max-height: 210px;
     max-width: 220px;
    display:flex;
}
}



Revision as of 08:32, 22 July 2024

li.gallerybox{
    position: relative;
    border-radius: 8px;
    margin: 0px 2px 40px 2px;
    background: var(--color-surface-2);
    max-width: 280px;
}

.ds li.gallerybox div.thumb {
    max-width: 220px;
}

li.gallerybox div.thumb {
   margin: 0px;
   border-radius: 8px 8px 0px 0px;
}

li.gallerybox div.thumb img {
    opacity: 0.95;
    background: var(--color-surface-3);
    border-radius: inherit;
}

div.gallerytext {
    font-size: small;
}

div.gallerytext > pre {
    margin-top: -18px !important;
    margin-bottom: -10px !important;
    font-family: inherit;
    color: #808080cf;
    border: none;
    overflow: hidden;
    font-size: inherit;
}

div.gallerytext p {
   white-space: nowrap;
   text-overflow: ellipsis;
   overflow: hidden;
   padding: 8px;
}

/* fix the boxes arr */
.pc2 li.gallerybox div.thumb img {
    min-width: 278px;
    object-fit: fill;
    height: 210px;
}

/* box center */
.pc2 ul.mw-gallery-nolines li.gallerybox div.thumb {
    display: flex;
    align-items: center;
    background: var(--color-surface-3);
    border: 1px solid var(--color-surface-3);
}

Advertising: