tux.css
classless css for monospace fonts, with a flat and dense aesthetic.
no javascript. no classes. plain html. ~3kb gzipped. vendor it and make it yours.
vendor (recommended)
curl -O https://github.com/elee1766/tuxcss/releases/latest/download/tux.css
curl -O https://github.com/elee1766/tuxcss/releases/latest/download/tux.min.css
cdn link
<link rel="stylesheet" href="https://elee1766.github.io/tuxcss/tux.min.css"
integrity="sha384-Q+dymiZM+7bFCE0ZRA2M+pom2vpTQ4lOo1aBYPgCMYDvRnlmYwfijOgMqAzwB0z+" crossorigin="anonymous">
<link rel="stylesheet" href="https://elee1766.github.io/tuxcss/tux.css"
integrity="sha384-SWM3AcSzHwXnb9tQMrPptMDQck1n7LtYLou+XAdKEkP6XzJrm7EQaWZrymQsP01Y" crossorigin="anonymous">
font (optional)
tux.css defaults to Cousine with monospace fallbacks. add this if you want Cousine from google fonts:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cousine:ital,wght@0,400;0,700;1,400;1,700&display=swap">
elements
h1 -- primary heading
h2 -- section heading
h3 -- subsection heading
h4 -- label heading
h5 -- minor heading
h6 -- smallest heading
this is a paragraph. the interface prioritizes data density over whitespace. every pixel serves a purpose. prefer compact layouts that show more information without scrolling.
secondary text uses a slightly muted color. small text is even more subtle, used for legends and annotations.
inline elements: code, ctrl+c, samp output,
highlighted, removed, added,
link.
a monospaced, lowercase, borderline-brutalist utility interface that prioritizes information density and visual uniformity over polish.
unordered
- monospace everything
- lowercase text
- no rounded corners
- no shadows
ordered
- add the stylesheet
- write semantic html
- ship it
definition list
- classless
- styles semantic html elements directly. no class names needed.
- terminal-utilitarian
- monospaced, data-dense, lowercase. looks like a well-designed terminal app in a browser.
inline: const x = 42;
// preformatted code block
function greet(name) {
return `hello, ${name}`;
}
// all text is monospace anyway
console.log(greet("world"));
progress
meter
configuration
region: us-east-1
environment: production
replicas: 3
runtime: node 20.x
connection info
endpoint: api.example.com:443
protocol: https/2
tls: 1.3
cert expires: 2025-08-12
resource limits (open by default)
cpu: 2 vcpu
memory: 4 GiB
storage: 50 GiB
connections: 1000
components
tabs (aria)
service is running. 3/3 replicas healthy. last deployed 2h ago.
port: 8080, runtime: go 1.22, auto-scale: enabled
14:32:01 [info] request handled in 42ms
14:32:00 [info] health check passed
toolbar
toggle switch
chips / badges
default info deployed degraded failed
a service v2.14 was deployed with 1 warning and 0 errors.
flex layouts
row with space-between
wrapping row
aria states
busy state
disabled state
sort indicators
| name | latency | status |
|---|---|---|
| api-gateway | 42ms | ok |
| auth-service | 28ms | ok |
status region
layouts
use data-layout for page-level layouts and data-grid for content grids. all collapse to single column on mobile.
sidebar left
the sidebar is fixed at 14rem. the main area fills the rest. use data-layout="sidebar-left" on a container.
sidebar right
| time | event | detail |
|---|---|---|
| 14:32 | deploy | api-gateway v2.14.3 rolled out |
| 14:28 | alert | payment-worker p99 > 500ms |
| 13:45 | scale | auth-service 2 -> 4 replicas |
two column
| requests | 12,450/s |
| bandwidth | 84 Mbps |
| connections | 2,340 |
| error rate | 0.02% |
| requests | 8,200/s |
| bandwidth | 120 Mbps |
| connections | 890 |
| error rate | 0.05% |
summary cards
data table
| name | status | requests/s | p99 latency | error rate | last deploy | |
|---|---|---|---|---|---|---|
| api-gateway | healthy | 12,450 | 42ms | 0.02% | 2h ago | |
| auth-service | healthy | 3,200 | 28ms | 0.01% | 1d ago | |
| payment-worker | degraded | 890 | 520ms | 2.4% | 3h ago | |
| search-index | healthy | 5,670 | 65ms | 0.05% | 6h ago | |
| email-sender | idle | 0 | -- | -- | 5d ago |
detail panels
| name | api-gateway |
| version | v2.14.3 |
| runtime | go 1.22 |
| replicas | 3 / 3 |
| region | us-east-1 |
| status | complete |
| deployed | 2025-06-06 12:15 utc |
| duration | 1m 42s |
| commit | a3f7c21 |
| author | alice |
operation status
| task | migrate users table (step 3 of 5) |
| started | 2025-06-06 14:30 utc (4m ago) |
| rows | 1,245,000 / 1,920,000 |
| errors | 0 |
event log
| time | type | service | message |
|---|---|---|---|
| 14:32:01 | deploy | api-gateway | rolled out v2.14.3 to 3/3 replicas |
| 14:30:15 | alert | payment-worker | p99 latency exceeded 500ms threshold |
| 14:28:44 | resolve | search-index | connection pool recovered, error rate normalized |
| 14:15:00 | error | payment-worker | upstream timeout from stripe api (3 retries exhausted) |
| 13:45:22 | scale | auth-service | autoscaled from 2 to 4 replicas (cpu > 80%) |
settings panel
| display format | |
| auto refresh | |
| timezone |