Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irma-website
Commits
ba60455e
Commit
ba60455e
authored
Jul 31, 2019
by
Hanna Schraffenberger
Browse files
Layout faq
parent
ee43ca8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
_includes/block-faq-1.html
View file @
ba60455e
...
...
@@ -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>
...
...
css/irma.css
View file @
ba60455e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment