Build: (319762c
) Add table of contents as another use of disclosure element
This commit is contained in:
parent
897231fc15
commit
a462ca9f0e
|
@ -655,8 +655,9 @@ module<span class="token punctuation">.</span><span class="token function-variab
|
|||
<summary class="content-disclosure__summary">More ways to use <code><details></code> and <code><summary></code> elements</summary>
|
||||
<div class="content-disclosure__content"><p><code><details></code> and <code><summary></code> have become among my favourite HTML elements due to how useful they are. In addition to extra comments and info, Leilukin's Hub has also used the elements for the following purposes:</p>
|
||||
<ul>
|
||||
<li>Table of contents, like the one this very article has</li>
|
||||
<li>Hiding spoilers, like in my <cite>Cassette Beasts</cite> shrine article, <a href="/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/">"How Cassette Beasts is Much More than a Pokémon Clone"</a></li>
|
||||
<li>Content warnings, like in my <a href="/shrines/asummersend/gallery/"><cite>A Summer’s End — Hong Kong 1986</cite> shrine's gallery page</a>, with its styling being inspired by another Kitty Giraudel's blog post, <a href="https://kittygiraudel.com/2022/09/04/a-content-warning-component/">"A content warning component"</a>.</li>
|
||||
<li>Content warnings, like in my <a href="/shrines/asummersend/gallery/"><cite>A Summer’s End — Hong Kong 1986</cite> shrine's gallery page</a>, with its styling being inspired by another Kitty Giraudel's blog post, <a href="https://kittygiraudel.com/2022/09/04/a-content-warning-component/">"A content warning component"</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</details>
|
||||
|
|
5
feed.xml
5
feed.xml
|
@ -4,7 +4,7 @@
|
|||
<subtitle>Leilukin's personal website.</subtitle>
|
||||
<link href="https://leilukin.com/feed.xml" rel="self"/>
|
||||
<link href="https://leilukin.com"/>
|
||||
<updated>2024-08-06T13:21:01Z</updated>
|
||||
<updated>2024-08-06T14:20:12Z</updated>
|
||||
<id>https://leilukin.com/</id>
|
||||
<author>
|
||||
<name>Leilukin</name>
|
||||
|
@ -200,8 +200,9 @@ module<span class="token punctuation">.</span><span cla
|
|||
<summary class="content-disclosure__summary">More ways to use <code>&lt;details&gt;</code> and <code>&lt;summary&gt;</code> elements</summary>
|
||||
<div class="content-disclosure__content"><p><code>&lt;details&gt;</code> and <code>&lt;summary&gt;</code> have become among my favourite HTML elements due to how useful they are. In addition to extra comments and info, Leilukin's Hub has also used the elements for the following purposes:</p>
|
||||
<ul>
|
||||
<li>Table of contents, like the one this very article has</li>
|
||||
<li>Hiding spoilers, like in my <cite>Cassette Beasts</cite> shrine article, <a href="https://leilukin.com/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/">&quot;How Cassette Beasts is Much More than a Pokémon Clone&quot;</a></li>
|
||||
<li>Content warnings, like in my <a href="https://leilukin.com/shrines/asummersend/gallery/"><cite>A Summer’s End — Hong Kong 1986</cite> shrine's gallery page</a>, with its styling being inspired by another Kitty Giraudel's blog post, <a href="https://kittygiraudel.com/2022/09/04/a-content-warning-component/">&quot;A content warning component&quot;</a>.</li>
|
||||
<li>Content warnings, like in my <a href="https://leilukin.com/shrines/asummersend/gallery/"><cite>A Summer’s End — Hong Kong 1986</cite> shrine's gallery page</a>, with its styling being inspired by another Kitty Giraudel's blog post, <a href="https://kittygiraudel.com/2022/09/04/a-content-warning-component/">&quot;A content warning component&quot;</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</details>
|
||||
|
|
Loading…
Reference in New Issue