Commit 5722bf65 authored by Jacoba Neighbourhood's avatar Jacoba Neighbourhood Committed by Chris Lamb
Browse files

citest: center all logos and make cards have same size

parent c02c15e0
Loading
Loading
Loading
Loading
+15 −28
Original line number Diff line number Diff line
@@ -12,19 +12,15 @@ The following projects are tested within the reproducible test infrastructure.
Click the different links to see current tests and results.
</div>

<div class="projects row bg-light p-md-5 p-sm-3 pt-5 pb-5">
<div class="projects row bg-light p-md-5 p-sm-3 py-5">
    {% for project in site.data.projects %}
    {% if project.tests and project.tests_disabled != true and project.tests_external != true %}
    <div class="col-xs-12 col-sm-6 col-lg-4 col-xl-3 mb-4">
        <div class="card text-center" name="{{ project.name }}">
            <ul class="list-group list-group-flush">
                <li class="list-group-item">
            <a href="{{ project.tests }}">
                        <h4>{{ project.name }}</h4>
                        <img class="card-img p-5" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}">
                <img class="project-img" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}" alt="{{ project.name }}">
                <h4 class="mt-0">{{ project.name }}</h4>
            </a>
                </li>
            </ul>
        </div>
    </div>
    {% endif %}
@@ -37,19 +33,15 @@ Click the different links to see current tests and results.
The following projects are being tested outside the reproducible test infrastructure.
</div>

<div class="projects row bg-light p-md-5 p-sm-3 pt-5 pb-5">
<div class="projects row bg-light p-md-5 p-sm-3 py-5">
    {% for project in site.data.projects %}
    {% if project.tests and project.tests_external == true %}
    <div class="col-xs-12 col-sm-6 col-lg-4 col-xl-3 mb-4">
        <div class="card text-center" name="{{ project.name }}">
            <ul class="list-group list-group-flush">
                <li class="list-group-item">
            <a href="{{ project.tests }}">
                        <h4>{{ project.name }}</h4>
                        <img class="card-img p-5" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}">
                <img class="project-img" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}" alt="{{ project.name }}">
                <h4 class="mt-0">{{ project.name }}</h4>
            </a>
                </li>
            </ul>
        </div>
    </div>
    {% endif %}
@@ -63,22 +55,17 @@ The following projects were once tested within the reproducible test infrastruct
are disabled as they became unmaintained. Please contact us if you want to revive them.
</div>

<div class="projects row bg-light p-md-5 p-sm-3 pt-5 pb-5">
<div class="projects row bg-light p-md-5 p-sm-3 py-5">
    {% for project in site.data.projects %}
    {% if project.tests and project.tests_disabled == true %}
    <div class="col-xs-12 col-sm-6 col-lg-4 col-xl-3 mb-4">
        <div class="card text-center" name="{{ project.name }}">
            <ul class="list-group list-group-flush">
                <li class="list-group-item">
            <a href="{{ project.tests }}">
                        <h4>{{ project.name }}</h4>
                        <img class="card-img p-5" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}">
                <img class="project-img" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}" alt="{{ project.name }}">
                <h4 class="mt-0">{{ project.name }}</h4>
            </a>
                </li>
            </ul>
        </div>
    </div>
    {% endif %}
    {% endfor %}
</div>