Skip to content

Commit

Permalink
Bug 1137904. Add headlines to MWC page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetto committed Feb 27, 2015
1 parent e8d5d23 commit d0bf649
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bedrock/firefox/templates/firefox/os/mwc-2015-preview.html
Expand Up @@ -65,6 +65,27 @@ <h2>{{ _('Mozilla at Mobile World Congress 2015') }}</h2>
</div>
</section>

<section id="news">
<div class="container">
<div class="left">
<h3>{{ _('In the news') }}</h3>
<a href="">{{ _('See all press') }}</a>
</div>

<div class="right">
{% set feed_links = firefox_os_feed_links(LANG) %}
{% if feed_links %}
<ul>
{% for link, title in feed_links[:3] %}
<li><a rel="external" href="{{ link }}">{{ title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</ul>
</div>
</div>
</section>

<section id="info">
<div class="container">
<h3>{{ _('Be part of our growing family of partners') }}</h3>
Expand Down
87 changes: 87 additions & 0 deletions media/css/firefox/os/mwc-2015-preview.less
Expand Up @@ -128,6 +128,49 @@ html, body {
}
}

#news {
position: relative;
background: #fff;
padding: (@baseLine * 3) 0;

.container {
.clearfix();
}

h3 {
.font-size(48px);
}

a {
color: #2bb8a0;
.trailing-arrow();
}

.left,
.right {
float: left;
width: 50%;
}

.left a {
.font-size(@largeFontSize);
}

ul {
margin: 0;
}

li {
list-style-type: none;
margin: 0 0 @baseLine;

a {
.font-size(20px);
font-style: italic;
}
}
}

#info {
position: relative;
background: #eaeff2;
Expand Down Expand Up @@ -550,6 +593,28 @@ html, body {
}
}

#news {
text-align: center;

h3 {
.font-size(28px);
}

.left,
.right {
float: none;
width: auto;
}

ul {
margin-top: @baseLine * 2;
}

li a {
.font-size(@largeFontSize);
}
}

#info {
h3 {
.font-size(28px);
Expand Down Expand Up @@ -675,6 +740,28 @@ html, body {
}
}

#news {
text-align: center;

h3 {
.font-size(28px);
}

.left,
.right {
float: none;
width: auto;
}

ul {
margin-top: @baseLine * 2;
}

li a {
.font-size(@largeFontSize);
}
}

#info {
h3 {
.font-size(28px);
Expand Down

0 comments on commit d0bf649

Please sign in to comment.