Skip to content

Commit

Permalink
github button added
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammed committed Aug 25, 2019
1 parent 458f14e commit 14c4ab7
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 13 deletions.
32 changes: 26 additions & 6 deletions css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 29 additions & 6 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ body {
margin-bottom: 0;
font-size: 95px;
// filter: drop-shadow(0 2px 8px rgba(172, 184, 204, 0.3));
filter: drop-shadow(0 9px 6px rgba(172, 184, 204, 0.35));
// filter: drop-shadow(0 9px 6px rgba(172, 184, 204, 0.35));
filter: drop-shadow(0 11px 6px rgba(172, 184, 204, 0.45));
color: #fff;
}

Expand Down Expand Up @@ -164,7 +165,7 @@ body {
color: #71829e;
font-weight: 700;
font-size: 20px;
opacity: 0.7;
opacity: 0.5;
}
&__time {
margin-top: 2px;
Expand Down Expand Up @@ -210,13 +211,34 @@ body {
}
}

.github-btn {
position: absolute;
right: 40px;
bottom: 50px;
text-decoration: none;
padding: 15px 25px;
border-radius: 4px;
box-shadow: 0px 4px 30px -6px rgba(36, 52, 70, 0.65);
background: #24292e;
color: #fff;
font-weight: bold;
letter-spacing: 1px;
font-size: 16px;
transition: all .3s ease-in-out;

&:hover {
transform: scale(1.1);
box-shadow: 0px 17px 20px -6px rgba(36, 52, 70, 0.36);
}
}

//scale out

.scale-out-enter-active {
transition: all .3s ease-in-out;
transition: all .35s ease-in-out;
}
.scale-out-leave-active {
transition: all .3s ease-in-out;
transition: all .35s ease-in-out;
}
.scale-out-enter {
transform: scale(.55);
Expand All @@ -229,13 +251,14 @@ body {
opacity: 0;
}


//scale in

.scale-in-enter-active {
transition: all .3s ease-in-out;
transition: all .35s ease-in-out;
}
.scale-in-leave-active {
transition: all .3s ease-in-out;
transition: all .35s ease-in-out;
}
.scale-in-enter {
transform: scale(1.2);
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
</div>
<div v-cloak></div>
</div>
<a href="https://github.com/muhammederdem/mini-player" target="_blank" class="github-btn">
See on GitHub
</a>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
<script src="./scripts/script.js"></script>
Expand Down

0 comments on commit 14c4ab7

Please sign in to comment.