1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-16 11:35:11 +02:00

Add copy to clipboard button to website

This commit is contained in:
Thomas Bui
2021-12-19 23:30:15 -08:00
parent a039c1b2aa
commit d08971df1a
4 changed files with 119 additions and 21 deletions

View File

@@ -350,6 +350,37 @@ header {
header .icons-list img {
max-width: 100%; }
input[type='color'] {
width: 1.25em;
height: 1.25em;
margin-left: 0.5em;
}
.copyBtn {
height: 1.25em;
width: 1.25em;
margin-left: 0.25em;
position: relative;
top: 0.5em;
border-radius: 20%;
padding: 0.25em;
box-sizing: content-box;
transition: background-color 0.25s;
}
.copyBtn:hover {
cursor: pointer;
background-color: #2D804E;
}
.tooltip {
visibility: hidden;
background-color: #2D804E;
border-radius: 0.25em;
padding: 0.25em;
}
.borders {
position: fixed;
top: 0;
@@ -408,10 +439,4 @@ header {
.footer {
margin-top: 6rem;
text-align: center; }
input[type='color'] {
width: 1.25em;
height: 1.25em;
margin-left: 0.5em;
}
text-align: center; }