Skip to content

Commit

Permalink
Added media query for good rendering of content
Browse files Browse the repository at this point in the history
  • Loading branch information
code-reaper08 committed Jul 23, 2021
1 parent 20b6c62 commit 45ea2af
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
20 changes: 14 additions & 6 deletions assets/launch_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,19 @@ hr {
top: 0;
width: 100%;
} */

@media (max-width:768px){

.mobile-show{
display: none;
}
.mobile-show img {
width:300px;
height: auto;
}

@media (min-width:769px){

}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){
.mobile-show {display: inline;
width: 50pxpx;
height: 50px;}
.mobile-hide {display: none;}
}
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ <h2>Any Input</h2>
<!-- <a href="https://asciinema.org/a/14"><img src="https://asciinema.org/a/14.png" width="836"/></a> -->
<!-- <a href="https://asciinema.org/a/19519https://asciinema.org/a/14"><img src="https://asciinema.org/a/19519.png" width="836"/></a> -->
<!-- <a href="https://asciinema.org/a/19519" target="_blank"><img src="https://asciinema.org/a/19519.svg" /></a> -->
<a class="mobile-show" href="https://asciinema.org/a/19519" target="_blank"><img src="https://asciinema.org/a/19519.svg" /></a>
<div class="mobile-hide">
<script id="asciicast-19519" src="https://asciinema.org/a/19519.js" async></script>
</div>
</div>
</div>
<hr>
Expand Down

0 comments on commit 45ea2af

Please sign in to comment.