From c0f53e00c1888ff9bd92055f0bdc3fe9f218d387 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sat, 31 Jan 2026 10:31:31 +1000 Subject: [PATCH] clean repo --- {www => docs}/hown/README.md | 0 {www => docs}/hown/default.nix | 0 {www => docs}/hown/index.html | 0 {www => docs}/hown/tty.nix | 0 www/bailing_out.txt | 7 -- www/css-old/typing-long.css | 72 ------------- www/css-old/typing.css | 74 ------------- www/{css-old => css}/shader-style.css | 0 www/css/tty_intro.css | 80 -------------- www/css/tty_intro.css.map | 7 -- www/{css-old/typing2.css => css/typing.css} | 0 www/index-old.html | 21 ---- www/index.html | 29 +++-- www/index2.html | 38 ------- www/scss/_base.scss | 23 ---- www/scss/_tty.scss | 113 -------------------- www/scss/tty_intro.scss | 5 - www/wdym.html | 60 ----------- 18 files changed, 23 insertions(+), 506 deletions(-) rename {www => docs}/hown/README.md (100%) rename {www => docs}/hown/default.nix (100%) rename {www => docs}/hown/index.html (100%) rename {www => docs}/hown/tty.nix (100%) delete mode 100644 www/bailing_out.txt delete mode 100644 www/css-old/typing-long.css delete mode 100644 www/css-old/typing.css rename www/{css-old => css}/shader-style.css (100%) delete mode 100644 www/css/tty_intro.css delete mode 100644 www/css/tty_intro.css.map rename www/{css-old/typing2.css => css/typing.css} (100%) delete mode 100644 www/index-old.html delete mode 100644 www/index2.html delete mode 100644 www/scss/_base.scss delete mode 100644 www/scss/_tty.scss delete mode 100644 www/scss/tty_intro.scss delete mode 100644 www/wdym.html diff --git a/www/hown/README.md b/docs/hown/README.md similarity index 100% rename from www/hown/README.md rename to docs/hown/README.md diff --git a/www/hown/default.nix b/docs/hown/default.nix similarity index 100% rename from www/hown/default.nix rename to docs/hown/default.nix diff --git a/www/hown/index.html b/docs/hown/index.html similarity index 100% rename from www/hown/index.html rename to docs/hown/index.html diff --git a/www/hown/tty.nix b/docs/hown/tty.nix similarity index 100% rename from www/hown/tty.nix rename to docs/hown/tty.nix diff --git a/www/bailing_out.txt b/www/bailing_out.txt deleted file mode 100644 index b8f6c05..0000000 --- a/www/bailing_out.txt +++ /dev/null @@ -1,7 +0,0 @@ -ERROR: Root device mounted successfully, but /sbin/init does not exist. - -Bailing out, you are on your own. -Good luck - -sh: can't access tty; job control turned off -[rootfs ]# diff --git a/www/css-old/typing-long.css b/www/css-old/typing-long.css deleted file mode 100644 index 7203874..0000000 --- a/www/css-old/typing-long.css +++ /dev/null @@ -1,72 +0,0 @@ -html, body { - height: 100%; - margin: 0; - background-color: #0e0d14; -} - -.centered { - position: absolute; - inset: 0 0 0 0; - margin: auto; - - display: flex; -} - -.heading { - font-family: monospace; - font-size: 2em; - font-weight: bold; - color: #ffc0cb; /* #ac4aed */ -} - -/* =========================================================== * - * Type Writer Effect * -/* =========================================================== */ - -#typing-wrapper { - margin: auto auto; - width: 13ch; /* prompt + command + cursor length */ - text-align: start; - - border: 0.5ch solid #ffc0cb; /* #ac4aed */ - padding: 20px; - - display: flex; - flex-direction: column; - justify-content: center; - align-content: center; - align-items: start; -} - -#typing-prompt { - width: 12ch; /* prompt + command length */ - animation: typing 3s steps(10), cursor-blink 0.6s steps(1, start) 3s infinite alternate; - white-space: nowrap; - overflow: hidden; - border-right: 1ch solid; -} - -#typing-result { - /* "3.8s" means the result is shown 0.8s after typing ends */ - animation: unhide 1s 3.8s forwards; - visibility: hidden; - white-space: pre-wrap; /* preserve linebreaks */ -} - -@keyframes typing { - from { - width: 5ch /* ignore prompt width */ - } -} - -@keyframes cursor-blink { - 50% { - border-color: transparent - } -} - -@keyframes unhide { - to { - visibility: visible - } -} diff --git a/www/css-old/typing.css b/www/css-old/typing.css deleted file mode 100644 index 2822876..0000000 --- a/www/css-old/typing.css +++ /dev/null @@ -1,74 +0,0 @@ -html, body { - height: 100%; - margin: 0; - background-color: #0e0d14; -} - -.centered { - position: absolute; - inset: 0 0 0 0; - margin: auto; - - display: flex; -} - -.heading { - font-family: monospace; - font-size: 2em; - font-weight: bold; - color: #ffc0cb; /* #ac4aed */ -} - -/* =========================================================== * - * Type Writer Effect * -/* =========================================================== */ - -#typing-wrapper { - margin: auto auto; - width: 39ch; /* prompt + command + cursor length */ - height: 10ch; - text-align: start; - - border: 0.5ch solid #ffc0cb; /* #ac4aed */ - padding: 20px; - - display: flex; - flex-direction: column; - justify-content: start; - align-content: center; - align-items: start; -} - -#typing-prompt { - width: 38ch; /* prompt + command length */ - animation: typing 3s steps(36), cursor-blink 0.6s steps(1, start) 3s infinite alternate; - white-space: nowrap; - overflow: hidden; - border-right: 1ch solid; - margin-bottom: 0.5ch; -} - -#typing-result { - /* "1.8s" means the result is shown 1.8s after typing ends */ - animation: unhide 1s 4.8s forwards; - visibility: hidden; - /* white-space: pre-wrap; /* preserve linebreaks */ */ -} - -@keyframes typing { - from { - width: 2ch /* ignore prompt width */ - } -} - -@keyframes cursor-blink { - 50% { - border-color: transparent - } -} - -@keyframes unhide { - to { - visibility: visible - } -} diff --git a/www/css-old/shader-style.css b/www/css/shader-style.css similarity index 100% rename from www/css-old/shader-style.css rename to www/css/shader-style.css diff --git a/www/css/tty_intro.css b/www/css/tty_intro.css deleted file mode 100644 index 724505e..0000000 --- a/www/css/tty_intro.css +++ /dev/null @@ -1,80 +0,0 @@ -/* background */ -/* text */ -/* #ac4aed */ -html, body { - height: 100%; - margin: 0; - background-color: #0e0d14; } - -.centered { - position: absolute; - inset: 0 0 0 0; - margin: auto; - display: flex; } - -.heading { - font-family: monospace; - font-size: 2em; - font-weight: bold; - color: #ffc0cb; -} - -/* =========================================================== * - * Type Writer Effect * -/* =========================================================== */ -/* ================== - * Graphical Container - */ -/* ================== - * TTY Prompt - */ -@keyframes cursor-blink { - 50% { - border-color: transparent; } } -/* ===================== - * TTY Output - */ -@keyframes unhide-result { - to { - visibility: visible; } } -/* ========================= - * Intended Public Interface - */ -.typing-wrapper-2ch-36ch { - margin: auto auto; - width: 39ch; - text-align: start; - - border: 0.5ch solid #ffc0cb; - padding: 20px; - - display: flex; - flex-direction: column; - justify-content: center; - align-content: center; - align-items: start; -} - -.typing-prompt-2ch-36ch-3s-0_6s { - width: 38ch; - /* XXX: fix scss leaves typing as a function! */ - animation: kfs-typing-2ch 3s steps(36ch), cursor-blink 0.6s steps(1, start) 3s infinite alternate; - white-space: nowrap; - overflow: hidden; - border-right: 1ch solid; -} - -.typing-result-3s-0_8s { - animation: unhide-result 1s 3.8s forwards; - visibility: hidden; - white-space: pre-wrap; -} - -/* XXX: NAME CHANGED TO GENERIC */ -@keyframes kfs-typing-2ch { - from { - width: 2ch /* ignore prompt width */ - } -} - -/*# sourceMappingURL=tty_intro.css.map */ diff --git a/www/css/tty_intro.css.map b/www/css/tty_intro.css.map deleted file mode 100644 index 7928813..0000000 --- a/www/css/tty_intro.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "AAAqB,gBAAgB;AAChB,gBAAgB;AAAE,aAAa;AAEpD,UAAW;EACT,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,CAAC;EACT,gBAAgB,EANN,OAAO;;AASnB,SAAU;EACR,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,OAAO;EACd,MAAM,EAAE,IAAI;EAEZ,OAAO,EAAE,IAAI;;AAGf,QAAS;EACP,WAAW,EAAE,SAAS;EACtB,SAAS,EAAE,GAAG;EACd,WAAW,EAAE,IAAI;EACjB,KAAK,EApBK,OAAO;;ACDnB;;iEAEiE;AAsBjE;;GAEG;AAsBH;;GAEG;AA2BH,uBAIC;EAHC,GAAI;IACF,YAAY,EAAE,WAAW;AAI7B;;GAEG;AAcH,wBAIC;EAHC,EAAG;IACD,UAAU,EAAE,OAAO;AAIvB;;GAEG;AA/ED,wBAAmD;EAEjD,MAAM,EAAE,SAAS;EACjB,KAAK,EAAE,IAAoC;EAG3C,OAAO,EAAE,IAAI;EACb,cAAc,EAAE,MAAM;EACtB,eAAe,EAAE,MAAM;EACvB,aAAa,EAAE,MAAM;EACrB,WAAW,EAAE,KAAK;EAClB,UAAU,EAAE,KAAK;EAGjB,0CAA0C;EAC1C,MAAM,EAAE,mBAAmB;EAC3B,OAAO,EAAE,IAAI;;AAUf,+BAAqG;EACnG,KAAK,EAAE,IAA8B;EACrC,YAAY,EAAE,SAAS;EAGvB,WAAW,EAAE,MAAM;EACnB,QAAQ,EAAE,MAAM;EAGhB,SAAS,EACP,mFAC8E;;AAwBlF,sBAAkE;EAChE,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,QAAQ;EAGrB,SAAS,EACP,8BAA4D", -"sources": ["../scss/_base.scss","../scss/_tty.scss"], -"names": [], -"file": "tty_intro.css" -} \ No newline at end of file diff --git a/www/css-old/typing2.css b/www/css/typing.css similarity index 100% rename from www/css-old/typing2.css rename to www/css/typing.css diff --git a/www/index-old.html b/www/index-old.html deleted file mode 100644 index 84f91ad..0000000 --- a/www/index-old.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -
-
- -
- $ do butterflies cry when they're sad? -
- -
- Segmentation fault (core dumped) -
- -
-
- - diff --git a/www/index.html b/www/index.html index c9e956e..a8d3f1c 100644 --- a/www/index.html +++ b/www/index.html @@ -1,18 +1,35 @@ + - + +
-
+
-
- $ Do butterflies cry when they're sad? +
+ grub> boot
-
- Segmentation fault (core dumped) +
+ ERROR: Root device mounted successfully, but /sbin/init does not exist.

