« Modèle:MinecraftConnect/styles.css » : différence entre les versions
De Nefald
Autres actions
Page créée avec « →Modèle MinecraftConnect : .minecraft-connect-wrapper { display: inline-flex; align-items: center; gap: 8px; position: relative; } .minecraft-connect-link { display: inline-flex; align-items: center; padding: 8px 16px; background: linear-gradient(135deg, #3a8c3e 0%, #2d6b30 100%); color: white !important; text-decoration: none !important; border-radius: 6px; font-weight: 600; font-size: 14px; transition... » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* Modèle MinecraftConnect */ | /* Modèle MinecraftConnect - Style discret */ | ||
. | .mc-link { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 4px; | ||
white-space: nowrap; | |||
} | } | ||
. | .mc-connect { | ||
text-decoration: underline; | |||
color: #0645ad; | |||
text-decoration: | |||
} | } | ||
. | .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: | border-radius: 3px; | ||
border-radius: | background: #f8f9fa; | ||
cursor: pointer; | cursor: pointer; | ||
font-size: | font-size: 12px; | ||
line-height: 1; | |||
transition: all 0.2s; | |||
} | } | ||
. | .mc-copy:hover { | ||
background: # | background: #eaecf0; | ||
border-color: # | border-color: #72777d; | ||
} | } | ||
. | .mc-copy:active { | ||
background: #c8ccd1; | |||
} | } | ||
. | .mc-copied { | ||
display: none; | |||
color: #14866d; | |||
font-weight: bold; | |||
font-size: 14px; | |||
animation: fadeInOut 2s; | |||
font-size: | |||
} | } | ||
.mc-copied.show { | |||
display: inline; | |||
} | } | ||
@keyframes fadeInOut { | |||
0%, 100% { opacity: 0; } | |||
10%, 90% { opacity: 1; } | |||
} | } | ||
/* | /* Style mobile */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .mc-copy { | ||
width: 24px; | |||
height: 24px; | |||
font-size: 14px; | |||
} | } | ||
} | } | ||
Version du 10 novembre 2025 à 06:56
/* 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;
}
}