Apply an independant adapted layout for releases, alerts and events

This commit is contained in:
Saivann 2013-07-11 16:55:35 -04:00
parent 35481f80c1
commit f744532805
4 changed files with 26 additions and 22 deletions

View file

@ -7,7 +7,7 @@ lang: en
<link rel="canonical" href="http://bitcoin.org/en/alert/{{ page.redirect }}"/> <link rel="canonical" href="http://bitcoin.org/en/alert/{{ page.redirect }}"/>
{% endif %} {% endif %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts"> <link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
<div class="versiontext"> <div class="alerttext">
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1> <h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
{{ content }} {{ content }}
<div style="text-align:right"> <div style="text-align:right">

View file

@ -678,10 +678,6 @@ li p{
background-image:none; background-image:none;
} }
.versiontext{
text-align:left;
margin-bottom:40px;
}
h1 .rssicon{ h1 .rssicon{
vertical-align:bottom; vertical-align:bottom;
margin-bottom:9px; margin-bottom:9px;
@ -692,6 +688,16 @@ h2 .rssicon{
margin-bottom:7px; margin-bottom:7px;
margin-left:10px; margin-left:10px;
} }
.versiontext{
text-align:left;
margin-bottom:40px;
max-width:600px;
}
.alerttext{
margin-bottom:40px;
}
.alertstatusinactive{ .alertstatusinactive{
font-size:130%; font-size:130%;
color:#0d579b; color:#0d579b;

View file

@ -3,19 +3,17 @@ layout: base
id: events id: events
--- ---
<link rel="alternate" type="application/rss+xml" href="/en/rss/events.rss" title="Bitcoin conferences and events"> <link rel="alternate" type="application/rss+xml" href="/en/rss/events.rss" title="Bitcoin conferences and events">
<div class="versiontext"> <h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
<h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1> <p class="summary">{% translate pagedesc %}</p>
<p class="summary">{% translate pagedesc %}</p> <ul>
<ul> {% filter_for p in site.pages sort_by:date category:event %}
{% filter_for p in site.pages sort_by:date category:event %} <li>
<li> {{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.link }}">{{ p.title }}</a> - {{ p.city }}, {{ p.country }}
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.link }}">{{ p.title }}</a> - {{ p.city }}, {{ p.country }} </li>
</li> {% endfilter_for %}
{% endfilter_for %} </ul>
</ul> <ul>
<ul> <li>{% translate meetupbitcointalk %}</li>
<li>{% translate meetupbitcointalk %}</li> <li>{% translate meetupwiki %}</li>
<li>{% translate meetupwiki %}</li> <li>{% translate meetupgroup %}</li>
<li>{% translate meetupgroup %}</li> </ul>
</ul>
</div>

View file

@ -5,7 +5,7 @@ id: alerts
title: Network status and alerts - Bitcoin title: Network status and alerts - Bitcoin
--- ---
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts"> <link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
<div class="versiontext"> <div class="alerttext">
<h1>Network status and alerts<a type="application/rss+xml" href="/en/rss/alerts.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1> <h1>Network status and alerts<a type="application/rss+xml" href="/en/rss/alerts.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
{% assign active = false %}{% filter_for p in site.pages reversed sort_by:date category:alert %}{% if p.active == true %}{% assign active = true %}{% endif %}{% endfilter_for %} {% assign active = false %}{% filter_for p in site.pages reversed sort_by:date category:alert %}{% if p.active == true %}{% assign active = true %}{% endif %}{% endfilter_for %}
{% if active == false %} {% if active == false %}