https://css.winterveil.net magick.css by winterveil * Github * Discord * Donate In the grand compendium of universal knowledge, it is universally acknowledged that the scribbles of a wizard not only transcend the mundane but are, without a shadow of a doubt, the most exhilarating form of notation known to humanoid kind. For who could resist the allure of a well-placed spell in the margins? Albus Greybeard, On the Virtues of Mystical Marginalia, 1132 Fundamentals magick.css is a minimalistic, (mostly) classless CSS framework that is designed to be easy to use and easy to understand. It is contained in a single file, and every choice is commented. The goal is to achieve an elegant, but magically playful look, while maximizing readability and the ability to convey information; somewhat akin to the notes of a wizard. The framework retains its beauty and functionality across all devices and screen sizes, and works entirely without JavaScript. It is inspired by LaTeX, old school TTRPG rulebooks, CSS frameworks like concrete.css and Tufte CSS and the "usability as design" ethic of brutalism. How to use magick.css magick.css works best with normalize.css, using it is strongly recommended! The easiest way to check out magick.css for your own project is to add it from a CDN. Just add these two lines to your html : You could also just download the magick.css file from this repo, and include it into your html as you normally would: You could also add magick.css to your JS project like this: npm install normalize.css magick.css And import them in your code: import 'normalize.css' import 'magick.css' For anything beyond that: magick.css should work with any HTML5 document, as it is 99% classless. There are some cool features that you can use, though; just scroll down to discover them! Layout To have your page structured as a responsive, readable column, wrap all of your content in
tags, and then use
tags to break up long form content content into sections. This page is a good example of how to do this. (You could of course just ignore this advice and use magick.css for typography and styled components only.) Here is a simple example of the usual structure:
To add tangential information, magick.css uses the