+ + Bailing out, you are on your own.
+ Good luck

+ + sh: can't access tty; job control turned off

+
+ + +
+ [rootfs ]# + do butterflies cry when they're sad? +
+ +
+ Segmentation fault (core dumped)
diff --git a/www/index2.html b/www/index2.html deleted file mode 100644 index 145965f..0000000 --- a/www/index2.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - -
-
- -
- grub> boot -
- -
- ERROR: Root device mounted successfully, but /sbin/init does not exist.

- - Bailing out, you are on your own.
- Good luck

- - sh: can't access tty; job control turned off

-
- - -
- [rootfs ]# - do butterflies cry when they're sad? -
- -
- Segmentation fault (core dumped) -
- -
-
- - diff --git a/www/scss/_base.scss b/www/scss/_base.scss deleted file mode 100644 index fab1d77..0000000 --- a/www/scss/_base.scss +++ /dev/null @@ -1,23 +0,0 @@ -$color-bg: #0e0d14; /* background */ -$color-txt: #ffc0cb; /* text */ /* #ac4aed */ - -html, body { - height: 100%; - margin: 0; - background-color: $color-bg; -} - -.centered { - position: absolute; - inset: 0 0 0 0; - margin: auto; - - display: flex; -} - -.heading { - font-family: monospace; - font-size: 2em; - font-weight: bold; - color: $color-txt; -} diff --git a/www/scss/_tty.scss b/www/scss/_tty.scss deleted file mode 100644 index 1634bae..0000000 --- a/www/scss/_tty.scss +++ /dev/null @@ -1,113 +0,0 @@ -/* =========================================================== * - * Type Writer Effect * -/* =========================================================== */ - -/// Replace `$search` with `$replace` in `$string` -/// @author Kitty Giraudel -/// @param {String} $string - Initial string -/// @param {String} $search - Substring to replace -/// @param {String} $replace ('') - New value -/// @return {String} - Updated string -@function str-replace($string, $search, $replace: '') { - $index: str-index($string, $search); - - @if $index { - @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); - } - - @return $string; -} - -@function sanitize-int($int) { - @return str-replace(#{$int}, '.', '_') -} - -/* ================== - * Graphical Container - */ -@mixin typing-wrapper($prompt-width, $command-width) { - .typing-wrapper-#{$prompt-width}-#{$command-width} { - // wrapper shape + center position - margin: auto auto; - width: $prompt-width + $command-width + 1ch; // +1 for cursor width - - // flexbox alignments - display: flex; - flex-direction: column; - justify-content: center; - align-content: center; - align-items: start; - text-align: start; - - // XXX: TODO: for some reason this causes an error?? - /* border: 0.5ch solid base.$color-txt; */ - border: 0.5ch solid #ffc0cb; - padding: 20px; - } -} - -/* ================== - * TTY Prompt - */ -@mixin typing-prompt($prompt-width, $command-width, $typing-duration, $blink-period) { - // XXX: TODO: relearn SCSS cause the thing below will break whenever an input is given as a float - // XXX: TODO: (period character interpretted as sub-attribute) - .typing-prompt-#{$prompt-width}-#{$command-width}-#{$typing-duration}-#{sanitize-int($blink-period)} { - width: $prompt-width + $command-width; // ignore cursor (right border) - border-right: 1ch solid; // cursor - - // hide what the animation hasn't shown yet - white-space: nowrap; - overflow: hidden; - - // typing animation then start cursor blink - animation: - typing($prompt-width) $typing-duration steps($command-width), - cursor-blink $blink-period steps(1, start) $typing-duration infinite alternate; - } -} - -@mixin typing($prompt-width) { - @keyframes typing-#{$prompt-width} { - from { - width: $prompt-width // ignore effect for prompt - } - } -} - -@keyframes cursor-blink { - 50% { - border-color: transparent - } -} - -/* ===================== - * TTY Output - */ -@mixin typing-result($typing-duration, $reveal-delay) { - // XXX: TODO: relearn SCSS cause the thing below will break whenever an input is given as a float - // XXX: TODO: (period character interpretted as sub-attribute) - .typing-result-#{$typing-duration}-#{sanitize-int($reveal-delay)} { - visibility: hidden; - white-space: pre-wrap; // preserve linebreaks - - // show result once typing ends + delay - animation: - unhide-result 1s ($typing-duration + $reveal-delay) forwards; - } -} - -@keyframes unhide-result { - to { - visibility: visible - } -} - -/* ========================= - * Intended Public Interface - */ -@mixin tty($prompt-width, $command-width, $typing-duration: 3s, $blink-period: 0.6s, $reveal-delay: 0.8s) { - @include typing-wrapper($prompt-width, $command-width); - @include typing-prompt($prompt-width, $command-width, $typing-duration, $blink-period); - @include typing-result($typing-duration, $reveal-delay); -} diff --git a/www/scss/tty_intro.scss b/www/scss/tty_intro.scss deleted file mode 100644 index 31abc48..0000000 --- a/www/scss/tty_intro.scss +++ /dev/null @@ -1,5 +0,0 @@ -@import "base"; -@import "tty"; -@include tty(2ch, 36ch, 3s, 0.6s, 0.8s); - - diff --git a/www/wdym.html b/www/wdym.html deleted file mode 100644 index 74b283d..0000000 --- a/www/wdym.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - example.com - - - -
-

dobutterfliescry.net

-

Huh wdym?

-
- -