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

Template:Gallery1/styles.css

Template page
Revision as of 05:45, 21 September 2024 by HydeWing (talk | contribs)
/* Cargo temp fix */
.datatable table.dataTable {
    display: inline-block;
    overflow: auto;
}

table.dataTable.row-border tbody tr:first-child th, table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th, table.dataTable.display tbody tr:first-child td {
    width: var(--width-layout);
}

/* Cargo Table css */

table.dataTable {
    border-radius: var(--border-radius--medium);
    border: 1px solid var(--border-color-base);
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background: transparent;
    padding: 8px 12px;
}

 table.dataTable tbody th, table.dataTable tbody td {
    padding: 8px 12px;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    display: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #ededed9e;
    border-radius: 4px;
    border: none;
}


table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background: transparent;
}


table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
background-color: transparent;
}

table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
background-color: transparent;
}

/* DS */
.ds li.gallerybox {
    max-width: 240px !important;
}

.ds li.gallerybox div.thumb {
    min-height: 360px;
    display: flex;
    align-items: center;
    background: var(--color-surface-3);
}

.dshalf li.gallerybox {
    max-width: 240px !important;
}

.dshalf li.gallerybox div.thumb {
    min-height: 180px;
    display: flex;
    background: var(--color-surface-3);
}

.base li.gallerybox div.thumb {
    align-items: baseline;
}

.end li.gallerybox div.thumb {
    align-items: end;
}

/* 3DS */
.tds li.gallerybox {
    max-width: 240px !important;
}

/* table  */
ul.gallery.gallery.gallery {
    text-align: center;
    padding-left: 10px;
}

li.gallerybox{
    position: relative;
    border-radius: 6px;
    margin: 0px 5px 40px 5px;
    background: var(--color-surface-2);
    max-width: 260px;
    padding: 0px 0px 5px 0px;
    box-shadow: 0 2.8px 2.2px #2e32380d,0 6.7px 5.3px #2e32380d,0 12.5px 10px #2e32380d,0 20.3px 15.9px #2e32380d;
}
/*    box-shadow: 0 2.8px 2.2px #2e32380d, 0 6.7px 5.3px #2e32380d, 0 12.5px 10px #2e32380d, 0px 18px 17.9px #2e32380d, 0px 25px 33.4px #2e32380d;*/

li.gallerybox div.thumb {
   margin: 0px 0px 5px 0px;
   border-radius: 6px 6px 0px 0px;
   background: var(--color-surface-3);
}

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

div.gallerytext {
    font-size: small;
    text-align: left !important;
    padding: 0px 8px 0px 6px;
}

div.gallerytext > pre {
    position: absolute;
    right: 0%;
    top: 0%;
    font-family: inherit;
    color: #fbfbfbcf;
    border: none;
    overflow: hidden;
    font-size: inherit;
    background: #000000b0;
    text-overflow: ellipsis;
    padding: 4px 8px;
    border-radius: 4px 0px 0px 4px;
}

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

/* fix the boxes arr */
.pc2 li.gallerybox div.thumb img {
    max-width: 258px;
    object-fit: scale-down;
    height: 195px;
}

/* 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);
}


@media screen and (min-width: 480px) {
    .gallery {
        text-align: left !important;
    }
}

Advertising: