Compare commits

..

10 Commits

Author SHA1 Message Date
Helen Chong fe2bbd44ed Create inline navigation CSS class 2024-07-18 11:13:23 +08:00
Helen Chong cf2f209fa1 Refactor changelog navigation links 2024-07-18 11:03:56 +08:00
Helen Chong ced52564db Refuce whitespaces in global stylesheet 2024-07-18 10:49:19 +08:00
Helen Chong 2913bb7729 Add custom CSS property for content list gap 2024-07-18 10:46:50 +08:00
Helen Chong 6b8eaefa5f Add inline-list utility class 2024-07-18 10:44:41 +08:00
Helen Chong de39b9e0c3 Unify article permalink frontmatter 2024-07-18 10:18:03 +08:00
Helen Chong f6ea7996ad Update updated date of Palestine masterlist 2024-07-18 10:16:33 +08:00
Helen Chong f1080e68af Add Aya Alanqar's GoFundMe campaign 2024-07-18 10:14:24 +08:00
Helen Chong 3b15622f39 Add Fuck off EA App to resources list 2024-07-18 01:44:46 +08:00
Helen Chong 0bdf189d3c Add eladnarra's site 2024-07-17 23:26:25 +08:00
13 changed files with 53 additions and 80 deletions

View File

@ -6,7 +6,7 @@
{%- if tags and tags.includes("shrine pages") %} {%- if tags and tags.includes("shrine pages") %}
<nav class="footer__shrines" aria-labelledby="backto-title"> <nav class="footer__shrines" aria-labelledby="backto-title">
<p id="backto-title">Back to:</p> <p id="backto-title">Back to:</p>
<ul class="footer__links"> <ul class="inline-nav footer__links">
<li><a href="/shrines/">Shrine Directory</a></li> <li><a href="/shrines/">Shrine Directory</a></li>
<li><a href="/">{{ sitemeta.siteName }}</a></li> <li><a href="/">{{ sitemeta.siteName }}</a></li>
</ul> </ul>
@ -18,9 +18,7 @@
</footer> </footer>
<style> <style>
:root { :root { --footer-gap: 0.5em; }
--footer-gap: 0.5em;
}
.footer { .footer {
margin-top: auto; margin-top: auto;
@ -40,19 +38,6 @@
column-gap: var(--footer-gap); column-gap: var(--footer-gap);
} }
.footer__links { .footer__links { justify-self: center; }
justify-self: center; .footer__shrines { align-self: center; }
list-style-type: "";
margin: 0;
padding: 0;
}
.footer__links li:not(:last-child)::after {
content: '•';
padding-left: var(--footer-gap);
}
.footer__shrines {
align-self: center;
}
</style> </style>

View File

