Skip to content

Commit 8847a84

Browse files
committed
Fix ECG
1 parent 5d1ddb9 commit 8847a84

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

css/responsive-table.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,17 @@
3030
white-space: nowrap;
3131
}
3232

33+
.projects-1 {
34+
margin-bottom: 0;
35+
}
36+
3337
/* Label the data */
34-
td:nth-of-type(1):before { content: "Geocoder"; }
35-
td:nth-of-type(2):before { content: "GeocoderBundle (Symfony2)"; }
36-
td:nth-of-type(3):before { content: "GeocoderModule (ZF2)"; }
37-
td:nth-of-type(4):before { content: "GeocodableBehavior (Propel)"; }
38-
td:nth-of-type(5):before { content: "StackGeoIp"; }
38+
.projects-1 td:nth-of-type(1):before { content: "Geocoder"; }
39+
.projects-1 td:nth-of-type(2):before { content: "GeocoderBundle (Symfony2)"; }
40+
.projects-1 td:nth-of-type(3):before { content: "GeocoderModule (ZF2)"; }
41+
.projects-1 td:nth-of-type(4):before { content: "GeocodableBehavior (Propel)"; }
42+
43+
.projects-2 td:nth-of-type(1):before { content: "StackGeoIp"; }
3944

4045
.ecg td {
4146
text-align: left;

index.markdown

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
layout: home
33
projects:
4-
- { name: Geocoder, description: Geocoder }
5-
- { name: BazingaGeocoderBundle, description: GeocoderBundle (Symfony2) }
6-
- { name: GeocoderModule, description: GeocoderModule (ZF2) }
7-
- { name: GeocodableBehavior, description: GeocodableBehavior (Propel) }
8-
- { name: StackGeoIp, description: StackGeoIp }
4+
-
5+
- { name: Geocoder, description: Geocoder }
6+
- { name: BazingaGeocoderBundle, description: GeocoderBundle (Symfony2) }
7+
- { name: GeocoderModule, description: GeocoderModule (ZF2) }
8+
- { name: GeocodableBehavior, description: GeocodableBehavior (Propel) }
9+
-
10+
- { name: StackGeoIp, description: StackGeoIp }
911
---
1012

1113
Geocoder
@@ -75,17 +77,18 @@ Geocoder ECG (Build Status)
7577
**Geocoder** is heavily unit tested. We use [Travis-CI](http://travis-ci.org) to
7678
automatically build our projects, and here are the statuses:
7779

78-
<table width="100%" class="ecg">
80+
{% for projects in page.projects %}
81+
<table width="100%" class="ecg projects-{{ forloop.index }}">
7982
<thead>
8083
<tr>
81-
{% for project in page.projects %}
84+
{% for project in projects %}
8285
<th><a href="{{ site.github_base_url }}{{ project.name }}">{{ project.description }}</a></th>
8386
{% endfor %}
8487
</tr>
8588
</thead>
8689
<tbody>
8790
<tr>
88-
{% for project in page.projects %}
91+
{% for project in projects %}
8992
<td>
9093
<a href="{{ site.travis_base_url }}{{ project.name }}">
9194
<img src="{{ site.travis_base_url }}{{ project.name }}.png" class="travis-ci" />
@@ -95,3 +98,4 @@ automatically build our projects, and here are the statuses:
9598
</tr>
9699
</tbody>
97100
</table>
101+
{% endfor %}

0 commit comments

Comments
 (0)