Compare commits

...

19 commits

Author SHA1 Message Date
7e4518bdaf rainbow-quox download button 2024-12-16 22:40:26 +01:00
845c0b9708 faealchemist & deneb buttons 2024-12-16 19:33:43 +01:00
c6a12a73d1 remove old useless code 2024-12-15 04:06:53 +01:00
0689aa1f87 deneb 2024-12-14 00:34:22 +01:00
2d7ebe8c1e stroke around quogs 2024-12-13 03:37:51 +01:00
0a59aa66f6 history, reduced-motion, editable name box, an easter egg 2024-12-13 03:14:37 +01:00
d52151e787 use newer js version since OffscreenCanvas is 2022ish 2024-12-13 02:53:47 +01:00
c3760c1832 add palette.svg to makefile oops 2024-12-13 02:53:20 +01:00
621827c6aa show/hide ui buttons 2024-12-10 05:19:14 +01:00
578176c845 style stuff 2024-12-10 04:21:39 +01:00
6b960decc9 rotate flags now they're svg 2024-12-10 02:52:41 +01:00
3eddfe6e6a put minor swatches behind major so the shadows work 2024-12-10 02:52:15 +01:00
303fd65bab fancier back button 2024-12-10 02:51:53 +01:00
b3e45e855a move scripts/styles into dirs 2024-12-10 02:51:34 +01:00
f69277f67f optimise images 2024-12-10 00:14:04 +01:00
e14bc51fff rainbow quox 2024-12-09 22:57:40 +01:00
e35f46003b styles 2024-12-08 05:03:32 +01:00
815ef5c23f palette 2024-12-08 03:33:48 +01:00
d0099fbf19 rainbow quox canvas stuff 2024-12-07 21:28:49 +01:00
179 changed files with 2425 additions and 1064 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@ _build
_tmp _tmp
.directory .directory
*~ *~
dist-newstyle

View file

