diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | assets/css/_basics.scss | 4 | ||||
-rw-r--r-- | assets/css/_functions.scss | 4 | ||||
-rw-r--r-- | content/9thPK7O3xn/posts/fox.md | 20 | ||||
-rw-r--r-- | content/9thPK7O3xn/posts/i-am-not-a-fox.md | 19 | ||||
-rw-r--r-- | yarn.lock | 48 |
6 files changed, 49 insertions, 48 deletions
@@ -123,7 +123,7 @@ out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out | |||
123 | out/%.css: assets/css/%.scss $(CSS_SRC) | out | 123 | out/%.css: assets/css/%.scss $(CSS_SRC) | out |
124 | $(info [SCSS] $< -> $@) | 124 | $(info [SCSS] $< -> $@) |
125 | 125 | ||
126 | sassc -t compressed "$<" | ./node_modules/.bin/postcss --use postcss-csso autoprefixer --no-map > "$@" | 126 | sass "$<" | ./node_modules/.bin/postcss --use postcss-csso autoprefixer --no-map > "$@" |
127 | 127 | ||
128 | .cache/meta: | .cache | 128 | .cache/meta: | .cache |
129 | mkdir -p .cache/meta | 129 | mkdir -p .cache/meta |
diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index efa0279..f2b2624 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss | |||
@@ -23,7 +23,7 @@ html { | |||
23 | background-color: prop(--colors --bg); | 23 | background-color: prop(--colors --bg); |
24 | color: prop(--colors --fg); | 24 | color: prop(--colors --fg); |
25 | font-family: $font-fam--text; | 25 | font-family: $font-fam--text; |
26 | font-size: 1em / 16px * $font-size; | 26 | font-size: px-to-em($font-size); |
27 | line-height: $line-height; | 27 | line-height: $line-height; |
28 | } | 28 | } |
29 | 29 | ||
@@ -36,7 +36,7 @@ body { | |||
36 | 36 | ||
37 | main { | 37 | main { |
38 | @include iro-responsive-env(('sm', 'md')) { | 38 | @include iro-responsive-env(('sm', 'md')) { |
39 | font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); | 39 | font-size: iro-responsive-set((1rem, iro-px-to-rem(18px))); |
40 | } | 40 | } |
41 | } | 41 | } |
42 | 42 | ||
diff --git a/assets/css/_functions.scss b/assets/css/_functions.scss index 1523772..5e2518e 100644 --- a/assets/css/_functions.scss +++ b/assets/css/_functions.scss | |||
@@ -1,5 +1,7 @@ | |||
1 | @use 'sass:math'; | ||
2 | |||
1 | @function px-to-em($s, $b: $font-size) { | 3 | @function px-to-em($s, $b: $font-size) { |
2 | @return 1 / ($b / 1px) * ($s / 1px) * 1em; | 4 | @return 1 / math.div($b, 1px) * math.div($s, 1px) * 1em; |
3 | } | 5 | } |
4 | 6 | ||
5 | @function str-repeat($s, $n) { | 7 | @function str-repeat($s, $n) { |
diff --git a/content/9thPK7O3xn/posts/fox.md b/content/9thPK7O3xn/posts/fox.md deleted file mode 100644 index 95050bb..0000000 --- a/content/9thPK7O3xn/posts/fox.md +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | --- | ||
2 | title: I Am (Not) a Fox | ||
3 | unlisted: true | ||
4 | --- | ||
5 | |||
6 | I am not a fox. | ||
7 | It would be ridiculous to claim otherwise since a fox wouldn't be able to type on a keyboard, or come up with this text in the first place. | ||
8 | A fox probably couldn't have a job as a software developer either. | ||
9 | But despite reality being what it is, my existence as a human being doesn't feel right to me. | ||
10 | It never has. | ||
11 | |||
12 | I was 6 years old when I first became aware that something was wrong. | ||
13 | I'm sure many of you have seen the movie "The Sword in the Stone" by Disney, wherein the protagonist Arthur is transformed into various animals to learn valuable life lessons. | ||
14 | I was watching it one evening and became fascinated by the idea of possessing a nonhuman body, especially that of a bird. | ||
15 | What would it be like to experience to world as one? | ||
16 | To be covered in feathers that are bristling in the wind as I'm flying through the air? | ||
17 | Thinking about this felt right to me. | ||
18 | Or rather, it felt like for the first time in my life, a persistent feeling of discomfort I hadn't noticed before was suddenly gone. | ||
19 | This moment marks the beginning | ||
20 | |||
diff --git a/content/9thPK7O3xn/posts/i-am-not-a-fox.md b/content/9thPK7O3xn/posts/i-am-not-a-fox.md new file mode 100644 index 0000000..1a3417e --- /dev/null +++ b/content/9thPK7O3xn/posts/i-am-not-a-fox.md | |||
@@ -0,0 +1,19 @@ | |||
1 | --- | ||
2 | title: I Am Not a Fox | ||
3 | unlisted: true | ||
4 | --- | ||
5 | |||
6 | I am not a fox. | ||
7 | It would be ridiculous to claim otherwise since a fox wouldn't be able to type on a keyboard, not to mention come up with this text in the first place. | ||
8 | A fox probably couldn't have a job as a software developer, too. | ||
9 | But despite reality being quite obvious, my existence as a human being doesn't feel right to me. | ||
10 | It never has. | ||
11 | |||
12 | I was 6 years old when I first became aware that something was off. | ||
13 | I'm sure many of you have seen the movie "The Sword in the Stone" by Disney, wherein the protagonist Arthur is transformed into various animals to learn different life lessons. | ||
14 | I was watching this movie one evening and became fascinated by the idea of possessing a nonhuman body, especially that of a bird. | ||
15 | What would it be like to experience the world as one? | ||
16 | To be covered in feathers that are bristling in the wind as I'm flying through the air? | ||
17 | Imagining myself in this situation felt right. | ||
18 | It was as if a constant nagging at the back of my mind, which I hadn't noticed before, was gone for the first time. | ||
19 | |||
@@ -60,9 +60,9 @@ | |||
60 | integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== | 60 | integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== |
61 | 61 | ||
62 | ajv@^8.0.1: | 62 | ajv@^8.0.1: |
63 | version "8.8.0" | 63 | version "8.8.2" |
64 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.8.0.tgz#c501f10df72914bb77a458919e79fc73e4a2f9ef" | 64 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.8.2.tgz#01b4fef2007a28bf75f0b7fc009f62679de4abbb" |
65 | integrity sha512-L+cJ/+pkdICMueKR6wIx3VP2fjIx3yAhuvadUv/osv9yFD7OVZy442xFF+Oeu3ZvmhBGQzoF6mTSt+LUWBmGQg== | 65 | integrity sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw== |
66 | dependencies: | 66 | dependencies: |
67 | fast-deep-equal "^3.1.1" | 67 | fast-deep-equal "^3.1.1" |
68 | json-schema-traverse "^1.0.0" | 68 | json-schema-traverse "^1.0.0" |
@@ -189,9 +189,9 @@ camelcase@^5.3.1: | |||
189 | integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== | 189 | integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== |
190 | 190 | ||
191 | caniuse-lite@^1.0.30001272, caniuse-lite@^1.0.30001280: | 191 | caniuse-lite@^1.0.30001272, caniuse-lite@^1.0.30001280: |
192 | version "1.0.30001280" | 192 | version "1.0.30001283" |
193 | resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001280.tgz#066a506046ba4be34cde5f74a08db7a396718fb7" | 193 | resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001283.tgz#8573685bdae4d733ef18f78d44ba0ca5fe9e896b" |
194 | integrity sha512-kFXwYvHe5rix25uwueBxC569o53J6TpnGu0BEEn+6Lhl2vsnAumRFWEBhDft1fwyo6m1r4i+RqA4+163FpeFcA== | 194 | integrity sha512-9RoKo841j1GQFSJz/nCXOj0sD7tHBtlowjYlrqIUS812x9/emfBLBt6IyMz1zIaYc/eRL8Cs6HPUVi2Hzq4sIg== |
195 | 195 | ||
196 | chalk@^2.0.0: | 196 | chalk@^2.0.0: |
197 | version "2.4.2" | 197 | version "2.4.2" |
@@ -326,9 +326,9 @@ dir-glob@^3.0.1: | |||
326 | path-type "^4.0.0" | 326 | path-type "^4.0.0" |
327 | 327 | ||
328 | electron-to-chromium@^1.3.896: | 328 | electron-to-chromium@^1.3.896: |
329 | version "1.3.899" | 329 | version "1.4.3" |
330 | resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.899.tgz#4d7d040e73def3d5f5bd6b8a21049025dce6fce0" | 330 | resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.3.tgz#82480df3ef607f04bb38cc3f30a628d8b895339f" |
331 | integrity sha512-w16Dtd2zl7VZ4N4Db+FIa7n36sgPGCKjrKvUUmp5ialsikvcQLjcJR9RWnlYNxIyEHLdHaoIZEqKsPxU9MdyBg== | 331 | integrity sha512-hfpppjYhqIZB8jrNb0rNceQRkSnBN7QJl3W26O1jUv3F3BkQknqy1YTqVXkFnIcFtBc3Qnv5M7r5Lez2iOLgZA== |
332 | 332 | ||
333 | emoji-regex@^8.0.0: | 333 | emoji-regex@^8.0.0: |
334 | version "8.0.0" | 334 | version "8.0.0" |
@@ -636,7 +636,7 @@ ini@^1.3.5: | |||
636 | 636 | ||
637 | "iro-sass@git+https://git.vulpes.one/iro-sass/": | 637 | "iro-sass@git+https://git.vulpes.one/iro-sass/": |
638 | version "1.0.1" | 638 | version "1.0.1" |
639 | resolved "git+https://git.vulpes.one/iro-sass/#84fd9ce18cff43a4e4b4e8049f5557ae470482ac" | 639 | resolved "git+https://git.vulpes.one/iro-sass/#e20e9a1a94090b263746acf475a1212522c6f9fa" |
640 | 640 | ||
641 | is-arrayish@^0.2.1: | 641 | is-arrayish@^0.2.1: |
642 | version "0.2.1" | 642 | version "0.2.1" |
@@ -744,9 +744,9 @@ lilconfig@^2.0.3: | |||
744 | integrity sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA== | 744 | integrity sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA== |
745 | 745 | ||
746 | lines-and-columns@^1.1.6: | 746 | lines-and-columns@^1.1.6: |
747 | version "1.1.6" | 747 | version "1.2.4" |
748 | resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" | 748 | resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" |
749 | integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= | 749 | integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== |
750 | 750 | ||
751 | locate-path@^5.0.0: | 751 | locate-path@^5.0.0: |
752 | version "5.0.0" | 752 | version "5.0.0" |
@@ -1082,13 +1082,13 @@ postcss-value-parser@^4.1.0: | |||
1082 | integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== | 1082 | integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== |
1083 | 1083 | ||
1084 | postcss@^8.2.12, postcss@^8.3.11: | 1084 | postcss@^8.2.12, postcss@^8.3.11: |
1085 | version "8.3.11" | 1085 | version "8.4.1" |
1086 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858" | 1086 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.1.tgz#73051f825509ad1a716ef500108001bf3d1fa8f7" |
1087 | integrity sha512-hCmlUAIlUiav8Xdqw3Io4LcpA1DOt7h3LSTAC4G6JGHFFaWzI6qvFt9oilvl8BmkbBRX1IhM90ZAmpk68zccQA== | 1087 | integrity sha512-WqLs/TTzXdG+/A4ZOOK9WDZiikrRaiA+eoEb/jz2DT9KUhMNHgP7yKPO8vwi62ZCsb703Gwb7BMZwDzI54Y2Ag== |
1088 | dependencies: | 1088 | dependencies: |
1089 | nanoid "^3.1.30" | 1089 | nanoid "^3.1.30" |
1090 | picocolors "^1.0.0" | 1090 | picocolors "^1.0.0" |
1091 | source-map-js "^0.6.2" | 1091 | source-map-js "^1.0.1" |
1092 | 1092 | ||
1093 | pretty-hrtime@^1.0.3: | 1093 | pretty-hrtime@^1.0.3: |
1094 | version "1.0.3" | 1094 | version "1.0.3" |
@@ -1211,9 +1211,9 @@ semver@^7.3.4: | |||
1211 | lru-cache "^6.0.0" | 1211 | lru-cache "^6.0.0" |
1212 | 1212 | ||
1213 | signal-exit@^3.0.2: | 1213 | signal-exit@^3.0.2: |
1214 | version "3.0.5" | 1214 | version "3.0.6" |
1215 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f" | 1215 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.6.tgz#24e630c4b0f03fea446a2bd299e62b4a6ca8d0af" |
1216 | integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ== | 1216 | integrity sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ== |
1217 | 1217 | ||
1218 | slash@^3.0.0: | 1218 | slash@^3.0.0: |
1219 | version "3.0.0" | 1219 | version "3.0.0" |
@@ -1234,10 +1234,10 @@ slice-ansi@^4.0.0: | |||
1234 | astral-regex "^2.0.0" | 1234 | astral-regex "^2.0.0" |
1235 | is-fullwidth-code-point "^3.0.0" | 1235 | is-fullwidth-code-point "^3.0.0" |
1236 | 1236 | ||
1237 | source-map-js@^0.6.2: | 1237 | source-map-js@^1.0.1: |
1238 | version "0.6.2" | 1238 | version "1.0.1" |
1239 | resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" | 1239 | resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.1.tgz#a1741c131e3c77d048252adfa24e23b908670caf" |
1240 | integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== | 1240 | integrity sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA== |
1241 | 1241 | ||
1242 | source-map@^0.6.1: | 1242 | source-map@^0.6.1: |
1243 | version "0.6.1" | 1243 | version "0.6.1" |