Skip to content

Commit

Permalink
Fix links and Youtube tile for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoChevalier committed Oct 26, 2014
1 parent 103a3c1 commit d3faf61
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Dépendances techniques :
=========================

Composer (Dependency Manager for PHP, http://getcomposer.org/)
php5-curl package, |sudo apt-get install php5-curl|


Installation :
Expand Down
20 changes: 20 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@
background: #666;
}

#promo-11 .youtube-logo {
display: none;
}

#player {
margin: 5px;
}
Expand Down Expand Up @@ -194,6 +198,14 @@
top: 1120px;
left: 320px;
}

#promo-11 .youtube-logo {
display: inline-block;
}

#promo-11 .youtube-video {
display: none;
}
}

@media only screen and (max-width: 659px) {
Expand All @@ -210,4 +222,12 @@
display: block;
left: 0px;
}

#promo-11 .youtube-logo {
display: inline-block;
}

#promo-11 .youtube-video {
display: none;
}
}
11 changes: 9 additions & 2 deletions includes/body.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<li id="promo-1" class="item promo-large-portrait mission" data-name="Application du jour" tabindex="0">
<h2 class="primary go">L’appli du jour</h2>
<img class="primary go" src="media/img/logo-marketplace.png" alt="Logo du Firefox Marketplace">
<a class="panel-link" href="https://www.mozfr.org">
<a class="panel-link" href="https://marketplace.firefox.com/popular">
<div class="secondary">
<h3>Chaque jour, découvrez une nouvelle application.</h3>
<p class="more">Découvrez l’application</p>
Expand Down Expand Up @@ -94,7 +94,14 @@
</a>
</li>
<li id="promo-11" class="item promo-large-landscape support" tabindex="0" data-name="Vidéo Youtube">
<div id="player"></div>
<div id="player" class="youtube-video"></div>
<h2 class="primary go youtube-logo">Chaîne Youtube<br>Firefox OS FR</h2>
<a class="panel-link youtube-logo" href="https://www.youtube.com/channel/UCbkLDekPQHxeTJZ8jPb8LBw">
<div class="secondary">
<h3>Découvrez Firefox&nbsp;OS en vidéo sur notre chaîne.</h3>
<p class="more">Découvrez la chaîne</p>
</div>
</a>
</li>
<li id="promo-12" class="item promo-large-landscape apps" data-name="Où acheter un téléphone" tabindex="0">
<h2 class="primary go">Où acheter un téléphone&nbsp;?</h2>
Expand Down
4 changes: 2 additions & 2 deletions includes/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<ul>
<li><a href="https://twitter.com/firefoxosfr">Twitter<span> (@firefoxosfr)</span></a></li>
<li><a href="https://www.facebook.com/firefoxosfr">Facebook<span> (Firefox OS FR)</span></a></li>
<li><a href="https://plus.google.com/b/102403271624576887074/102403271624576887074">Google+<span> (Firefox OS FR)</span></a></li>
<li><a href="https://www.youtube.com/firefoxchannel">YouTube<span> (firefoxchannel)</span></a></li>
<li><a href="https://plus.google.com/102403271624576887074" rel="publisher">Google+<span> (Firefox OS FR)</span></a></li>
<li><a href="https://www.youtube.com/channel/UCbkLDekPQHxeTJZ8jPb8LBw">YouTube<span> (Firefox OS FR)</span></a></li>
</ul>
</li>
<li>
Expand Down

0 comments on commit d3faf61

Please sign in to comment.