@ -1,12 +1,14 @@
CSS = $(wildcard style/*.css) $(shell find fonts -type f) \
rainbow-quox/style.css
PAGES = index.html pubkey.txt rainbow-quox/index.html PAGES = index.html pubkey.txt rainbow-quox/index.html
MEDIA = \ MEDIA = \
$(wildcard media/*.png) $(wildcard media/*.gif) $(wildcard media/*.webp) \ $(wildcard media/*.png) $(wildcard media/*.gif) $(wildcard media/*.webp) \
$(wildcard media/flags/*) $(wildcard media/buttons/*) \ $(wildcard media/flags/*) $(wildcard media/buttons/*) \
$(wildcard media/icons/*) $(wildcard media/bg/*) 8831.png 8831-quox.png \ $(wildcard media/icons/*) $(wildcard media/bg/*) 8831.png 8831-quox.png \
$(wildcard rainbow-quox/front/*.png) $(wildcard rainbow-quox/back/*.png) $(wildcard rainbow-quox/front/*) $(wildcard rainbow-quox/back/*) \
SCRIPTS = $(patsubst %.ts,%.js,$(wildcard script/*.ts rainbow-quox/*.ts)) $(wildcard rainbow-quox/*.svg) rainbow-quox/palette.svg
CSS = $(shell find fonts -type f) \
$(patsubst %.scss,%.css, \
$(wildcard rainbow-quox/style/*) $(wildcard style/*))
SCRIPTS = $(patsubst %.ts,%.js,$(wildcard script/*.ts rainbow-quox/script/*.ts))
MISC = $(shell find .well-known -type f) MISC = $(shell find .well-known -type f)
ALL = $(CSS) $(PAGES) $(MEDIA) $(SCRIPTS) $(MISC) ALL = $(CSS) $(PAGES) $(MEDIA) $(SCRIPTS) $(MISC)
@ -29,38 +31,31 @@ upload: build
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/ $(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
$(BUILDDIR)/%: % $(BUILDDIR)/%: %
@echo $* @echo '[copy] ' $<
@mkdir -p $(dir $@) mkdir -p $(dir $@)
@cp $< $@ cp $< $@
$(BUILDDIR)/%.gif: %_bg.gif
@echo $(notdir $@)
@mkdir -p $(dir $(BUILDDIR)/$* $(TMPDIR)/$*)
@gifsicle -U $*_bg.gif -o $(TMPDIR)/$*_bg_u.gif
@convert -transparent '#ff9bc7' $(TMPDIR)/$*_bg_u.gif $(TMPDIR)/$*_t.gif
@gifsicle --disposal=previous $(TMPDIR)/$*_t.gif -o $(BUILDDIR)/$*.gif
$(BUILDDIR)/%_small.png: %.svg
@echo $(notdir $@)
@mkdir -p $(dir $@)
@inkscape -e $@ -h 16 $< >/dev/null
$(BUILDDIR)/%_large.png: %.svg
@echo $(notdir $@)
@mkdir -p $(dir $@)
@inkscape -e $@ -h 30 $< >/dev/null
$(BUILDDIR)/%_dim.png: %.png
@echo $(notdir $@)
@convert -channel A -evaluate Multiply 0.75 $< $@
$(BUILDDIR)/%.js: %.ts $(BUILDDIR)/%.js: %.ts
@echo '[tsc] ' $<
tsc --strict --noUncheckedIndexedAccess --noEmitOnError \ tsc --strict --noUncheckedIndexedAccess --noEmitOnError \
--lib dom,es2023 --target es2015 \ --lib dom,es2023 --target es2022 \
--outDir $(dir $@) $^ --outDir $(dir $@) $^
$(BUILDDIR)/rainbow-quox/palette.svg: rainbow-quox/make-palette/*
@echo '[make-palette] rainbow-quox/palette.svg'
cd rainbow-quox/make-palette; \
cabal run -v0 -- make-palette $(abspath $@)
$(BUILDDIR)/%.css: %.scss $(wildcard $(dir %)/lib/*.scss)
@echo '[sass] ' $<
mkdir -p $(dir $@)
sass --no-source-map -I style $< $@ \
--silence-deprecation mixed-decls
clean: clean:
@echo '[clean]'
$(RM) -r $(TMPDIR) $(BUILDDIR) $(RM) -r $(TMPDIR) $(BUILDDIR)
.PHONY: clean all build upload .PHONY: clean all build upload
.SILENT:

View file

@ -0,0 +1,25 @@
@font-face {
font-family: PrgmataPro;
font-weight: 400;
src: url(r.woff2) format('woff2');
}
@font-face {
font-family: PrgmataPro;
font-weight: 500;
src: url(b.woff2) format('woff2');
}
@font-face {
font-family: PrgmataPro;
font-weight: 400;
font-style: italic;
src: url(i.woff2) format('woff2');
}
@font-face {
font-family: PrgmataPro;
font-weight: 500;
font-style: italic;
src: url(bi.woff2) format('woff2');
}

View file

@ -8,7 +8,7 @@
<link rel=me href=https://chitter.xyz/@niss> <link rel=me href=https://chitter.xyz/@niss>
<link rel=me href=https://cohost.org/niss> <link rel=me href=https://cohost.org/niss>
<link rel=icon href=media/favicon.png> <link rel=icon href=media/favicon.webp>
<link rel=stylesheet href=style/base.css> <link rel=stylesheet href=style/base.css>
<link rel=stylesheet href=style/cube.css> <link rel=stylesheet href=style/cube.css>
<link rel=stylesheet href=style/flat.css> <link rel=stylesheet href=style/flat.css>
@ -20,14 +20,14 @@
<meta property=og:title content="the gec zone"> <meta property=og:title content="the gec zone">
<meta property=og:description content="lair of the creature known as “niss”"> <meta property=og:description content="lair of the creature known as “niss”">
<meta property=og:url content="https://yummy.cricket"> <meta property=og:url content="https://yummy.cricket">
<meta property=og:image content=media/opengraph.png> <meta property=og:image content=media/opengraph.webp>
<meta property=og:image:width content=400> <meta property=og:image:width content=400>
<meta property=og:image:height content=400> <meta property=og:image:height content=400>
<meta property=og:image content=media/twittercard.png> <meta property=og:image content=media/twittercard.webp>
<meta property=og:image:width content=800> <meta property=og:image:width content=800>
<meta property=og:image:height content=418> <meta property=og:image:height content=418>
<meta name=twitter:card content=summary_large_image> <meta name=twitter:card content=summary_large_image>
<meta name=twitter:image content=media/twittercard.png> <meta name=twitter:image content=media/twittercard.webp>
<script src=script/shuffle.js type=module></script> <script src=script/shuffle.js type=module></script>
<script src=script/run.js type=module></script> <script src=script/run.js type=module></script>
@ -96,11 +96,11 @@
</dl> </dl>
<div id=flags> <div id=flags>
<img src=media/flags/nb.png alt=non-binary title=non-binary> <img src=media/flags/nb.svg alt=non-binary title=non-binary>
<img src=media/flags/gf.png alt=genderfluid title=genderfluid> <img src=media/flags/gf.svg alt=genderfluid title=genderfluid>
<img src=media/flags/pan.png alt=pansexual title=pansexual> <img src=media/flags/pan.svg alt=pansexual title=pansexual>
<img src=media/flags/quoi.png alt=quoiromantic title=quoiromantic> <img src=media/flags/quoi.svg alt=quoiromantic title=quoiromantic>
<img src=media/flags/polyam.png alt=polyamorous title=polyamorous> <img src=media/flags/polyam.svg alt=polyamorous title=polyamorous>
</div> </div>
</section> </section>
@ -345,10 +345,8 @@
<picture> <picture>
<source srcset=media/buttons/FaeAlchemist_still.png <source srcset=media/buttons/FaeAlchemist_still.png
media='(prefers-reduced-motion: reduce)'> media='(prefers-reduced-motion: reduce)'>
<img src=https://faealchemist.neocities.org/FaeAlchemist%2088x31.gif <img src=media/buttons/FaeAlchemist.png alt=faealchemist>
alt=faealchemist>
</picture> </picture>
<!-- hotlinked to keep it up to date -->
</a> </a>
<li id=suricrasia> <li id=suricrasia>
@ -434,6 +432,15 @@
<a href=https://blaurascon.nfshost.com title="blau's blog"> <a href=https://blaurascon.nfshost.com title="blau's blog">
<img src=media/buttons/blau.png alt="blau's blog"> <img src=media/buttons/blau.png alt="blau's blog">
</a> </a>
<li id=deneb>
<a href=https://www.netdeneb.com title=deneb>
<picture>
<source srcset=media/buttons/deneb_still.webp
media='(prefers-reduced-motion: reduce)'>
<img src=media/buttons/deneb.gif alt=deneb>
</picture>
</a>
</ul> </ul>
</section> </section>

BIN
media/buttons/FaeAlchemist.gif (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/buttons/alloyed_still.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/beeps_still.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/blau.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/cdromca.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/cervine.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/clip.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/coda.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/craw.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/creature0354_still.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/crouton.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/deneb.gif (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/buttons/deneb_still.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/buttons/dex.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/dino.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/gabu.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/gulfie.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/hell-labs-still.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/katja.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/krita.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/lifning.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/mathie.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/odoben.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/pearshapes.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/pebble_still.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/therra.png (Stored with Git LFS)

Binary file not shown.

BIN
media/buttons/tsunderdog_still.png (Stored with Git LFS)

Binary file not shown.

BIN
media/favicon.png (Stored with Git LFS)

Binary file not shown.

BIN
media/favicon.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/flags/gf.png (Stored with Git LFS)

Binary file not shown.

7
media/flags/gf.svg Normal file
View file

@ -0,0 +1,7 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'>
<rect width='200' height='24' fill='#ff74a2'/>
<rect width='200' height='24' y='24' fill='#fcfcfc'/>
<rect width='200' height='24' y='48' fill='#bd17d5'/>
<rect width='200' height='24' y='72' fill='#2b2b2b'/>
<rect width='200' height='24' y='96' fill='#333ebc'/>
</svg>

After

Width:  |  Height:  |  Size: 333 B

BIN
media/flags/nb.png (Stored with Git LFS)

Binary file not shown.

6
media/flags/nb.svg Normal file
View file

@ -0,0 +1,6 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'>
<rect width='200' height='30' fill='#fcf434'/>
<rect width='200' height='30' y='30' fill='#fcfcfc'/>
<rect width='200' height='30' y='60' fill='#9b5bd3'/>
<rect width='200' height='30' y='90' fill='#2b2b2b'/>
</svg>

After

Width:  |  Height:  |  Size: 279 B

BIN
media/flags/pan.png (Stored with Git LFS)

Binary file not shown.

5
media/flags/pan.svg Normal file
View file

@ -0,0 +1,5 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'>
<rect width='200' height='40' fill='#ff208b'/>
<rect width='200' height='40' y='40' fill='#ffd700'/>
<rect width='200' height='40' y='80' fill='#20b0ff'/>
</svg>

After

Width:  |  Height:  |  Size: 225 B

BIN
media/flags/polyam.png (Stored with Git LFS)

Binary file not shown.

11
media/flags/polyam.svg Normal file
View file

@ -0,0 +1,11 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'>
<rect width='200' height='43' fill='#36e'/>
<rect width='200' height='34' y='43' fill='#e34'/>
<rect width='200' height='43' y='77' fill='#123'/>
<path stroke='#fe7' stroke-width='5' fill='none' d='
M126,64 l-26,26 -26,-26
c-26,-26 0,-56 26,-22 26,-34 52,-4 26,22 z
M55,60
c0,-20 20,-28 45,0 25,28 45,20 45,0
0,-20 -20,-28 -45,0 -25,28 -45,20 -45,0 z' />
</svg>

After

Width:  |  Height:  |  Size: 442 B

BIN
media/flags/quoi.png (Stored with Git LFS)

Binary file not shown.

6
media/flags/quoi.svg Normal file
View file

@ -0,0 +1,6 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'>
<rect width='200' height='30' fill='#2b2b2b'/>
<rect width='200' height='30' y='30' fill='#8bd655'/>
<rect width='200' height='30' y='60' fill='#69d0d5'/>
<rect width='200' height='30' y='90' fill='#d1d1d1'/>
</svg>

After

Width:  |  Height:  |  Size: 279 B

BIN
media/icons/artfight.png (Stored with Git LFS)

Binary file not shown.

BIN
media/icons/artfight.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/icons/blog.png (Stored with Git LFS)

Binary file not shown.

BIN
media/icons/blog.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/icons/chitter.png (Stored with Git LFS)

Binary file not shown.

BIN
media/icons/chitter.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/icons/deviantart.png (Stored with Git LFS)

Binary file not shown.

BIN
media/icons/deviantart.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/icons/furaffinity.png (Stored with Git LFS)

Binary file not shown.

BIN
media/icons/furaffinity.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/kesi-neon.l.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/kesi-neon.png (Stored with Git LFS)

Binary file not shown.

BIN
media/kesi-neon.webp (Stored with Git LFS)

Binary file not shown.

BIN
media/kesi.png (Stored with Git LFS)

Binary file not shown.

BIN
media/kesi.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/opengraph.png (Stored with Git LFS)

Binary file not shown.

BIN
media/opengraph.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/quobl-neon.l.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/quobl-neon.png (Stored with Git LFS)

Binary file not shown.

BIN
media/quobl-neon.webp (Stored with Git LFS)

Binary file not shown.

BIN
media/quobl.l.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/quobl.png (Stored with Git LFS)

Binary file not shown.

BIN
media/quobl.webp (Stored with Git LFS)

Binary file not shown.

BIN
media/quoxtrans.png (Stored with Git LFS)

Binary file not shown.

BIN
media/quoxtrans.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/twittercard.png (Stored with Git LFS)

Binary file not shown.

BIN
media/twittercard.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/wave-neon.l.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/wave-neon.png (Stored with Git LFS)

Binary file not shown.

BIN
media/wave-neon.webp (Stored with Git LFS)

Binary file not shown.

BIN
media/wave.l.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/wave.png (Stored with Git LFS)

Binary file not shown.

BIN
media/wave.webp (Stored with Git LFS)

Binary file not shown.

54
rainbow-quox/back.svg Normal file
View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
width="65" height="65" viewBox="-5 -2.5 65 65"
stroke="#123" stroke-width="2">
<title>go back</title>
<desc>back to the cube.</desc>
<defs>
<linearGradient id="g-arrow-mask">
<stop offset="65%" stop-color="white" />
<stop offset="90%" stop-color="black" />
</linearGradient>
<linearGradient id="g-arrow">
<stop offset="25%" stop-color="hsl(60 90% 95%)" />
<stop offset="75%" stop-color="hsl(60 80% 90%)" />
</linearGradient>
<linearGradient id="g-hello" x1="25%" y1="25%" x2="75%" y2="75%">
<stop offset="0%" stop-color="hsl(310 86% 92%)" />
<stop offset="100%" stop-color="hsl(310 90% 80%)" />
</linearGradient>
<linearGradient id="g-id" x1="0" y1="0" x2="100%" y2="100%">
<stop offset="0%" stop-color="hsl(10 87% 92%)" />
<stop offset="100%" stop-color="hsl(10 87% 86%)" />
</linearGradient>
<linearGradient id="g-friends" x1="25%" y1="0" x2="75%" y2="100%">
<stop offset="0%" stop-color="hsl(190 87% 92%)" />
<stop offset="100%" stop-color="hsl(190 77% 78%)" />
</linearGradient>
<mask id="arrow-mask">
<rect height="100%" width="100%" stroke="none" fill="url(#g-arrow-mask)" />
</mask>
</defs>
<path id="arrow" fill="url(#g-arrow)" mask="url(#arrow-mask)"
d="M30,5 l-30,25 30,25 7.07,-7.07 -17.93,-12.93 40,0 0,-10 -40,0 17.93,-12.93 z" />
<!-- (7.07 ≈ 10/√2)-->
<g id="cube" transform="translate(47 5)">
<g stroke="none">
<!-- top -->
<path id="hello" fill="url(#g-hello)" d="M0,0 l-12,5 l12,5 l12,-5 z" />
<!-- left -->
<path id="id" fill="url(#g-id)" d="M-12,5 v15 l12,5 v-15 z" />
<!-- right -->
<path id="friends" fill="url(#g-friends)" d="M12,5 v15 l-12,5 v-15 z" />
</g>
<!-- outline -->
<path id="cube-outline" fill="none"
d="M0,0 l-12,5 v15 l12,5 12,-5 v-15 z
m-12,5 l12,5 12,-5 m-12,5 v15" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB

BIN
rainbow-quox/back/belly1.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/belly1.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/belly2.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/belly2.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/claws.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/claws.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/cuffs.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/cuffs.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/eyes.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/eyes.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/eyeshine.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/fins1.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/fins1.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/fins2.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/fins2.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/fins3.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/fins3.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/lines.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/lines.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/masks.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/masks.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rainbow-quox/back/outer.png (Stored with Git LFS)

Binary file not shown.

BIN
rainbow-quox/back/outer.webp (Stored with Git LFS) Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more