[Git][reproducible-builds/reproducible-website][master] Make the projects page a little nicer.

Chris Lamb gitlab at salsa.debian.org
Sat Dec 22 11:10:41 CET 2018


Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
96c9b98a by Chris Lamb at 2018-12-22T10:10:34Z
Make the projects page a little nicer.

- - - - -


2 changed files:

- assets/styles/custom.scss
- who.md


Changes:

=====================================
assets/styles/custom.scss
=====================================
@@ -11,4 +11,8 @@ main {
     margin: 2rem auto;
     display: block;
   }
+
+  .projects .card-title a {
+    color: inherit;
+  }
 }


=====================================
who.md
=====================================
@@ -24,7 +24,7 @@ their users.
 
 ## Projects
 
-<div class="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 pt-5 pb-5">
     {% for project in site.data.projects %}
     <div class="col-xl-4 col-sm-6 col-xs-12 mb-4">
         <div class="card" name="{{ project.name }}">
@@ -33,13 +33,14 @@ their users.
             </a>
             <div class="card-body">
                 <h4 class="card-title"><a href="{{ project.url }}">{{ project.name }}</a></h4>
-
-                <p class="card-text">
+            </div>
+            <ul class="list-group list-group-flush">
                 {% for resource in project.resources %}
-                    <a href="{{ resource.url }}">{{ resource.name }}</a>{% unless forloop.last %} •{% endunless %}
+                    <li class="list-group-item">
+                        <a href="{{ resource.url }}">{{ resource.name }}</a>
+                    </li>
                 {% endfor %}
-                </p>
-            </div>
+            </ul>
         </div>
     </div>
     {% endfor %}



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/96c9b98a1719eea1c1e829cac673a4ceca2d08f2
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/20181222/de1daa59/attachment.html>


More information about the rb-commits mailing list