@ -7,7 +7,7 @@ articleElement: true
<nav class="changelog__nav" aria-labelledby="changelog-nav-title"> <nav class="changelog__nav" aria-labelledby="changelog-nav-title">
<p class="changelog__nav--title" id="changelog-nav-title">Changelog Archive:</p> <p class="changelog__nav--title" id="changelog-nav-title">Changelog Archive:</p>
<ul class="changelog__nav--links"> <ul class="inline-nav changelog__nav--links">
<li><a <li><a
{% if currentUrl === "/changelogs/" %}aria-current="page"{% endif %} {% if currentUrl === "/changelogs/" %}aria-current="page"{% endif %}
href="/changelogs" href="/changelogs"
@ -43,27 +43,11 @@ articleElement: true
gap: 0.5em; gap: 0.5em;
} }
.changelog__nav--links {
margin: 0;
padding: 0;
line-height: 1.1;
}
.changelog__nav--links {
list-style-type: "";
gap: 0.5em;
}
.changelog__nav--links li { .changelog__nav--links li {
text-align: center; text-align: center;
align-self: center; align-self: center;
} }
.changelog__nav--links li:not(:last-child)::after {
content: '•';
padding-left: 0.5em;
}
.changelog__nav--links [aria-current="page"] { .changelog__nav--links [aria-current="page"] {
text-decoration: none; text-decoration: none;
color: var(--clr-bold-txt); color: var(--clr-bold-txt);

View File

@ -4,7 +4,7 @@
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} since 11 September 2022</p> <p>Made with ♥ by {{ sitemeta.siteAuthor.name }} since 11 September 2022</p>
{% set currentUrl %}{{ page.url }}{% endset %} {% set currentUrl %}{{ page.url }}{% endset %}
<ul class="footer__links"> <ul class="inline-nav footer__links">
<li><a href="/feed.xml">RSS</a></li> <li><a href="/feed.xml">RSS</a></li>
<li><a <li><a
{% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %} {% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %}

View File

@ -1,6 +1,7 @@
{ {
"tags": ["articles", "contents", "feed items"], "tags": ["articles", "contents", "feed items"],
"layout": "main/content", "layout": "main/content",
"permalink": "/articles/{{ page.fileSlug }}/",
"isArticle": true, "isArticle": true,
"eleventyComputed": { "eleventyComputed": {
"title": "{{ articleTitle }} | Articles", "title": "{{ articleTitle }} | Articles",

View File

@ -1,4 +1,3 @@
{ {
"tags": "featured articles", "tags": "featured articles"
"permalink": "/articles/{{ page.fileSlug }}/"
} }

View File

@ -1,4 +1,3 @@
{ {
"tags": "my articles", "tags": "my articles"
"permalink": "/articles/{{ page.fileSlug }}/"
} }

View File

@ -1,7 +1,7 @@
--- ---
articleTitle: Palestine Masterlist articleTitle: Palestine Masterlist
date: 2024-06-19 date: 2024-06-19
updated: 2024-07-17 updated: 2024-07-18
desc: My masterlist of resources related to Palestine. desc: My masterlist of resources related to Palestine.
categories: ["palestine"] categories: ["palestine"]
--- ---
@ -68,4 +68,5 @@ There have been Palestinians who reached out to me on Tumblr to ask for help wit
* [Hope for Gaza: Support Ashraf's Family Rebuild Their Lives](https://www.gofundme.com/f/hope-for-gaza-support-ashrafs-family-rebuild-their-lives) (verified by [90-ghost](https://www.tumblr.com/90-ghost/754535164856664064/legit-fundraiser)) * [Hope for Gaza: Support Ashraf's Family Rebuild Their Lives](https://www.gofundme.com/f/hope-for-gaza-support-ashrafs-family-rebuild-their-lives) (verified by [90-ghost](https://www.tumblr.com/90-ghost/754535164856664064/legit-fundraiser))
* [Help Zaen and Yehya to get out of Gaza](https://www.gofundme.com/f/help-sara-and-her-family-to-evacuate-gaza) (verified by [90-ghost](https://www.tumblr.com/90-ghost/754093176508268544)) * [Help Zaen and Yehya to get out of Gaza](https://www.gofundme.com/f/help-sara-and-her-family-to-evacuate-gaza) (verified by [90-ghost](https://www.tumblr.com/90-ghost/754093176508268544))
* [A Father's Plea: Help Save My Family](https://www.gofundme.com/f/btuqqt-save-my-familys-life) (verified by [el-shab-hussein](https://www.tumblr.com/el-shab-hussein/754087744556449792/vetted-family-fundraiser-masterpost-3)) * [A Father's Plea: Help Save My Family](https://www.gofundme.com/f/btuqqt-save-my-familys-life) (verified by [el-shab-hussein](https://www.tumblr.com/el-shab-hussein/754087744556449792/vetted-family-fundraiser-masterpost-3))
* [Help Moamen Majed rebuild his life after the war](https://www.gofundme.com/f/help-moamen-majed-rebuild-his-life-after-the-war) (verified by [90-ghost](https://www.tumblr.com/90-ghost/755355718664830976/moamenmajed-gaza-are-they-a-vetted-fundraiser)) * [Help Moamen Majed rebuild his life after the war](https://www.gofundme.com/f/help-moamen-majed-rebuild-his-life-after-the-war) (verified by [90-ghost](https://www.tumblr.com/90-ghost/755355718664830976/moamenmajed-gaza-are-they-a-vetted-fundraiser))
* [Save Gaza: A Brighter Future for Aya and Her Family](https://www.gofundme.com/f/save-gaza-a-brighter-future-for-aya-and-her-family) (verified by [90-ghost](https://www.tumblr.com/90-ghost/754992024939347968))

View File

@ -8,7 +8,23 @@
gap: 1em; gap: 1em;
} }
/* Mod entry */ /* Inline Navigation */
.inline-nav {
--inline-nav-gap: 0.5em;
list-style-type: "";
margin: 0;
padding: 0;
display: flex;
gap: 0.25em var(--inline-nav-gap);
flex-wrap: wrap;
}
.inline-nav li:not(:last-child)::after {
content: '•';
padding-left: var(--inline-nav-gap);
}
/* Mod Entry */
.mod-entry, .mod-entry,
.mod-entry__downloads { .mod-entry__downloads {
display: grid; display: grid;

View File

@ -31,11 +31,11 @@ content-wrapper,
.content ul:not([class]), .content ol:not([class]) { .content ul:not([class]), .content ol:not([class]) {
display: grid; display: grid;
gap: 0.7em; gap: var(--sz-content-list-gap);
} }
.content ul ul, .content ol ol, .content ul ul, .content ol ol,
.content ul ol, .content ol ul { margin-top: 0.7em; } .content ul ol, .content ol ul { margin-top: var(--sz-content-list-gap); }
.sidebar--sticky { .sidebar--sticky {
position: sticky; position: sticky;

View File

@ -30,7 +30,6 @@
--clr-hero-bg: black; --clr-hero-bg: black;
--clr-navbar-bg: #222; --clr-navbar-bg: #222;
--clr-navbar-link: white; --clr-navbar-link: white;
--clr-main-footer-bg: #13092D; --clr-main-footer-bg: #13092D;
--clr-mod-entry-bg: #241445; --clr-mod-entry-bg: #241445;
@ -48,6 +47,7 @@
--sz-main-padding: clamp(1rem, 5%, 4rem); --sz-main-padding: clamp(1rem, 5%, 4rem);
--sz-navbar-ht: 4rem; --sz-navbar-ht: 4rem;
--sz-external-link: 1.25em; --sz-external-link: 1.25em;
--sz-content-list-gap: 0.7em;
} }
/* ------------------- */ /* ------------------- */
@ -57,9 +57,7 @@
/* Box sizing rules */ /* Box sizing rules */
*, *,
*::before, *::before,
*::after { *::after { box-sizing: border-box; }
box-sizing: border-box;
}
/* Prevent font size inflation */ /* Prevent font size inflation */
html { html {
@ -70,15 +68,11 @@ html {
/* Remove default margin in favour of better control in authored CSS */ /* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p, body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd { figure, blockquote, dl, dd { margin: 0; }
margin: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'], ul[role='list'],
ol[role='list'] { ol[role='list'] { list-style-type: ""; }
list-style-type: "";
}
/* Set core body defaults */ /* Set core body defaults */
body { body {
@ -88,20 +82,13 @@ body {
/* Set shorter line heights on headings and interactive elements */ /* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4, h1, h2, h3, h4,
button, input, label { button, input, label { line-height: 1.1; }
line-height: 1.1;
}
/* Balance text wrapping on headings */ /* Balance text wrapping on headings */
h1, h2, h1, h2, h3, h4 { text-wrap: balance; }
h3, h4 {
text-wrap: balance;
}
/* A elements that don't have a class get default styles */ /* A elements that don't have a class get default styles */
a:not([class]) { a:not([class]) { text-decoration-skip-ink: auto; }
text-decoration-skip-ink: auto;
}
/* Make images easier to work with */ /* Make images easier to work with */
img, img,
@ -111,17 +98,10 @@ picture {
} }
/* Inherit fonts for inputs and buttons */ /* Inherit fonts for inputs and buttons */
input, button, input, button, textarea, select { font: inherit; }
textarea, select {
font: inherit;
}
/* Make sure textareas without a rows attribute are not tiny */ /* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) { textarea:not([rows]) { min-height: 10em; }
min-height: 10em;
}
/* Anything that has been anchored to should have extra scroll margin */ /* Anything that has been anchored to should have extra scroll margin */
:target { :target { scroll-margin-block: 5ex; }
scroll-margin-block: 5ex;
}

View File

@ -25,6 +25,12 @@
fill: currentColor; fill: currentColor;
} }
.inline-list {
display: flex;
flex-wrap: wrap;
gap: 0.7em 1.5em;
}
.hidden { display: none; } .hidden { display: none; }
.visually-hidden { .visually-hidden {

View File

@ -1,6 +1,6 @@
--- ---
title: Resources title: Resources
date: 2024-07-16 date: 2024-07-18
--- ---
### Archives ### Archives
@ -14,6 +14,7 @@ date: 2024-07-16
### Gaming ### Gaming
* [3DS Hacks Guide](https://3ds.hacks.guide/) * [3DS Hacks Guide](https://3ds.hacks.guide/)
* [Fuck off EA App](https://github.com/p0358/Fuck_off_EA_App)
### Video Game Mods ### Video Game Mods
These are lists of video game mods I use for my own playthroughs. These are lists of video game mods I use for my own playthroughs.

View File

@ -35,12 +35,13 @@ date: 2023-01-28
{{ siteButton("https://whiona.me/", "sites/whiona.png", "Whiona") }} {{ siteButton("https://whiona.me/", "sites/whiona.png", "Whiona") }}
{{ siteButton("https://xandra.cc/", "sites/xandra.png", "Museum of Alexandra") }} {{ siteButton("https://xandra.cc/", "sites/xandra.png", "Museum of Alexandra") }}
</ul> </ul>
<ul> <ul class="inline-list">
<li><a href="https://www.eladnarra.com/">eladnarra's site</a></li>
<li><a href="https://stitchmediamix.com/">Stitchs Media Mix</a></li> <li><a href="https://stitchmediamix.com/">Stitchs Media Mix</a></li>
</ul> </ul>
<h3>Link Exchanges</h3> <h3>Link Exchanges</h3>
<ul> <ul class="inline-list">
<li><a href="https://theretrosaga.com/">The Retro Saga</a></li> <li><a href="https://theretrosaga.com/">The Retro Saga</a></li>
</ul> </ul>
@ -54,7 +55,7 @@ date: 2023-01-28
{{ siteButton("https://kalechips.net/responsive/", "directories/responsiveweb.png", "Responsive Web Directory") }} {{ siteButton("https://kalechips.net/responsive/", "directories/responsiveweb.png", "Responsive Web Directory") }}
{{ siteButton("https://smoothsailing.asclaria.org/", "directories/smoothsailing.png", "Smooth Sailing Listings") }} {{ siteButton("https://smoothsailing.asclaria.org/", "directories/smoothsailing.png", "Smooth Sailing Listings") }}
</ul> </ul>
<ul> <ul class="inline-list">
<li>👻 Proud member of <a href="https://darktheme.club/">darktheme.club</a> 👻</li> <li>👻 Proud member of <a href="https://darktheme.club/">darktheme.club</a> 👻</li>
</ul> </ul>