Basic stuff
I wanted to make some notes on what I did but I keep changing things, plus I'm not good at keeping notes for myself, much less anyone else lol.
So if you don't know, if you're on laptop/desktop F12 opens the web developer console, and CTRL+U open the source code of the page in a new tab.
There you can click on the CSS link at top and see the CSS used in a page.
Toggle colors and stuff!
Dark theme toggle
I started with, and then
this other one
was useful.
I used some of the "safe rules" like desaturated colors instead of pure black/white.
I tested having light and dark modes apart from the main palettes but certain ones just worked better either way so I combined light/dark into each.
There was just too much contrast with some of them, had a glare.
Honestly to be practical there should be 4 at most, but I was aiming for ROYGBIV plus white and black.
Note that yellow can be hard to work with, a yellow that isn't fully saturated just looks dingy and dirty.
For the patterns, the squares came from one on here like a decade ago and evolved into that.
For the stars I just took this since there's math.
And from there also cubes looked good.
The main page is based on an example here
If I was being serious I'd have a custom settings page that would work all over the site.
If you're thinking about this, I'd say look at cleaner ways to do the palette.
I ended up duplicating the light and dark default themes which is too annoying to do in a fresh project.
In fact, although this seems clever at first, and is useful for two or three items, it gets out of hand fast!
This is part of why I was changing the colors from RGB to HSL, to use calc() and other functions in 2020's CSS to automagically
and programatically offer options.
Of course we have to worry about choice paralysis. I tested using the color picker on this page but it's kind of a mess to have as default.
Also there's ways to use sliders but I'm not sure about that.
Centering shenanigans
You can't beat old "margin zero auto" to center things 100% of the time, no worries about wrappers or boxes, just THIS THING will be in the center.
Other stuff may be broken on IE6 or whatever, but it's in the middle gosh darn it. And all you have to do is slap "center-margin" on the /main/.
If you want something newer, or don't want the margin to be zero, there's "margin-inline" which is in all major browsers since 2021.
Using flexbox or grid is possible, BUT! it applies to items inside, not the box itself, so you'd need to set the class on the body, or have a
wrapper div like oldskool has forever.
Images
Another thing where the defaults are mediocre, but at least it's simple to fix.
img,
picture,
svg,
video {
/* display: block; */
max-width: 100%;
object-fit: contain;
aspect-ratio: 1;
}
I had it as a block level element for a reason I have forgotten, it works fine standalone but it breaks text-align which I was being lazy and using to center everything.
Object-fit is handy, and I had it as cover at first, BUT I found on mobile the image is clipped. You'll just have to test for yourself.
Fonts!
Very important on a personal site.
For the main body text i decided sans serif would work best, and the Noto family is good, even if I don't expect to use odd characters.
For monospace I went with Fira Code to start, I've been using it in command line.
For serif, Source.
However, I like the other fonts in the Source family and choice #2 is to simply use Source family for all of them.
That would be harmonious but hardly quirky.
On top of that I want to self host, more private and practical.
Dig through here to start.
In fact it's a good time to also make some css for list styling.
- amusing for X Files
- Anonymous, maybe
- Atomic Age, nice retro
- Baloo, maybe too soft
- Calligraffiti, nice.
- Henry Morgan Hand is perfect for any pirate themed site.
- Hornswoggled has character but a little too kiddie
- Libre Baskerville and Caslon are both good dignified choices
It took some work to find ones that I can self host with license but Calligraffiti works.
It's script that is legible and "grown up" enough. I like "rock salt" also but it's a little too messy.
That seems to be a problem with handwriting fonts, but then my handwriting is terrible so I can't talk.
Site Updates
August 2026
Slowly fidding with CSS and testing new pages
added "aura update" class to highlight literally where new things are added
July 2026
more CSS work, using HSL for colors so can use calc() in palette instead of custom defining more variables.
Rainbow scratch page is up
Adding some random pics and little edits, like fixing broken links I forgot to test, and adding descriptions for them so other ppl know what the hell they are!
have combo CSS super style file, will be making a mess implementing it
April 2026
- Reworking index.html, still not sure what layout is best
- Added some art
- organizing files! CSS into CSS folder, then had to fix path to fonts lol
- Added DND page
- Added CSS test page
This should get archived to the code page after 2 months
Useful links
Basic stuff
Mozdev refs
CSS tricks the guides are basic, other stuff is fancier
safe design rules
flexbox froggy! easiest way to figure out flexbox
flexbox use examples old but useful examples
grid by example good visualizer
can I use: HTML, CSS, JavaScript tells you what browser support is like, in case you worry about shiny new things
Artsy stuff
colorhexa I like this color ref site, you can type in the RGB or whatever, it has color schemes, plus it has color blind visualizer.
Coolers and another color thing.
retro terminal CSS colors
ASCII art samples AND an editor to make your own
Blinkie net one of many collections
lospec palette
Here's some cool Neocities for inspo.
frutigeraeroarchive
eggramen
nom nom nami
ribo.zone
More advanced stuff
HTMHELL feel better about your bad code by seeing the worst
safe design rules visual design is my passion
Bennett Feely a collection of CSS type things, I like the CSS scales.
CSS patterns a hundred different patterns
Practical Typography make your mad rantings legible
font squirrel free fonts
html entities, the wingdings of the internet
modern css use cases update past IE6
border images a simple explanation
neocities notes things like what it considers an update
Other languages
PHP the right way
invent with Python Lots of useful Python projects.
you might not need jquery it's really a matter of what features you need
JS1K a JavaScript code golfing competition. seems to have died.
js 13k games in 13kb of JavaScript
GIT guide a very simple set up guide
Misc
Techdirt
Joel on software
Krebs
Schneier
josh
webdesignerdepot
explaining computers a British guy explains computers
infinite mac retro emulator run old Apple OS in the browser, I think System 6 is what I used in middle school in 1990 D: