Switch to using summary/details for sections

* This makes them foldable
* Probably some code from other changes in here too
This commit is contained in:
Rioting Pacifist
2020-03-10 15:44:28 +00:00
parent f6e23db94f
commit d1cb8b62f3
10 changed files with 93 additions and 57 deletions

View File

@ -1,8 +1,12 @@
{{#if r.education}}
<div id="education" class="detail">
<div class="icon"><i class="fs-lg fa fa-graduation-cap"></i><span class="mobile-title">Education</span></div>
<details id="education" class="detail" onclick="clear_highlight()" open>
<summary>
<div class="icon"><i class="fs-lg fa fa-graduation-cap"></i><span class="mobile-title">Education</span></div>
<div class="info">
<h4 class="title text-uppercase">Education</h4>
</div>
</summary>
<div class="info">
<h4 class="title text-uppercase">Education</h4>
<div class="content">
<ul class="list-unstyled">
{{#each r.education.history}}
@ -19,8 +23,8 @@
</div>
</li>
{{/each}}
</ul>
</div>
</ul>
</div>
</div>
</details>
{{/if}}