Skip to content

Latest commit

Β 

History

History
46 lines (38 loc) Β· 1.7 KB

File metadata and controls

46 lines (38 loc) Β· 1.7 KB

shared-web-assets

Central asset hub for all 21no.de web properties. Served from assets.21no.de.

Structure

β”œβ”€β”€ css/
β”‚   β”œβ”€β”€ tokens.css        # Design tokens (CSS variables)
β”‚   β”œβ”€β”€ base.css          # Reset, typography, layout
β”‚   β”œβ”€β”€ nav.css           # Sticky navigation
β”‚   β”œβ”€β”€ hero.css          # Hero section + stats
β”‚   β”œβ”€β”€ buttons.css       # .btn, .btn-primary, .btn-secondary
β”‚   β”œβ”€β”€ cards.css         # .card, .project-card, .feature-grid
β”‚   β”œβ”€β”€ footer.css        # Site footer
β”‚   └── blog-carousel.css # Blog carousel + skeleton
β”œβ”€β”€ fonts/
β”‚   β”œβ”€β”€ fonts.css         # @font-face declarations
β”‚   β”œβ”€β”€ Outfit-*.ttf      # Outfit (300–700)
β”‚   └── JetBrainsMono-*.ttf  # JetBrains Mono (400–600)
└── README.md

Usage

<!-- Fonts -->
<link rel="stylesheet" href="https://assets.21no.de/fonts/fonts.css" />
<!-- Design system -->
<link rel="stylesheet" href="https://assets.21no.de/css/tokens.css" />
<link rel="stylesheet" href="https://assets.21no.de/css/base.css" />
<link rel="stylesheet" href="https://assets.21no.de/css/nav.css" />
<!-- Components as needed -->
<link rel="stylesheet" href="https://assets.21no.de/css/buttons.css" />
<link rel="stylesheet" href="https://assets.21no.de/css/cards.css" />
<link rel="stylesheet" href="https://assets.21no.de/css/hero.css" />
<link rel="stylesheet" href="https://assets.21no.de/css/footer.css" />

Page-specific styles stay inline in the project's own HTML.

Adding a New Site

  1. Point your site's HTML to https://assets.21no.de/css/*.css
  2. Add any page-specific CSS inline
  3. Done β€” no font or design system duplication