diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-31 11:54:22 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-31 11:54:22 +0100 |
commit | 937245b202c200e1405209c59893d459b2194d2f (patch) | |
tree | 38dc667fb81be27b3b21e5cfccbf36d5fbc8fefd /templates/section.html | |
parent | 4dde9b0855ad8edf5eef72036ee788aeeb5cd775 (diff) | |
parent | e5beba07d6b9e102cc28c7474b9db0ae11ec3c79 (diff) | |
download | garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.tar.gz garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.zip |
Merge branch 'master' of git.deuxfleurs.fr:sptl/garage_website
Diffstat (limited to 'templates/section.html')
-rwxr-xr-x | templates/section.html | 10 |
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"> |