Modèle:QRLink/styles.css
De Nefald
Autres actions
.qr-link-wrapper {
position: relative;
display: flex;
align-items: center;
width: 380px;
max-width: 100%;
min-height: 100px;
padding: 14px;
border-radius: 12px;
margin: 10px 0;
box-sizing: border-box;
cursor: pointer;
/* Ajouts pour l'effet hover */
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.qr-link-wrapper:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
/* LIEN INVISIBLE EN OVERLAY */
.qr-link-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
}
.qr-link-overlay a {
display: block;
width: 100%;
height: 100%;
text-decoration: none !important;
font-size: 0;
color: transparent;
}
.qr-link-overlay a:after {
display: none !important;
}
/* QR CODE */
.qr-link-qr {
background: white;
padding: 6px;
border-radius: 6px;
width: 80px;
height: 80px;
flex-shrink: 0;
margin-right: 14px;
display: flex;
align-items: center;
justify-content: center;
}
.qr-link-qr svg {
width: 100%;
height: 100%;
display: block;
}
/* CONTENU TEXTE */
.qr-link-content {
flex: 1;
color: white;
line-height: 1.4;
}
.qr-link-title {
font-weight: bold;
font-size: 1.15em;
}
.qr-link-desc {
font-size: 0.85em;
opacity: 0.85;
}