Skip to content
Browse files

Bug 816565 - home page video promo

  • Loading branch information...
1 parent 5536d75 commit 16d0952b794034becf9dfa3748f81586fcbac7cf @craigcook craigcook committed Dec 20, 2012
View
17 apps/mozorg/templates/mozorg/home.html
@@ -49,7 +49,21 @@
<div class="pager-content">
- <div class="pager-page default-page" id="promo-ptwtshirt">
+ <div class="pager-page default-page" id="promo-storyvideo">
+ <script>// <![CDATA[
+ document.getElementById('promo-ptwtshirt').id = 'page-promo-storyvideo';
+ // ]]></script>
+ <a href="https://donate.mozilla.org/Mozilla-Story7?WT.mc_id=mostoryvideo&amp;WT.mc_ev=click" class="container">
+ <img src="{{ media('img/home/promo-storyvideo.jpg') }}" alt="">
+ <div>
+ <h3>{{_('Help us build a better Web')}}</h3>
+ <h4>{{_('Watch the video to see how Mozilla keeps the Web a force for good in the world.')}}</h4>
+ </div>
+ </a>
+ </div>
+
+{# Temporarily removing this promo - it will be coming back soon. Bug 816565
+ <div class="pager-page" id="promo-ptwtshirt">
<script>// <![CDATA[
document.getElementById('promo-ptwtshirt').id = 'page-promo-ptwtshirt';
// ]]></script>
@@ -62,6 +76,7 @@
</div>
</a>
</div>
+#}
<div class="pager-page" id="promo-android">
<script>// <![CDATA[
View
42 media/css/home.less
@@ -354,6 +354,22 @@
width: 100%;
}
}
+
+ #promo-storyvideo,
+ #page-promo-storyvideo {
+ background-color: #c8352b;
+ h3 {
+ font-size: 36px;
+ }
+ h4 {
+ font-size: 28px;
+ width: auto;
+ }
+ div {
+ width: auto;
+ margin: 20px 40px 0 380px;
+ }
+ }
}
/* }}} */
@@ -423,6 +439,19 @@
width: 70%;
}
}
+
+ #promo-storyvideo,
+ #page-promo-storyvideo {
+ h3 {
+ font-size: 32px;
+ }
+ h4 {
+ font-size: 22px;
+ }
+ div {
+ margin: 20px 30px 0 290px;
+ }
+ }
}
#home-news,
@@ -551,6 +580,19 @@
width: auto;
}
}
+
+ #promo-storyvideo,
+ #page-promo-storyvideo {
+ h3 {
+ font-size: 32px;
+ }
+ h4 {
+ font-size: 20px;
+ }
+ div {
+ margin: 0;
+ }
+ }
}
View
BIN media/img/home/promo-storyvideo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 16d0952

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