Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammed committed Aug 11, 2019
0 parents commit 1f11876
Show file tree
Hide file tree
Showing 8 changed files with 266 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# mini-player
78 changes: 78 additions & 0 deletions css/main.css

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

1 change: 1 addition & 0 deletions css/main.css.map

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

84 changes: 84 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
body {
// background: #e1e7ec;
background: #dfe7ef;
}

* {
box-sizing: border-box;
}

.icon {
display: inline-block;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
}

.wrapper {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: url(../img/bg.png) no-repeat center;
background-size: cover;
}

.player {
background: #eef3f7;
width: 410px;
height: 480px;
box-shadow: 0px 55px 75px -10px rgba(76, 70, 124, 0.5);
border-radius: 15px;
padding: 30px;

&__top {
display: flex;
align-items: flex-start;
}

&-cover {
width: 300px;
height: 300px;
margin-left: -70px;
flex-shrink: 0;

&__img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 15px;
}
}

&-controls {
flex: 1;
padding-left: 20px;
display: flex;
flex-direction: column;
align-items: center;

&__item {
display: inline-flex;
font-size: 30px;
padding: 5px;
margin-bottom: 20px;
color: #acb8cc;
cursor: pointer;
transition: all 0.3s ease-in-out;

&:hover {
color: #532ab9;
}

&.-xl {
margin-bottom: 0;
font-size: 95px;
filter: drop-shadow(0 2px 8px rgba(172, 184, 204, 0.3));
color: #fff;
}
}
}
}
Binary file added img/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions img/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1f11876

Please sign in to comment.