Difference between revisions of "Template:Card"

(Created page with "{{#css: .card{ transition:0.2s ease-in; display:flex; } .card:hover { box-shadow:0px 0px 7px 0px rgba(0,0,0,.6); z-index:99; position:relative; } .card:hover .cardImg...")
 
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
outline:none;
outline:none;
opacity:1.0;
opacity:1.0;
}
.card:hover .secondaryCard a{
text-decoration:none;
color:#282828;
}
}


Line 78: Line 73:
.secondaryCard a{
.secondaryCard a{
color:#1A5793;
color:#1A5793;
    text-decoration:none;
}
}


Line 89: Line 85:
}
}
}}<div class="card {{#if:{{{bottomCard|}}}|vertical|horizontal}} {{#if:{{{cardClass|}}}|{{{cardClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>
}}<div class="card {{#if:{{{bottomCard|}}}|vertical|horizontal}} {{#if:{{{cardClass|}}}|{{{cardClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>
     <div class="mainCard {{#if:{{{image|}}}|cardImg}}">{{#if:{{{image|}}}|[[File:{{{image}}}.png|link={{{imagelink}}}]]|{{{mainCard}}}}}</div>{{#if:{{{secondaryCard|}}}{{{bottomCard|}}}|
     <div class="mainCard {{#if:{{{image|}}}|cardImg}}">{{#if:{{{image|}}}|[[File:{{{image}}}|link={{{imagelink}}}]]|{{{mainCard}}}}}</div>{{#if:{{{secondaryCard|}}}{{{bottomCard|}}}|
     <div class="secondaryCard">{{{secondaryCard|{{{bottomCard}}}}}}</div>}}
     <div class="secondaryCard">{{{secondaryCard|{{{bottomCard}}}}}}</div>}}
</div><noinclude>[[Category:Site templates]]</noinclude>
</div><noinclude>[[Category:Site templates]]</noinclude>

Latest revision as of 22:06, 23 March 2022

{{{mainCard}}}