aboutsummaryrefslogtreecommitdiff
path: root/templates/section.html
diff options
context:
space:
mode:
authorsptaule <lecas83@gmail.com>2022-01-29 14:42:09 +0100
committersptaule <lecas83@gmail.com>2022-01-29 14:42:09 +0100
commite6f8f43b6ca5ff00d33b3a539e67eb2255fa1dd0 (patch)
tree1c08c3482e3ac79de1b040d77e3ca3d4f37b8fad /templates/section.html
parente958d4a1d06878100170cd96ce548966e3d5222a (diff)
downloadgaragehq.deuxfleurs.fr-e6f8f43b6ca5ff00d33b3a539e67eb2255fa1dd0.tar.gz
garagehq.deuxfleurs.fr-e6f8f43b6ca5ff00d33b3a539e67eb2255fa1dd0.zip
Improve responsive, icons, refactor search, update readme
Diffstat (limited to 'templates/section.html')
-rwxr-xr-xtemplates/section.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/section.html b/templates/section.html
index 83c5134..5d47d46 100755
--- a/templates/section.html
+++ b/templates/section.html
@@ -14,7 +14,7 @@
<div class="content">
{{ section.content | safe }}
</div>
- <div class="columns is-centered">
+ <div class="px-0 md:px-8 xl:px-4 2xl:px-0">
<div class="space-y-20">
{% if paginator %}
{% set pages = paginator.pages %}
@@ -23,7 +23,7 @@
{% endif %}
{% for page in pages %}
- <article class="border-l-4 border-garage-gray pl-4">
+ <article class="border-l-4 border-garage-gray pl-4 max-w-5xl">
<h2 class="text-garage-gray hover:text-garage-orange text-2xl pb-3">
<a class="w-full block" href='{{ page.permalink }}'>
{{ page.title }}
@@ -41,8 +41,10 @@
</div>
</div>
<div class="content mt-2">
- {{ page.summary | safe }}
- <a class="group py-4 font-semibold px-4 py-2 flex items-center space-x-1 text-garage-orange" href='{{ page.permalink }}'>
+ <div class="text-gray-700">
+ {{ page.summary | safe }}
+ </div>
+ <a class="group font-semibold p-4 flex items-center space-x-1 text-garage-orange" href='{{ page.permalink }}'>
<div class="h-0.5 mt-0.5 w-4 group-hover:w-8 group-hover:bg-garage-gray transition-all bg-garage-orange"></div>
<span>Read</span>
<span class="text-garage-orange group-hover:text-garage-gray transition-all">