[Git][reproducible-builds/reproducible-website][master] sponsors: center the cards in the rows

Mattia Rizzolo gitlab at salsa.debian.org
Sun Apr 18 11:32:30 UTC 2021



Mattia Rizzolo pushed to branch master at Reproducible Builds / reproducible-website


Commits:
599891ce by Mattia Rizzolo at 2021-04-18T13:32:03+02:00
sponsors: center the cards in the rows

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


2 changed files:

- index.md
- sponsor.md


Changes:

=====================================
index.md
=====================================
@@ -114,7 +114,7 @@ We are proud to be [sponsored by]({{ "/sponsors/" | relative_url }}):
 
 <div class="row bg-light p-md-4 p-sm-2 pt-5 pb-5">
     {% for x in sponsors %}
-    <div class="col-xs-12 col-sm-6 mb-6">
+    <div class="col-xs-12 col-sm-6 mb-6 mx-auto">
         <div class="card text-center h-100">
             <a href="{{ x.url }}" name="{{ x.name }}">
                 <img class="p-5 project-img sponsor-img-platinum" src="{{ x.logo | prepend: "/assets/images/sponsors/" | relative_url }}" alt="{{ x.name }}">


=====================================
sponsor.md
=====================================
@@ -32,7 +32,7 @@ The majority of sponsorship funds go directly towards supporting the Reproducibl
 {% if sponsors.size != 0 %}
 <div class="row bg-light p-md-4 p-sm-2 pt-5 pb-5">
     {% for x in sponsors %}
-    <div class="col-xs-12 col-sm-6 mb-6">
+    <div class="col-xs-12 col-sm-6 mb-6 mx-auto">
         <div class="card text-center h-100">
             <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 }}">
@@ -63,7 +63,7 @@ The majority of sponsorship funds go directly towards supporting the Reproducibl
 <div class="row bg-light p-md-4 p-sm-2 pt-5 pb-5">
     {% assign xs = site.data.sponsors_nonfiscal | sort: 'name' %}
     {% for x in xs %}
-    <div class="col-xs-12 col-sm-6 mb-6">
+    <div class="col-xs-12 col-sm-6 mb-6 mx-auto">
         <div class="card text-center h-100">
             <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 }}">



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/599891ce8ddf10ce36b4260223ca708e3839d755

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/599891ce8ddf10ce36b4260223ca708e3839d755
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20210418/63e80fac/attachment.htm>


More information about the rb-commits mailing list