Modèle:MinecraftConnect/styles.css
De Nefald
Autres actions
/* Modèle MinecraftConnect - Style discret */
.mc-link {
display: inline-flex;
align-items: center;
gap: 4px;
white-space: nowrap;
}
.mc-connect {
text-decoration: underline;
color: #0645ad;
}
.mc-connect:hover {
color: #0b0080;
}
.mc-copy {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
padding: 0;
border: 1px solid #a2a9b1;
border-radius: 3px;
background: #f8f9fa;
cursor: pointer;
font-size: 12px;
line-height: 1;
transition: all 0.2s;
}
.mc-copy:hover {
background: #eaecf0;
border-color: #72777d;
}
.mc-copy:active {
background: #c8ccd1;
}
.mc-copied {
display: none;
color: #14866d;
font-weight: bold;
font-size: 14px;
animation: fadeInOut 2s;
}
.mc-copied.show {
display: inline;
}
@keyframes fadeInOut {
0%, 100% { opacity: 0; }
10%, 90% { opacity: 1; }
}
/* Style mobile */
@media (max-width: 768px) {
.mc-copy {
width: 24px;
height: 24px;
font-size: 14px;
}
}