Set stlyes of content page with divided sections

This commit is contained in:
Helen Chong 2024-04-15 12:34:35 +08:00
parent 7d68294277
commit 2cf0f1583e
4 changed files with 107 additions and 100 deletions

View File

@ -14,7 +14,7 @@ layout: main/base
{% include "toc.njk" %}
{% endif %}
<div class="content">
<div class="content{% if contentIsDivided %} content--divided{% endif %}">
{{ content | safe }}
</div>
</div>

View File

@ -244,24 +244,34 @@ dd {
}
/* MAIN CONTENT */
main,
.content__wrapper,
.content--divided {
display: grid;
}
main,
.content__wrapper {
font-size: 1.2rem;
display: grid;
}
main {
width: 100%;
}
.content__wrapper,
.content--divided {
gap: 0.8rem;
}
.content__wrapper {
justify-self: center;
gap: 0.8rem;
}
.main__header,
.article,
.content,
.content:not(.content--divided),
.content__section,
.left-sidebar,
.right-sidebar {
padding: 1.5rem clamp(1rem, 5%, 3rem);
@ -273,7 +283,8 @@ main {
}
.article,
.content,
.content:not(.content--divided),
.content__section,
.left-sidebar,
.right-sidebar {
background-color: var(--clr-content-bg);

View File

@ -1,66 +1,62 @@
---
layout: main/base
layout: main/content
title: About
metadata:
desc: About this website and its owner.
type: article
date: 2023-01-02
intro: Learn more about this website and its owner.
contentIsDivided: true
---
<article class="divided-article">
<section class="content-section">
<h1>About</h1>
<p>Learn more about this website and its owner.</p>
</section>
<section class="content__section">
<h2>The Site</h2>
<section class="content-section">
<h2>The Site</h2>
<p>This website serves as a personal hub for my interests and self-expression, as well as my own corner on the internet outside social media platforms.</p>
<p>This website serves as a personal hub for my interests and self-expression, as well as my own corner on the internet outside social media platforms.</p>
<p>On this site, you can find various stuff and resources I have created or compiled, as well as articles dedicated to my interests.</p>
<p>On this site, you can find various stuff and resources I have created or compiled, as well as articles dedicated to my interests.</p>
<p>While the primary purpose of this website is my own space of self-expression, I also want my website to be accessible to viewers. Therefore, I strive to design this website to be mobile-friendly and accessible to provide the best user experience with my site.</p>
<p>While the primary purpose of this website is my own space of self-expression, I also want my website to be accessible to viewers. Therefore, I strive to design this website to be mobile-friendly and accessible to provide the best user experience with my site.</p>
<p>Feel free to drop a message and say hi on <a href="https://leilukin.123guestbook.com/" target="_blank">my guestbook</a>!</p>
<p>Feel free to drop a message and say hi on <a href="https://leilukin.123guestbook.com/" target="_blank">my guestbook</a>!</p>
<p>You can link to my website with this button:</p>
<p>You can link to my website with this button:</p>
{% include "main/site-btn.njk" %}
{% include "main/site-btn.njk" %}
<p>If you also have a Neocities account, you can follow this site through its <a href="https://neocities.org/site/leilukin" target="_blank">Neocities profile</a>.</p>
<a href="https://neocities.org/site/leilukin" target="_blank"><img src="/assets/banners/hosted-by-neocities.png" alt="a website button with Penelope the cat, the mascot of Neocities, and the text 'hosted by neocities'" title="Hosted by Neocities"></a>
</section>
<p>If you also have a Neocities account, you can follow this site through its <a href="https://neocities.org/site/leilukin" target="_blank">Neocities profile</a>.</p>
<a href="https://neocities.org/site/leilukin" target="_blank"><img src="/assets/banners/hosted-by-neocities.png" alt="a website button with Penelope the cat, the mascot of Neocities, and the text 'hosted by neocities'" title="Hosted by Neocities"></a>
</section>
<sectioin class="content__section">
<h2>The Site Owner</h2>
<sectioin class="content-section">
<h2>The Site Owner</h2>
<img src="/assets/leilukin/leilukin-bee.png" style="border-radius: 50%; width: 15rem; display: flex; margin: 0.5em auto;">
<img src="/assets/leilukin/leilukin-bee.png" style="border-radius: 50%; width: 15rem; display: flex; margin: 0.5em auto;">
<p>You can call me Leilukin. I am a Malaysian Chinese non-binary lesbian born in the early 90s. My pronouns are they/she/他/她.</p>
<p>You can call me Leilukin. I am a Malaysian Chinese non-binary lesbian born in the early 90s. My pronouns are they/she/他/她.</p>
<p>I speak Mandarin, English, Cantonese and Malay, though I am most fluent in Mandarin and English.</p>
<p>I speak Mandarin, English, Cantonese and Malay, though I am most fluent in Mandarin and English.</p>
<p>I am also autistic, so this website serves as a platform for my special interests.</p>
<p>I am also autistic, so this website serves as a platform for my special interests.</p>
<p>Social media platforms you can find me on:<br>
<a href="https://lesbiannova.tumblr.com/" target="_blank">Tumblr</a> |
<a href="https://www.youtube.com/Leilukin" target="_blank">YouTube</a> |
<a href="https://twitter.com/Leilukin" target="_blank">Twitter</a> |
<a href="https://mstdn.social/@leilukin" target="_blank">Mastodon</a> |
<a href="https://elekk.xyz/@leilukin" target="_blank">Mastodon (for gaming)</a> |
<a href="https://bsky.app/profile/leilukin.bsky.social" target="_blank">Blusky</a> |
<a href="https://www.instagram.com/leilukin" target="_blank">Instagram</a>
</p>
<p>Social media platforms you can find me on:<br>
<a href="https://lesbiannova.tumblr.com/" target="_blank">Tumblr</a> |
<a href="https://www.youtube.com/Leilukin" target="_blank">YouTube</a> |
<a href="https://twitter.com/Leilukin" target="_blank">Twitter</a> |
<a href="https://mstdn.social/@leilukin" target="_blank">Mastodon</a> |
<a href="https://elekk.xyz/@leilukin" target="_blank">Mastodon (for gaming)</a> |
<a href="https://bsky.app/profile/leilukin.bsky.social" target="_blank">Blusky</a> |
<a href="https://www.instagram.com/leilukin" target="_blank">Instagram</a>
</p>
<p>However, I am most active on Tumblr, so if you want to interact with me on a social media platform, Tumblr would be the best option.</p>
<p>However, I am most active on Tumblr, so if you want to interact with me on a social media platform, Tumblr would be the best option.</p>
<p>I also have media catalogues online on the following platforms:<br>
<a href="https://steamcommunity.com/id/leilukin/" target="_blank">Steam</a> |
<a href="https://app.thestorygraph.com/profile/leilukin" target="_blank">The StoryGraph</a>
</p>
<p>I also have media catalogues online on the following platforms:<br>
<a href="https://steamcommunity.com/id/leilukin/" target="_blank">Steam</a> |
<a href="https://app.thestorygraph.com/profile/leilukin" target="_blank">The StoryGraph</a>
</p>
<p>You can contact me via email: <a href="mailto:leilukin@outlook.com">leilukin@outlook.com</a>.</p>
<p>You can contact me via email: <a href="mailto:leilukin@outlook.com">leilukin@outlook.com</a>.</p>
{% include "main/support-me.njk" %}
</sectioin>
</article>
{% include "main/support-me.njk" %}
</sectioin>

View File

@ -1,67 +1,67 @@
---
layout: main/base
layout: main/content
title: Home
pageTitle: Welcome!
intro: Home page of Leilukin's Hub.
metadata:
desc: Home page of Leilukin's Hub.
date: 2023-01-01
contentIsDivided: true
---
<div class="content-container">
<section class="content-section">
<h1>Welcome!</h1>
<p>Hello! You can call me Leilukin. Welcome to my website! This site is my own personal hub and corner on the internet.</p>
<p>Feel free to drop a message and say hi on <a href="https://leilukin.123guestbook.com/" target="_blank">my guestbook</a>!</p>
<p>You may use the <a href="/sitemap">site map</a> to quickly navigate this website.</p>
<p>Enjoy your stay!</p>
</section>
<section class="content__section">
<p>Hello! You can call me Leilukin. Welcome to my website! This site is my own personal hub and corner on the internet.</p>
<p>Feel free to drop a message and say hi on <a href="https://leilukin.123guestbook.com/" target="_blank">my guestbook</a>!</p>
<p>You may use the <a href="/sitemap">site map</a> to quickly navigate this website.</p>
<p>Enjoy your stay!</p>
</section>
<section class="content-section">
<h2>Link to My Website</h2>
<section class="content__section">
<h2>Link to My Website</h2>
<p>You can link to my website with this button:</p>
{% include "main/site-btn.njk" %}
<p>You can link to my website with this button:</p>
{% include "main/site-btn.njk" %}
<p>Credit to <a href="https://github.com/hekate2" target="_blank">hekate2</a> for their <a href="https://hekate2.github.io/buttonmaker/" target="_blank">88x31 Web Button Maker</a>!</p>
</section>
<p>Credit to <a href="https://github.com/hekate2" target="_blank">hekate2</a> for their <a href="https://hekate2.github.io/buttonmaker/" target="_blank">88x31 Web Button Maker</a>!</p>
</section>
<section class="content-section">
<h2>Updates</h2>
<div class="text-box">
<p class="date-style">5 April 2024:</p>
<ul>
<li>Add table of contents to my <a href="/mycreations/kotor1mods/"><cite>Star Wars: Knights of the Old Republic</cite></a> and <a href="/mycreations/kotor2mods/"><cite>Star Wars: Knights of the Old Republic II: The Sith Lords</cite> mods</a>.</li>
</ul>
<p><a href="/changelog">View all site changelog</a></p>
</div>
<p>You can subscribe to the <a href="/feed.xml" target="blank">Leilukin's Hub RSS feed</a> or follow <a href="https://neocities.org/site/leilukin" target="_blank">my Neocities profile</a> to get notified of the updates on this website.</p>
<div class="web-btn-wrapper">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed">
<img src="/assets/buttons/rss-button.gif" alt="RSS feed button">
</a>
</div>
</section>
<section class="content__section">
<h2>Updates</h2>
<div class="text-box">
<p class="date-style">5 April 2024:</p>
<ul>
<li>Add table of contents to my <a href="/mycreations/kotor1mods/"><cite>Star Wars: Knights of the Old Republic</cite></a> and <a href="/mycreations/kotor2mods/"><cite>Star Wars: Knights of the Old Republic II: The Sith Lords</cite> mods</a>.</li>
</ul>
<p><a href="/changelog">View all site changelog</a></p>
</div>
<p>You can subscribe to the <a href="/feed.xml" target="blank">Leilukin's Hub RSS feed</a> or follow <a href="https://neocities.org/site/leilukin" target="_blank">my Neocities profile</a> to get notified of the updates on this website.</p>
<div class="web-btn-wrapper">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed">
<img src="/assets/buttons/rss-button.gif" alt="RSS feed button">
</a>
</div>
</section>
<section class="content-section">
<h2>Always Proud</h2>
<div class="web-btn-wrapper">
<img src="/assets/buttons/progress.png" alt="A website button of the 2018 Progress Flag" loading="lazy" title="2018 Progress Flag by Daniel Quasar (2018)">
<img src="/assets/buttons/9_stripe.png" alt="A website button of the 9 stripe rainbow flag" loading="lazy" title="Nine-Stripe Rainbow Flag by Gilbert Baker (2017)">
<img src="/assets/buttons/lesbian.png" alt="A website button of the lesbian pride flag" loading="lazy" title="I am a lesbian">
<img src="/assets/buttons/nonbinary.png" alt="A website button of the non-binary pride flag" loading="lazy" title="I am non-binary">
<img src="/assets/buttons/demigirl.png" alt="A website button of the demigirl pride flag" loading="lazy" title="I am a demiwoman">
<img src="/assets/buttons/agender.png" alt="A website button of the agender pride flag" loading="lazy" title="I am agender">
<img src="/assets/buttons/bigender.png" alt="A website button of the bigender pride flag" loading="lazy" title="I am bigender">
</div>
<p>Credit to <a href="https://rainy.gay/pride/pridebuttons" target="_blank">Dime</a> for these pride buttons!</p>
</section>
<section class="content__section">
<h2>Always Proud</h2>
<div class="web-btn-wrapper">
<img src="/assets/buttons/progress.png" alt="A website button of the 2018 Progress Flag" loading="lazy" title="2018 Progress Flag by Daniel Quasar (2018)">
<img src="/assets/buttons/9_stripe.png" alt="A website button of the 9 stripe rainbow flag" loading="lazy" title="Nine-Stripe Rainbow Flag by Gilbert Baker (2017)">
<img src="/assets/buttons/lesbian.png" alt="A website button of the lesbian pride flag" loading="lazy" title="I am a lesbian">
<img src="/assets/buttons/nonbinary.png" alt="A website button of the non-binary pride flag" loading="lazy" title="I am non-binary">
<img src="/assets/buttons/demigirl.png" alt="A website button of the demigirl pride flag" loading="lazy" title="I am a demiwoman">
<img src="/assets/buttons/agender.png" alt="A website button of the agender pride flag" loading="lazy" title="I am agender">
<img src="/assets/buttons/bigender.png" alt="A website button of the bigender pride flag" loading="lazy" title="I am bigender">
</div>
<p>Credit to <a href="https://rainy.gay/pride/pridebuttons" target="_blank">Dime</a> for these pride buttons!</p>
</section>
<section class="content-section">
<h2>Webrings</h2>
<div style="border: none; padding: 5px; display: inline-flex"><a href="https://isaacfish.neocities.org/webring/25.html" target="_blank"><img src="/assets/webrings/queercoded-left.png" alt="left arrow"></a>&nbsp;<a href="https://isaacfish.neocities.org/webring/" target="_blank"><img src="/assets/webrings/queercoded.png" alt="queer coded webring" title="The Queer Coded Webring"></a>&nbsp;<a href="https://isaacfish.neocities.org/webring/27.html" target="_blank"><img src="/assets/webrings/queercoded-right.png" alt="right arrow"></a></div>
</section>
<section class="content__section">
<h2>Webrings</h2>
<div style="border: none; padding: 5px; display: inline-flex"><a href="https://isaacfish.neocities.org/webring/25.html" target="_blank"><img src="/assets/webrings/queercoded-left.png" alt="left arrow"></a>&nbsp;<a href="https://isaacfish.neocities.org/webring/" target="_blank"><img src="/assets/webrings/queercoded.png" alt="queer coded webring" title="The Queer Coded Webring"></a>&nbsp;<a href="https://isaacfish.neocities.org/webring/27.html" target="_blank"><img src="/assets/webrings/queercoded-right.png" alt="right arrow"></a></div>
</section>
<section class="content-section">
<h2>Support Me</h2>
{% include "main/support-me.njk" %}
</section>
</div>
<section class="content__section">
<h2>Support Me</h2>
{% include "main/support-me.njk" %}
</section>