• Stars
    star
    314
  • Rank 133,353 (Top 3 %)
  • Language SCSS
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A modern CSS framework β€” versatile, well documented.

Teutonic CSS (retired)

As of 2023-05 Teutonic CSS will no longer be continued. More details here.

Teutonic CSS is a modern web design system to develop responsive, accessible websites and web applications. It's based on CSS Variables for easy customization and extension. It features cool tech like CSS Grid. The source is a collection of SCSS modules, but you can use the minified version, as it can be modified using CSS Vars.

This repo only contains the pure SCSS files to build the CSS from, also check out the Teutonic Docs.

Philosophy

  • Little things play together nicely
  • Slim but not skinny
  • Do more with less
  • Faster is better
  • A clean look
  • Opinionated

Feature galore

  • 2 grids: CSS Grid, Columns
  • For modern browsers only
  • CSS Vars customization
  • CSS only, BYO JavaScript
  • SCSS modules based source
  • Free and open source
  • Inverted styles
  • All responsive

Good to know

  • Only MS Edge, no Internet Explorer support
    • { box-sizing: border-box}
  • No screen reader support
  • No JavaScript included

Basic usage

  1. Prototype: include the CSS from the CDN
  2. Customize: match your brand with CSS vars
  3. Fork: Build your own from the SCSS source

Use cases and applications

  • Websites: marketing, blogs …
  • Web based applications: dashboards, eCommerce …

Tested browsers

Teutonic CSS is made for modern browsers.

  • Google Chrome 65
  • Safari 12
  • Firefox 60
  • MS Edge 42

It will not work on much older browsers, not even MS IE. Use at least CSS feature detection (@supports) to warn the user.

BYO JavaScript

No JavaScript here. Bring your own JS implementation.

Name origins

"Teutonic by nature" is a philosophy by fortrabbit …

The color system

Full black and full white are like in nature not used in big areas here. This way the bright colors of buttons will stand out a little more. But that's just one flavor.

Pseudo-atomic design

Teutonic only loosely makes use of Atomic design philosophy, currently. No fancy web components.s

CSS classes for humans

I like to understand HTML templates when I look at them. The Teutonic CSS class names are not following any strict naming convention, like BEM or OCSS. Most classes have speaking names, like flex to initiate Flexbox and grid for CSS Grid. Often used utility classes have very short abbreviations, like pa-t-xl for extra large padding top. More obscure class names often have longer abbreviations. Sometimes the class name is mix between property and value, sometimes it's just the value. Memorability over convention.

This is subject to change in future versions for more strict naming conventions.

CSS class name goals

  • Easy to read and write
  • Few class names as possible
  • Combine classes in meaningful ways
  • Short class names
  • Memorable names
  • Failure tolerant
  • Limited choices for a better design
  • Keep it simple stupid

CSS class types

  • Grid and layout helper classes like .grid and .flex
  • Design system classes .box
  • Resets and default styling for HTML elements, like .textarea
  • Additional helper clases like .form-label
  • Utility classes like .pa-s and .ma-top-s

Features

Flexbox based grid system

There is no clearfix hack here. Teutonic CSS contains a 'rigit' Flexbox grid system. The Teutonic Flexbox CSS grid has a few unique features. The Teutonic CSS grid is used like a traditional floating grid, where container are floating in rows. Still the grid relies on negative margins which sometimes acts a bit strange/unexpected.

CSS Grid based grid

There is an additional CSS Grid based grid. There are some shared features with the Flexbox grid system, others are unique.

Responsive approach

Teutonic CSS is mostly "desktop first" framework. Simply because, it was developed on a desktop computer. But it aims to behave very well on mobile, your cooperation provided. It makes use of viewport units with vw, vh and relative units with rem. So it has very little re-writes for only three device breakpoints: Desktop, Tablet & Phone. The grid system features mobile classes for smart collapsing: A row of four items on Desktop can collapse to two rows of two items on Tablet.

Usage

SCSS built system

Browse the GitHub repo and grab whatever you like. The main teutonic.scss file contains all the include within the include folder.

There are NPM build scripts included here. Check the package.json for more.

Documentation

The GitHub repo contains the SCSS source files and the documentation files. The docs are based on Jekyll and are rendered as GitHub pages here.

Key- & Buzz-words

  • agnostic
  • boilerplate
  • design system
  • fast
  • flat
  • lightweight
  • low-friction
  • modern
  • modular
  • opinionated
  • performance
  • powerful
  • reusable
  • SCSS modules
  • skeuomorphism
  • universal
  • utilities
  • web interfaces

Author

License

Code for the Teutonic CSS released under MIT license.

More Repositories

1

slimcontroller

Controller extensions for the Slim Framework, used by help.fortrabbit.com and blog.fortrabbit.com
PHP
177
star
2

quotes

Quotes for developers, used in fortrabbit's dashboard
PHP
84
star
3

craft-copy

Deployment tools for Craft on fortrabbit
PHP
73
star
4

phpco-docker

Simple docker build for running PHPCompatibility (https://github.com/PHPCompatibility/PHPCompatibility)
Dockerfile
55
star
5

beelzebub

A PHP framework for writing (forked) multi process daemons
PHP
16
star
6

Custom-HTTP-Error-Pages

Common HTTP Status Apache error pages with some additional infos for humans and even some custom errors.
HTML
11
star
7

datafilter

A data validation (sanitation) module for PHP
PHP
10
star
8

help

Contents of the fortrabbit help in markdown format
9
star
9

validator-loader

Load Laravel validator definitions from files or directories
PHP
9
star
10

legal

Legal documents of fortrabbit in markdown with trackable changes
8
star
11

Pharify

Command line tool to create PHP phar packages easily.
PHP
7
star
12

message-signer

A flexible message signing and verification framework. Includes Guzzle Plugin.
PHP
7
star
13

craft-asset-bundler

Better asset handling for load balanced environments.
PHP
5
star
14

memcached-cli

PHP CLI to interact with Memcached
PHP
5
star
15

laravel-object-storage

A Laravel flysystem driver that integrates with fortrabbit's S3 compatible Object Storage
PHP
4
star
16

craft-auto-migrate

Run Craft migrations automatically
PHP
4
star
17

validator-loader-laravel

Integrates Validator Loader as Service Provider into Laravel
PHP
4
star
18

craft-object-storage

A Craft 3 plugin that integrates with fortrabbit's S3 compatible Object Storage
PHP
3
star
19

craft-s3-fortrabbit

Craft 2 plugin to support the fortrabbit Object Storage
PHP
2
star
20

yii-memcached

Yii2/Craft3 Memcached enabler
PHP
1
star
21

interview-task-k8s

1
star
22

phan-docker

Simple docker build for running PHP static analyser phan (https://github.com/phan/phan)
Dockerfile
1
star