Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added icon in back to top button and added letter spacing on hover #1020

Merged
merged 2 commits into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@


<!-- Back-to-top Button -->
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa fa-2x fa-arrow-up"></i></button>

<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fas fa-angle-double-up"></i></button>
<button id="back-to-top-btn"><i class="fas fa-angle-double-up"></i></button>


Expand Down Expand Up @@ -357,6 +358,9 @@
<a class="box-item" href="https://github.com/napster-ansh"><span>Ansh Jain</span></a>
<a class="box-item" href="https://github.com/smriti2411"><span>Smriti Gupta</span></a>
<a class="box-item" href="https://github.com/davidtheweiss"><span>David Weiss</span></a>
<a class="box-item" href="https://github.com/gulshanjakhon"><span>Gulshan Jakhon</span></a>
<a class="box-item" href="https://github.com/Sonalanand102"><span>Sonal Anand</span></a>



<!-- Please maintain the alignment... -->
Expand Down
16 changes: 14 additions & 2 deletions css/contributors.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ body {
transition: 0.5s;
}


.container {
position: relative;
color: var(--container-text);
Expand Down Expand Up @@ -165,7 +166,9 @@ a:hover {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
transition: color 0.5s ease-in;
/* transition: color 0.5s ease-in; */
letter-spacing: 0px;
transition: letter-spacing 0.5s;
}

@media (min-width: 768px) {
Expand Down Expand Up @@ -195,6 +198,10 @@ a:hover {

.box-item:hover {
color: #fff;
letter-spacing: 2px;
font-weight: bold;
transition: left 1s cubic-bezier(0.86, 0, 0.07, 1);

}

.box-item::before {
Expand Down Expand Up @@ -230,6 +237,7 @@ a:hover {

.box-item:hover::after {
left: calc(0% - 10px);

transition: left 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

Expand All @@ -253,6 +261,9 @@ a:hover {
color: #fff;
}

.box-item:hover a span{
letter-spacing: 4px;}

.box-item.different-color {
background-color: #a7eded;
}
Expand Down Expand Up @@ -693,7 +704,8 @@ body {
color: white;
cursor: pointer;
padding: 15px;
border-radius: 4px;
border-radius: 50%;
width: 60px;
}

#myBtn:hover {
Expand Down