about

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

typography

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.

blockquote
a monospaced, lowercase, borderline-brutalist utility interface that prioritizes information density and visual uniformity over polish.
lists

unordered

  • monospace everything
  • lowercase text
  • no rounded corners
  • no shadows

ordered

  1. add the stylesheet
  2. write semantic html
  3. 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.
code

inline: const x = 42;

// preformatted code block
function greet(name) {
  return `hello, ${name}`;
}

// all text is monospace anyway
console.log(greet("world"));
alerts
info -- next deployment scheduled for 14:30 utc.

success -- 3 services deployed to production.

warning -- api response time above p95 threshold.

error -- health check failed on 2 instances.
buttons


progress & meter

progress





meter



details / accordion
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

dialog (modal)
confirm action

this will restart all services in the production cluster. active connections will be drained gracefully.

media
placeholder
fig 1. placeholder image (svg)

components

tabs (aria)

tab panel

service is running. 3/3 replicas healthy. last deployed 2h ago.

toolbar

text editor toolbar

toggle switch

switches

chips / badges

inline labels

default info deployed degraded failed

a service v2.14 was deployed with 1 warning and 0 errors.

flex layouts

data-flex utility

row with space-between

left center right

wrapping row

tag-1 tag-2 tag-3 tag-4 tag-5 tag-6 tag-7

aria states

form validation & states

busy state

this region is loading... (aria-busy="true" dims content)

disabled state


sort indicators

name latency status
api-gateway42msok
auth-service28msok

status region

last updated: 14:32:01 utc

layouts

use data-layout for page-level layouts and data-grid for content grids. all collapse to single column on mobile.

sidebar left

main content

the sidebar is fixed at 14rem. the main area fills the rest. use data-layout="sidebar-left" on a container.

cpu
42%
memory
3.2 / 8 GiB
disk
67%

sidebar right

feed
timeeventdetail
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

inbound traffic
requests12,450/s
bandwidth84 Mbps
connections2,340
error rate0.02%
outbound traffic
requests8,200/s
bandwidth120 Mbps
connections890
error rate0.05%

summary cards

services
18
uptime
99.97%
incidents
2
deploys today
7

data table

services
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

service info
name api-gateway
version v2.14.3
runtime go 1.22
replicas 3 / 3
region us-east-1
last deployment
status complete
deployed 2025-06-06 12:15 utc
duration 1m 42s
commit a3f7c21
author alice

operation status

database migration running

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

recent events
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

preferences saved to your browser
display format compact detailed
auto refresh off on
timezone utc local

forms

new service






options

color palette

semantic colors

backgrounds

bg-base
bg-surface
bg-raised
bg-muted
bg-overlay

primary

primary
primary-hover
primary-soft
primary-subtle

semantic

success
warning
error

text

text-default
text-secondary
text-tertiary
text-muted
text-faint