« Modèle:Accueil/Cadre/Brouillon » : différence entre les versions
De Nefald Wiki
Autres actions
création |
m MediaWiki compatible |
||
Ligne 1 : | Ligne 1 : | ||
<div class="cadre-accueil" style=" | <div class="cadre-accueil" style="background-image: url({{{image|}}}}); background-size: cover; background-position: center; border-radius: 8px; overflow: hidden; position: relative; height: 200px; margin: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform 0.3s ease, box-shadow 0.3s ease;"> | ||
[[{{{lien|}}}|<div style="display: block; height: 200px; text-decoration: none; color: white; position: relative;"> | |||
<div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 20px;"> | |||
<span style="font-size: 1.4em; font-weight: bold; color: white; display: block; margin-bottom: 5px;">{{{titre|}}}</span> | |||
<span style="font-size: 0.9em; opacity: 0.9; color: white;">{{{description|}}}</span> | |||
</div> | |||
</div>]] | |||
"> | |||
</div> | </div> | ||