Skip to content

Commit

Permalink
Add responsive 💅
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsopacifer committed Jul 13, 2019
1 parent 717ce1d commit f69c021
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ canvas {
left: calc(50% - (600px / 2));
}

@media screen and (max-width: 680px) {
canvas {
max-width: 100%;
left: 0;
}
}

.debug {
position: absolute;
left: 50%;
Expand All @@ -55,6 +62,12 @@ canvas {
padding: 15px;
}

@media screen and (max-width: 680px) {
.debug {
left: 15px;
}
}

.profile {
position: absolute;
top: 10px;
Expand All @@ -70,6 +83,12 @@ canvas {
align-items: center;
}

@media screen and (max-width: 680px) {
.profile {
left: 0;
}
}

.profile::before {
position: absolute;
content: '';
Expand Down

0 comments on commit f69c021

Please sign in to comment.