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

who: center all logos

parent f1ddf531
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -77,7 +77,10 @@ main {
    }

    &.project-img {
      max-height: 165px;
      height: 165px;
      object-fit: contain;
      width: 100%;
      padding: 2rem;
    }
    &.sponsor-img-platinum {
      max-height: 250px;
+2 −5
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@ permalink: /who/projects/
Various free software projects are working on providing reproducible builds to their users and developers:
{: .lead}

<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">
    {% assign projects = site.data.projects | sort_natural: "name" %}
    {% for project in projects %}
    <div class="col-xs-12 col-sm-6 col-lg-4 col-xl-3 mb-4">
        <div class="card" name="{{ project.name }}">
            <a href="{{ project.url }}" name="{{ project.name }}">
                <img class="p-5 project-img" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}" alt="{{ project.name }}">
                <img class="project-img" src="{{ project.logo | prepend: "/images/logos/" | relative_url }}" alt="{{ project.name }}">
            </a>
            <div class="card-body">
                <h4 class="card-title"><a href="{{ project.url }}">{{ project.name }}</a></h4>
@@ -40,6 +40,3 @@ Various free software projects are working on providing reproducible builds to t
    </div>
    {% endfor %}
</div>

<br>
+17 −14
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ If you are interested in the work of the Reproducible Builds project, please con
{: .lead}


#### Fiscal sponsors
### Fiscal sponsors

The majority of sponsorship funds go directly towards supporting the Reproducible Builds project, such as development and server expenses. A small portion of the funds are set aside for the Conservancy to continue their work in supporting Reproducible Builds and other open source initiatives.

@@ -35,12 +35,15 @@ The majority of sponsorship funds go directly towards supporting the Reproducibl
#### {{ level | capitalize }}
{% assign sponsors = site.data.sponsors[level] | sort: 'name' %}
{% if sponsors.size != 0 %}
<div class="row bg-light p-md-4 p-sm-2 pt-5 pb-5">
<div class="row bg-light p-md-4 p-sm-2 py-5">
    {% for x in sponsors %}
    <div class="col-xs-12 col-sm-6 mb-6 pb-3 mx-auto">
        <div class="card text-center h-100">
        <div class="card">
            <a href="{{ x.url }}" name="{{ x.name }}">
                <img class="p-5 project-img{% if level == "platinum" %} sponsor-img-platinum{% endif %}" src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}" alt="{{ x.name }}">
                <img
                    class="project-img{% if level == "platinum" %} sponsor-img-platinum{% endif %}"
                    src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}"
                    alt="{{ x.name }}">
            </a>
        </div>
    </div>
@@ -63,35 +66,35 @@ The majority of sponsorship funds go directly towards supporting the Reproducibl
</ul>
{% endif %}

#### Non-fiscal sponsors
### Non-fiscal sponsors

<div class="row bg-light p-md-4 p-sm-2 pt-5 pb-5">
<div class="row bg-light p-md-4 p-sm-2 py-5">
    {% assign xs = site.data.sponsors_nonfiscal | sort: 'name' %}
    {% for x in xs %}
    <div class="col-xs-12 col-sm-6 mb-6 mx-auto mb-3">
        <div class="card text-center h-100">
        <div class="card">
            <a href="{{ x.url }}" name="{{ x.name }}">
                <img class="px-5 pt-5 pb-2 project-img" src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}" alt="{{ x.name }}">
                <img class="project-img" src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}" alt="{{ x.name }}">
            </a>
            <div class="card-body">
                <small class="text-muted">({{ x.description }})</small>
            <div class="card-body text-center pt-0">
                <small class="text-muted">{{ x.description }}</small>
            </div>
        </div>
    </div>
    {% endfor %}
</div>

#### Former sponsors
### Former sponsors

We used to sponsored by these entities

<div class="row bg-light p-md-4 p-sm-2 pt-5 pb-5">
<div class="row bg-light p-md-4 p-sm-2 py-5">
    {% assign xs = site.data.sponsors['old'] | sort: 'name' %}
    {% for x in xs %}
    <div class="col-xs-12 col-sm-6 col-md-4 col-xl-3 mb-3 mx-auto">
        <div class="card text-center h-100">
        <div class="card">
            <a href="{{ x.url }}" name="{{ x.name }}">
                <img class="px-5 pt-5 pb-2 project-img" src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}" alt="{{ x.name }}">
                <img class="px-5 py-2 project-img" src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}" alt="{{ x.name }}">
            </a>
        </div>
    </div>