Welcome Home |
Version | v0.1.1 | |
|---|---|---|---|
| Updated | |||
| Author | Shingai Manhambara | License | MIT |
Lovely. We can hide stuff in the <details>
element:
This is a plain old bulleted list with some of what I do:
Ordered lists look pretty much as you’d expect:
It’s nice to visualize trees. This is a regular unordered list with a
tree class:
/dev/nvme0n1p2
We can use regular tables that automatically adjust to the monospace grid. They’re responsive.
| Name | Dimensions | Position |
|---|---|---|
| Shingai Manhambara | 1.85m × 177lb × 4.87m | 43°45’50.78”N 11°15’3.34”E |
| Home | 215.25m × 215.25m × 136.4m | 29°58’34”N 31°07’51”E |
Note that only one column is allowed to grow.
Here are some buttons:
And inputs:
Add the grid class to a container to divide up the
horizontal space evenly for the cells. Note that it maintains the
monospace, so the total width might not be 100%. Here are six grids with
increasing cell count:
If we want one cell to fill the remainder, we set
flex-grow: 1; for that particular cell.
We can draw in <pre> tags using box-drawing
characters:
╭─────────────────╮
│ MONOSPACE ROCKS │
╰─────────────────╯
To have it stand out a bit more, we can wrap it in a
<figure> tag, and why not also add a
<figcaption>.
┌───────┐ ┌───────┐ ┌───────┐
│ i │ | ii │ │ iii │
└───┬───┘ └───┬───┘ └───┬───┘
│ │ │
│ │ msg 1 │
│ │────────►│
│ │ │
│ msg 2 │ │
│────────►│ │
┌───┴───┐ ┌───┴───┐ ┌───┴───┐
│ 1 | │Actor 2| │Actor 3│
└───────┘ └───────┘ └───────┘
This is a chart of all my things, or most of them :)
Things I Have
│ ████ Usable
15 │
│ ░░░░ Broken
│
12 │ ░
│ ░
│ ░ ░
9 │ ░ ░
│ ░ ░
│ ░ ░ ░
6 │ █ ░ ░ ░
│ █ ░ ░ ░
│ █ ░ █ ░
3 │ █ █ █ ░
│ █ █ █ ░
│ █ █ █ ░
0 └───▀─────────▀─────────▀──────────▀─────────────
Songs Albums Research Startups
Media objects are supported, like images and video:
Thanks for visiting. I’ve very much enjoyed making this, pushing my CSS chops and having a lot of fun with playing with this design. Thank you to Oskar Wickström for creating this project and helping me along the journey — let me know.
github.com/owickstrom/the-monospace-web
U.S. Graphics Company for all the inspiration.