Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 218e81f8c805738f558ed8b57eb0c7aea14658cc
Timestamp: Sun, 19 May 2024 13:12:48 +0000 (11 months ago)

+5 -9 +/-2 browse
tighten up margins on index page
1diff --git a/ayllu/themes/default/templates/index.html b/ayllu/themes/default/templates/index.html
2index 87eb054..dd5fc44 100644
3--- a/ayllu/themes/default/templates/index.html
4+++ b/ayllu/themes/default/templates/index.html
5 @@ -24,7 +24,7 @@
6 <span class="description">{{ collection.description }}</span>
7 <section class="repositories">
8 {% for repo in collection.repositories %}
9- <article class="segmented-4 card">
10+ <article class="segmented-4">
11 <div class="name">
12 <a href="/{{ collection.name }}/{{ repo.name }}">{{ repo.name }}</a>
13 </div>
14 diff --git a/ayllu/themes/default/theme.css b/ayllu/themes/default/theme.css
15index fbba54c..2a8b216 100644
16--- a/ayllu/themes/default/theme.css
17+++ b/ayllu/themes/default/theme.css
18 @@ -306,14 +306,6 @@ article.collection {
19 padding-bottom: 2em;
20 }
21
22- section.repositories {
23- padding-top: 1em;
24- }
25-
26- section.repositories > * {
27- margin-top: 1em;
28- }
29-
30 article.collection .description {
31 font-weight: var(--font-weight-1);
32 }
33 @@ -323,6 +315,10 @@ article.repository > .description {
34 margin-top: 5px;
35 }
36
37+ .repositories > .segmented-4 {
38+ margin-top: 5px;
39+ }
40+
41 .segmented-5 {
42 display: flex;
43 justify-content: space-between;