update from sparkleup
This commit is contained in:
parent
ccb9f797cb
commit
209000bc50
Binary file not shown.
|
@ -238,11 +238,23 @@
|
||||||
<p>Page generated on 2020-04-08 16:11</p>
|
<p>Page generated on 2020-04-08 16:11</p>
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
|
<style>
|
||||||
|
.has-nested:before {
|
||||||
|
content: 'v';
|
||||||
|
}
|
||||||
|
.has-nested.closed:before {
|
||||||
|
content: '>';
|
||||||
|
}
|
||||||
|
.has-nested.closed {
|
||||||
|
max-height: 16pt;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
const els = document.querySelectorAll('li');
|
const els = document.querySelectorAll('li');
|
||||||
els.forEach(el => {
|
els.forEach(el => {
|
||||||
if (el.querySelectorAll('li').length !== 0) {
|
if (el.querySelectorAll('li').length !== 0) {
|
||||||
el.classList.toggle('has-nested');
|
el.classList.add('has-nested', 'closed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue