feat: script copied message

main
Antonio De Lucreziis 5 months ago
parent 2ee7bf9054
commit 8b3bff999d

@ -59,7 +59,8 @@ p {
text-align: center;
}
pre, code {
pre,
code {
font-family: 'Fira Code', 'Menlo', monospace;
}
@ -146,11 +147,35 @@ input[type='text'] {
font-size: 28px;
}
&:hover {
background: #f2f2f2;
}
&:active {
position: relative;
&::after {
content: 'Script Copied!';
font-size: 15px;
font-weight: 600;
line-height: 1;
border-radius: 0.5rem;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: grid;
place-content: center;
background: #ddd;
color: #333;
}
}
@media screen and (max-width: 768px) {
&:nth-child(1) {
font-size: 24px;

Loading…
Cancel
Save