Improve events list style

This commit is contained in:
Saivann 2014-03-05 12:16:08 -05:00
parent 270c1019d3
commit 1a8b4c681a
3 changed files with 36 additions and 4 deletions

View file

@ -203,6 +203,11 @@ body{
display:inline; display:inline;
} }
.eventtable div div{
zoom:1;
display:inline;
}
.alert-message a:hover, .alert-message a:hover,
.alert-message a:hover:link, .alert-message a:hover:link,
.alert-message a:hover:active, .alert-message a:hover:active,

View file

@ -1091,6 +1091,28 @@ h2 .rssicon{
height:400px; height:400px;
margin-bottom:25px; margin-bottom:25px;
} }
.eventtable div{
padding:8px 0;
border-top:1px solid #E2E2E2;
}
.eventtable div:first-child{
border-top:0;
}
.eventtable div div{
display:inline-block;
padding:0;
border-top:0;
padding-right:20px;
}
.eventtable div div:first-child{
width:100px;
}
.eventtable div div:first-child+div{
width:300px;
}
.eventtable div div:first-child+div+div{
width:300px;
}
.summary{ .summary{
font-size:125%; font-size:125%;
@ -1450,6 +1472,12 @@ h2 .rssicon{
background:none; background:none;
height:auto; height:auto;
} }
.eventtable div div{
display:block;
}
.eventtable div div:first-child,.eventtable div div:first-child+div,.eventtable div div:first-child+div+div{
width:auto;
}
.press-faq>div{ .press-faq>div{
width:auto; width:auto;
display:block; display:block;

View file

@ -38,13 +38,12 @@ map.addLayer(markers);
{% else %} {% else %}
<h2>{% translate upcoming %}</h2> <h2>{% translate upcoming %}</h2>
{% endcase %} {% endcase %}
<ul> <div class="eventtable">
{% filter_for p in site.conferences sort_by:date %} {% filter_for p in site.conferences sort_by:date %}
<li> <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>
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a> - {{ p.city | htmlescape }}, {{ p.country | htmlescape }}
</li> </li>
{% endfilter_for %} {% endfilter_for %}
</ul> </div>
<ul> <ul>
<li>{% translate meetupgroup %}</li> <li>{% translate meetupgroup %}</li>