« Modèle:Wiki/NavCard » : différence entre les versions
De Nefald Wiki
Autres actions
mAucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly> | <includeonly> | ||
<div class="wiki-nav-card"> | |||
[[{{{lien|{{{titre}}}}}}| | |||
<div style="height: 100%; display: flex; flex-direction: column;"> | |||
<div style="height: 80px; background-image: url('{{{image|}}}'); background-size: cover; background-position: center; background-color: #374151; margin: -15px -15px 10px -15px;"></div> | |||
<div style="flex-grow: 1;"> | |||
<div style="font-weight: 600; color: var(--color-base, #f9fafb); margin-bottom: 4px;">{{{titre}}}</div> | |||
<div style="font-size: 0.85rem; color: var(--color-base--subtle, #9ca3af);">{{{description}}}</div> | |||
</div> | |||
</div> | |||
]] | |||
</div> | |||
</includeonly> | </includeonly> |