Compare commits
5 Commits
7f23cc5ac8
...
5f00c4f266
Author | SHA1 | Date |
---|---|---|
Helen Chong | 5f00c4f266 | |
Helen Chong | 4346a1b338 | |
Helen Chong | d8bc0eb035 | |
Helen Chong | 653284703b | |
Helen Chong | 6bb5f682f3 |
|
@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
|
|||
---
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
<FilesMatch "\.(ico|svg|avif|webp|jpg|png|gif|woff2)$">
|
||||
<FilesMatch "\.(ico|svg|avif|webp|jpg|jpeg|png|gif|woff2)$">
|
||||
Header set Cache-Control "max-age=31536000, public"
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.(css|js)$">
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
font-size: 1.3rem;
|
||||
font-weight: 700;
|
||||
color: var(--clr-sub-heading);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.toc ol,
|
||||
|
|
|
@ -107,11 +107,17 @@ a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(-
|
|||
|
||||
/* Content Accordion */
|
||||
* + .content-accordion { margin-top: var(--sz-paragraph-margin); }
|
||||
.content-accordion { padding: 0.5em 0; }
|
||||
.content-accordion__summary { font-weight: 700; }
|
||||
.content-accordion__content { padding: 0.5em 1em; }
|
||||
.content-accordion__content,
|
||||
.content-accordion__content p + p { margin-top: 1em; }
|
||||
|
||||
.content-accordion__content {
|
||||
--bdr-accordion: 0.15em solid var(--clr-title-border);
|
||||
padding: 1em 0;
|
||||
border-top: var(--bdr-accordion);
|
||||
border-bottom: var(--bdr-accordion);
|
||||
}
|
||||
|
||||
/* Content warning accordion */
|
||||
* + .contnet-warning { margin-top: var(--sz-paragraph-margin); }
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
articleTitle: April 2024 Leilukin's Hub Overhaul with Eleventy
|
||||
desc: I rebuilt my website with the static site generator Eleventy in April 2024.
|
||||
date: 2024-04-21
|
||||
categories: ["site updates"]
|
||||
categories: ["site updates", "eleventy"]
|
||||
toc: true
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in New Issue