fix css
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -26,7 +26,7 @@
|
|||||||
<!-- End Twitter universal website tag code -->
|
<!-- End Twitter universal website tag code -->
|
||||||
|
|
||||||
|
|
||||||
<div id="content" class="p-8 pt-12 sm:p-12 md:p-16 lg:p-20">
|
<div id="content" class="p-4 pt-12 sm:p-12 md:p-16 lg:p-20">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
<div class="p-8">
|
<div class="p-8">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% if current_path == '/faq/' %}
|
{% if current_path == '/faq/' %}
|
||||||
<h2 class="text-center mt-10">{{ tfFaq.title }}</h2>
|
<h2 class="text-center mt-10">{{ tfFaq.title }}</h2>
|
||||||
<div class="max-w-xl mx-auto px-8 space-y-2 mt-10">
|
<div class="lg:max-w-5xl mx-auto px-8 space-y-2 mt-10">
|
||||||
{% for page in tfFaq.pages %}
|
{% for page in tfFaq.pages %}
|
||||||
<details class="p-4 rounded-lg">
|
<details class="p-4 rounded-lg">
|
||||||
<summary class="font-semibold">{{ page.title }}</summary>
|
<summary class="font-semibold">{{ page.title }}</summary>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{% elif current_path == '/farmfaq/' %}
|
{% elif current_path == '/farmfaq/' %}
|
||||||
<h2 class="text-center mt-10">{{ farmFaq.title }}</h2>
|
<h2 class="text-center mt-10">{{ farmFaq.title }}</h2>
|
||||||
<div class="max-w-xl mx-auto px-8 space-y-2 mt-10">
|
<div class="lg:max-w-5xl mx-auto px-8 space-y-2 mt-10">
|
||||||
{% for page in farmFaq.pages %}
|
{% for page in farmFaq.pages %}
|
||||||
<details class="p-4 rounded-lg">
|
<details class="p-4 rounded-lg">
|
||||||
<summary class="font-semibold">{{ page.title }}</summary>
|
<summary class="font-semibold">{{ page.title }}</summary>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
{% elif current_path == '/tftfaq/' %}
|
{% elif current_path == '/tftfaq/' %}
|
||||||
<h2 class="text-center mt-10">{{ tftFaq.title }}</h2>
|
<h2 class="text-center mt-10">{{ tftFaq.title }}</h2>
|
||||||
<div class="max-w-xl mx-auto px-8 space-y-2 mt-10">
|
<div class="lg:max-w-5xl mx-auto px-8 space-y-2 mt-10">
|
||||||
{% for page in tftFaq.pages %}
|
{% for page in tftFaq.pages %}
|
||||||
<details class="p-4 rounded-lg">
|
<details class="p-4 rounded-lg">
|
||||||
<summary class="font-semibold">{{ page.title }}</summary>
|
<summary class="font-semibold">{{ page.title }}</summary>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Parameters:
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
{% set columns = body | safe | markdown | split(pat="|||") %}
|
{% set columns = body | safe | markdown | split(pat="|||") %}
|
||||||
{% set row_class = "relative pt-12 flex flex-col sm:grid sm:grid-cols-2 sm:gap-10 xl:flex xl:flex-row"%}
|
{% set row_class = "relative pt-12 p-4 flex flex-col sm:grid sm:grid-cols-2 sm:gap-10 xl:flex xl:flex-row"%}
|
||||||
|
|
||||||
<!-- aligns columns depending on col number-->
|
<!-- aligns columns depending on col number-->
|
||||||
{% if 2 < columns | length %}
|
{% if 2 < columns | length %}
|
||||||
|
|||||||
Reference in New Issue
Block a user