Commit ba60455e authored by Hanna Schraffenberger's avatar Hanna Schraffenberger
Browse files

Layout faq

parent ee43ca8f
......@@ -2,14 +2,12 @@
<div class="container">
<div class="columns">
<div class="column">
<div class="center">
{% for faq_item in section.faq_items %}
<button class="collapsible">{{ faq_item.question }}</button>
<div class="content faq-item">
<p>{{ faq_item.answer }}</p>
</div>
{% endfor %}
{% for faq_item in section.faq_items %}
<button class="collapsible">{{ faq_item.question }}</button>
<div class="content faq-item">
<p>{{ faq_item.answer }}</p>
</div>
{% endfor %}
</div>
</div>
</div>
......
......@@ -118,7 +118,9 @@ column.text p {
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
width: 600px;
display: block;
margin: auto;
width: 900px;
color: #444;
cursor: pointer;
padding: 18px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment