As you likely have realised, footnotes are really tricky to implement on web pages, so you may be wondering: is there any alternative to footnotes?
For extra comments and tangents, by favourite approach is using HTML's details disclosure element with the <details> tag, with a <summary> element and a sibling element wrapping the content displayed when the disclosure is expanded.
-
I have been using the disclosure element for additional comments or information on this website, like in my blog post, "My Cassette Beasts Fanlisting Application has been Approved". As for the styling, initially I indented the content inside the disclosure to differentiate the disclosure content from the rest of the content of the page, but recently I switched to adding top and bottom borders after being inspired by Starbreaker's website, who also has a post about footnotes, "Footnotes: No Fun to Create, Either".
+
I have been using the disclosure element for additional comments or information on this website, like in my blog post, "My Cassette Beasts Fanlisting Application has been Approved". As for the styling, initially I indented the content inside the disclosure to differentiate the disclosure content from the rest of the content of the page, but recently I switched to adding borders to the content after being inspired by Starbreaker's website, who also has a post about footnotes, "Footnotes: No Fun to Create, Either".
More ways to use <details> and <summary> elements
<details> and <summary> 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:
@@ -473,7 +473,7 @@ This site is Harry Potter free. Lookin [sic] for it? Leave.
(Credit to Tumblr user comradesaucegay (archived) for this Harry Potter-free website banner)
Like many Millennials, I grew up with the Harry Potter series and was a major fan of the series. I had read the original 7 books and watched their film adaptations. The series was a passion of mine during my early- to mid-teen years. While the Harry Potter novels were far from the first books I read, they were the first fantasy novels I read, and the series’ concept of a magical world set in a contemporary setting fascinated teenage me.
-
However, even during my Harry Potter fixation years, there were things from the series that bothered me, from the idea of house elves being a slave race that naturally love being slaves, to Snape’s unconvincing “redemption” arc. As I got older and became more aware of social issues, I started to notice more problems with the series. In addition, reading more books has also made me realise that even on a technical writing level, the Harry Potter series was mediocre at best. As a result, I had stopped becoming a Harry Potter fan even before J. K. Rowling’s transphobia got mainstream attention.
+
However, even during my Harry Potter fixation years, there were things from the series that bothered me, from the idea of house elves being a slave race that naturally love being slaves, to Snape’s unconvincing “redemption” arc. As I got older and became more aware of social issues, I started to notice more problems with the series. In addition, reading more books has also made me realise that even on a technical writing level, the Harry Potter series was mediocre at best. As a result, I had stopped becoming a Harry Potter fan even before J. K. Rowling’s anti-trans sentiments got mainstream attention.
Unfortunately, many adults with nostalgia goggles still refuse to let go of Harry Potter, and they believe Harry Potter can be separated or “reclaimed” by J. K. Rowling, despite how much Rowling’s worldview and prejudice are inextricably linked to her writing.
Therefore, I am compiling this masterlist by curating various materials that are critical of the Harry Potter series and J. K. Rowling. Items are ordered in chronological order. This is far from a comprehensive list of all the pieces that criticise Harry Potter and Rowling; this list is my curated list of ones that I have read, watched or listened to, and I personally endorse.
diff --git a/assets/css/components.css b/assets/css/components.css
index ac8d34be..915e4114 100644
--- a/assets/css/components.css
+++ b/assets/css/components.css
@@ -110,10 +110,8 @@ a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(-
.content-disclosure__content p + p { margin-top: 1em; }
.content-disclosure__content {
- --bdr-disclosure: 0.15em solid var(--clr-title-border);
- padding: 1em 0;
- border-top: var(--bdr-disclosure);
- border-bottom: var(--bdr-disclosure);
+ padding: 1em;
+ border: 0.15em solid var(--clr-title-border);
}
/* Content warning disclosure */
diff --git a/assets/css/global.css b/assets/css/global.css
index dfee433e..b9694c4c 100644
--- a/assets/css/global.css
+++ b/assets/css/global.css
@@ -58,55 +58,50 @@
/* ------------------- */
@layer reset {
- /* Box sizing rules */
- *,
- *::before,
- *::after { box-sizing: border-box; }
-
- /* Prevent font size inflation */
- html {
- -moz-text-size-adjust: none;
- -webkit-text-size-adjust: none;
- text-size-adjust: none;
+ *, *::before, *::after {
+ box-sizing: border-box;
}
- /* Remove default margin in favour of better control in authored CSS */
- body, h1, h2, h3, h4, p,
- 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 */
- ul[role='list'],
- ol[role='list'] { list-style-type: ""; }
-
- /* Set core body defaults */
body {
min-height: 100vh;
line-height: 1.5;
}
- /* Set shorter line heights on headings and interactive elements */
- h1, h2, h3, h4,
- button, input, label { line-height: 1.1; }
+ h1, h2, h3, h4, h5, h6,
+ button, input, label {
+ line-height: 1.1;
+ }
- /* Balance text wrapping on headings */
- h1, h2, h3, h4 { text-wrap: balance; }
+ p, h1, h2, h3, h4, h5, h6 {
+ overflow-wrap: break-word;
+ }
- /* A elements that don't have a class get default styles */
- a:not([class]) { text-decoration-skip-ink: auto; }
+ h1, h2, h3, h4, h5, h6 {
+ text-wrap: balance;
+ }
- /* Make images easier to work with */
- img,
- picture {
+ img, picture, video, canvas {
max-width: 100%;
display: block;
}
- /* Inherit fonts for inputs and buttons */
- input, button, textarea, select { font: inherit; }
+ input, button, textarea, select {
+ font: inherit;
+ }
- /* Make sure textareas without a rows attribute are not tiny */
- textarea:not([rows]) { min-height: 10em; }
+ textarea:not([rows]) {
+ min-height: 10em;
+ }
- /* Anything that has been anchored to should have extra scroll margin */
- :target { scroll-margin-block: 5ex; }
+ :target {
+ scroll-margin-block: 5ex;
+ }
+
+ [popover] {
+ margin: auto;
+ }
}
\ No newline at end of file
diff --git a/categories/star-wars-kotor-2/index.html b/categories/star-wars-kotor-2/index.html
index 0072fc03..8b09d4e7 100644
--- a/categories/star-wars-kotor-2/index.html
+++ b/categories/star-wars-kotor-2/index.html
@@ -389,7 +389,7 @@ drop-shadow(0.1rem 0.1rem 0.2rem rgba(30, 30, 30, 0.8))
-
+