Skip to content

Commit

Permalink
Merge pull request #13 from maihunsandip/maihunsandip
Browse files Browse the repository at this point in the history
Made the website fully responsive.
  • Loading branch information
ZiaCodes authored Oct 2, 2021
2 parents 74b55f7 + 06c4783 commit 8256560
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 2 deletions.
53 changes: 53 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

body{
font-family: 'Noto Sans', sans-serif;
overflow-x: hidden;
}
.navigation{
display: flex;
Expand Down Expand Up @@ -200,3 +201,55 @@ body{
color: #E1306C;
}

/* ------- responsive ------------ */
@media(max-width:767px){
.editor{
display: flex;
flex-direction: column;
position: relative;
left: 50%;
transform: translate(-36%);
height: 110vh;
}
.editor > .tool{
height: 100%;
width: 70%;
order: 2;
}
.editor > .tool > .essential-tool{
top: 50%;
transform: translateY(-110%);
padding: 20px;
margin: 20px;
}
.editor > .tool > .essential-tool > .action-tool{
padding: 10px;
}
.editor > .tool > .essential-tool > .action-tool > .fas{
width: 50px;
}
.editor > .canvas{
order: 1;
height: 100%;
width: 70%;
}
.uploaded-img-container{
height: 200px;
width: 200px;
}
.editor > .canvas > .img-box{
height: 300px;
width: 400px;
top: 5%;
background-size: contain;
}
.navigation > .download-img > .save-now{
position: relative;
top: 66rem;
right: 152%;
padding: 10px;
}
.footer{
margin-top: 100px;
}
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

<section class="footer">
<div class="logo">
<p>#quickphotoEdito</p>
<p>#quickphotoEditor</p>
</div>
<div class="useful-links">
<ul>
Expand All @@ -102,7 +102,7 @@
<li><a href="#"><i class="fab fa-instagram"></i></a></li>
</ul>
</div>
</section>
</section>
<script src="./js/app.js"></script>
</body>
</html>

1 comment on commit 8256560

@vercel
Copy link

@vercel vercel bot commented on 8256560 Oct 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.