Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove GitHub ribbon when screen < 450px

  • Loading branch information...
commit 96bbb0b0180d5ac8584af4069365a8c395745916 1 parent 004da80
Etienne Lemay EtienneLem authored

Showing 3 changed files with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 0  css/styles.css
  2. +3 0  css/styles.scss
  3. +1 1  index.html
3  css/styles.css
@@ -868,6 +868,9 @@ html[os="iPhone/iPod"] #game #player-cards .card, html[os="iPhone/iPod"] #game #
868 868 height: 337.333333px; }
869 869 #game .card .icons {
870 870 display: none; } }
  871 +@media screen and (max-width: 450px) {
  872 + #github-ribbon {
  873 + display: none; } }
871 874 @media screen and (max-width: 480px) and (max-height: 320px) {
872 875 #game h1 {
873 876 margin: 2% auto 0 auto; }
3  css/styles.scss
@@ -665,6 +665,9 @@ html[os="iPhone/iPod"] {
665 665 }
666 666 }
667 667 }
  668 +@media screen and (max-width: 450px) {
  669 + #github-ribbon { display: none; }
  670 +}
668 671 @media screen and (max-width: 480px) and (max-height: 320px){
669 672 #game {
670 673 h1 {
2  index.html
@@ -12,7 +12,7 @@
12 12 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
13 13 </head>
14 14 <body>
15   - <a href="https://github.com/heliom/bytesjack"><img style="z-index: 1; position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
  15 + <a id="github-ribbon" href="https://github.com/heliom/bytesjack"><img style="z-index: 1; position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
16 16 <div id="game">
17 17 <h1>BytesJack</h1>
18 18 <div id="dealer-cards">

0 comments on commit 96bbb0b

Please sign in to comment.
Something went wrong with that request. Please try again.