Template:TileLongTall: Difference between revisions

From Bodhicitta
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><style>
<includeonly><div id="{{{ id | }}}" class="{{#if: {{{ wrapper-classes | }}}
.tsdwiki-tile-library-img-tall {
    flex: 0 0 200px;
    max-width: 200px;
    min-height: 280px;
    background-color: #f5f5f0;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    order: -1;
}
 
@media (max-width: 767px) {
    .tsdwiki-tile-library-img-tall {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 220px;
        order: 0;
    }
}
</style><div id="{{{ id | }}}" class="{{#if: {{{ wrapper-classes | }}}
|{{{ wrapper-classes | }}}
|{{{ wrapper-classes | }}}
|{{#if: {{{ #userparam | }}}
|{{#if: {{{ #userparam | }}}
Line 31: Line 11:
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library " style="{{#if: {{{ min-height | }}}  
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library " style="{{#if: {{{ min-height | }}}  
| min-height: {{{ min-height | }}};  
| min-height: {{{ min-height | }}};  
| min-height: 280px;
| min-height: 320px;
}}">{{#ifeq:{{{ 5 | }}}|Classical Works||{{#ifeq:{{{ image | }}}|none||
}}">{{#ifeq:{{{ 5 | }}}|Classical Works||{{#ifeq:{{{ image | }}}|none||
{{#widget:TsdwikiImgDiv
{{#widget:TsdwikiImgDiv
|classes=tsdwiki-tile-library-img-tall
|classes=tsdwiki-tile-library-img
|style=flex: 0 0 240px; max-width: 240px; min-height: 320px;
|src={{#if:{{{ src-image | }}}
|src={{#if:{{{ src-image | }}}
|{{{ src-image | }}}
|{{{ src-image | }}}

Revision as of 15:42, 2 December 2025