Improve core developers list layout

This commit is contained in:
Saivann 2014-05-27 08:18:01 -04:00
parent 7595014dd2
commit 73510fe526
3 changed files with 32 additions and 16 deletions

View file

@ -1057,6 +1057,16 @@ table td,table th{
background:url(/img/mini_ico_link.svg) no-repeat 0 4px; background:url(/img/mini_ico_link.svg) no-repeat 0 4px;
} }
.coredevtable div div:first-child{
width:200px;
}
.coredevtable div div:first-child+div{
width:220px;
}
.coredevtable div div:first-child+div+div{
width:80px;
}
.chatbox{ .chatbox{
text-align:center; text-align:center;
} }
@ -1412,14 +1422,14 @@ h2 .rssicon{
height:400px; height:400px;
margin-bottom:25px; margin-bottom:25px;
} }
.eventtable div{ .listtable div{
padding:8px 0; padding:8px 0;
border-top:1px solid #E2E2E2; border-top:1px solid #E2E2E2;
} }
.eventtable div:first-child{ .listtable div:first-child{
border-top:0; border-top:0;
} }
.eventtable div div{ .listtable div div{
display:inline-block; display:inline-block;
vertical-align:middle; vertical-align:middle;
text-align:left; text-align:left;
@ -1884,10 +1894,17 @@ h2 .rssicon{
background:none; background:none;
height:auto; height:auto;
} }
.eventtable div div{ .listtable div div{
display:block; display:block;
} }
.eventtable div div:first-child,.eventtable div div:first-child+div,.eventtable div div:first-child+div+div{ .eventtable div div:first-child,
.eventtable div div:first-child+div,
.eventtable div div:first-child+div+div{
width:auto;
}
.coredevtable div div:first-child,
.coredevtable div div:first-child+div,
.coredevtable div div:first-child+div+div{
width:auto; width:auto;
} }
.press-faq>div{ .press-faq>div{

View file

@ -23,15 +23,15 @@ id: development
{% endcase %} {% endcase %}
<h2>{% translate coredev %}</h2> <h2>{% translate coredev %}</h2>
<ul> <div class="listtable coredevtable">
<li>Satoshi Nakamoto - <a href="/satoshinakamoto.asc">PGP</a></li> <div><div>Satoshi Nakamoto</div><div></div><div><a href="/satoshinakamoto.asc">PGP</a></div></div>
<li>Gavin Andresen - <a href="mailto:gavinandresen@gmail.com">gavinandresen@gmail.com</a> - <a href="/gavinandresen.asc">PGP</a></li> <div><div>Gavin Andresen</div><div><a href="mailto:gavinandresen@gmail.com">gavinandresen@gmail.com</a></div><div><a href="/gavinandresen.asc">PGP</a></div></div>
<li>Pieter Wuille - <a href="mailto:pieter.wuille@gmail.com">pieter.wuille@gmail.com</a> - <a href="/pieterwuille.asc">PGP</a></li> <div><div>Pieter Wuille</div><div><a href="mailto:pieter.wuille@gmail.com">pieter.wuille@gmail.com</a></div><div><a href="/pieterwuille.asc">PGP</a></div></div>
<li>Nils Schneider - <a href="mailto:nils.schneider@gmail.com">nils.schneider@gmail.com</a> - <a href="/schneider.asc">PGP</a></li> <div><div>Nils Schneider</div><div><a href="mailto:nils.schneider@gmail.com">nils.schneider@gmail.com</a></div><div><a href="/schneider.asc">PGP</a></div></div>
<li>Jeff Garzik - <a href="mailto:jgarzik@bitpay.com">jgarzik@bitpay.com</a> - <a href="/jgarzik-bitpay.asc">PGP</a></li> <div><div>Jeff Garzik</div><div><a href="mailto:jgarzik@bitpay.com">jgarzik@bitpay.com</a></div><div><a href="/jgarzik-bitpay.asc">PGP</a></div></div>
<li>Wladimir J. van der Laan - <a href="mailto:laanwj@gmail.com">laanwj@gmail.com</a> - <a href="/laanwj.asc">PGP</a></li> <div><div>Wladimir J. van der Laan</div><div><a href="mailto:laanwj@gmail.com">laanwj@gmail.com</a></div><div><a href="/laanwj.asc">PGP</a></div></div>
<li>Gregory Maxwell - <a href="mailto:greg@xiph.org">greg@xiph.org</a> - <a href="/gmaxwell.asc">PGP</a></li> <div><div>Gregory Maxwell</div><div><a href="mailto:greg@xiph.org">greg@xiph.org</a></div><div><a href="/gmaxwell.asc">PGP</a></div></div>
</ul> </div>
{% case page.lang %} {% case page.lang %}
{% when 'ar' or 'fa' or 'id' or 'pl' or 'zh_TW' %} {% when 'ar' or 'fa' or 'id' or 'pl' or 'zh_TW' %}

View file

@ -39,10 +39,9 @@ map.addLayer(markers);
{% else %} {% else %}
<h2>{% translate upcoming %}</h2> <h2>{% translate upcoming %}</h2>
{% endcase %} {% endcase %}
<div class="eventtable"> <div class="listtable eventtable">
{% filter_for p in site.conferences sort_by:date %} {% filter_for p in site.conferences sort_by:date %}
<div><div>{{ p.date | date:"%Y-%m-%d" }}</div><div><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></div><div>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div></div> <div><div>{{ p.date | date:"%Y-%m-%d" }}</div><div><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></div><div>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div></div>
</li>
{% endfilter_for %} {% endfilter_for %}
</div> </div>