Giter Site home page Giter Site logo

wintermute-cell / magick.css Goto Github PK

View Code? Open in Web Editor NEW
772.0 5.0 12.0 1.27 MB

magically playful, yet simple styling. all in one file.

Home Page: https://css.winterveil.net

License: MIT License

CSS 33.23% HTML 66.77%
brutalism classless classless-css css css-framework latex magic old-school ttrpg webdesign wizard

magick.css's Introduction

magick.css

magically playful, yet simple styling. all in one file.


a wizard

Translations

Feel free to contribute a translation to your language!

What is magick.css?

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.

What does it look like?

You can find a live example of magick.css being used on my website!

How do I use magick.css?

magick.css is built with normalize.css. While it will look 90% correct without, it is recommended to use normalize.css.

CDN

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 <head>:

<link rel="stylesheet" href="https://unpkg.com/normalize.css">
<link rel="stylesheet" href="https://unpkg.com/magick.css">

Or for the minified variants:

<link rel="stylesheet" href="https://unpkg.com/normalize.min.css">
<link rel="stylesheet" href="https://unpkg.com/magick.min.css">

Local File

You could also just download the magick.css file from this repo, and include it into your html <head> as you normally would:

<link rel="stylesheet" href="path/to/magick.css">

JS/NPM

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'

Ports

magick.css currently also available as...

Obsidian.md Theme

I don't like the hoops theme developers have to jump through to publish their work on the official theme gallery of a proprietary, monetized product. There is no compensation for their hard work beyond the donations of generous users; all the while Obsidian.md benefits greatly from them. That's why the Obsidian.md theme version of magick.css is not available in the official gallery.

Still, Obsidian.md is a useful tool for a lot of people. That's why I've made the effort to port this CSS framework to Obsidian.md. You can install it by...

  1. Downloading ports/obsidian.md/magick.css.zip from this repo.
  2. Unpacking it into the Obsidian.md theme directory. You can find this directory by pressing the folder icon next to the Appearance > Themes setting inside of Obsidian.md
  3. If the theme is not immediately selectable, try restarting Obsidian.md to refresh.

magick.css's People

Contributors

wintermute-cell avatar xxnuo avatar szepeviktor avatar jameschensmith avatar k4u5hik avatar kelsymichael avatar

Stargazers

Jörn Bethune avatar Tuan Duc Tran avatar  avatar margot avatar Timon Böhler avatar  avatar Ievgen Pyrogov avatar Godbless Ikadoi avatar  avatar Sergey Zaborovsky avatar Craig avatar  avatar Qendresa avatar Andi avatar Lúdio Oliveira avatar Rachel Brown avatar 面条 avatar  avatar Eric Johnson avatar Kayla Firestack avatar  avatar Jie Zhu avatar Andreas Kröpelin avatar Parmesh Krishen avatar An Cao avatar Fabien Rica avatar Miguel Villa Floran avatar Tyler V avatar Hasit Mistry avatar Sean McPherson avatar Ara L Abcarians avatar Cassidy Williams avatar Julián Romero avatar Aarav Navani avatar Cheng Gu avatar  avatar Selwyn avatar  avatar Martin Dobrev avatar Mohamed Safouan Besrour avatar justin avatar  avatar Dane Orie avatar Isaac avatar Tiago Castro Henriques avatar  avatar  avatar zhong-yiyu avatar Andrew Douglass avatar Andreas avatar Mcdonoughd avatar Mikko Ahlroth avatar Martin Kryl avatar ⊣˚∆˚⊢ avatar Tylen St Hilaire avatar Vincent Audet avatar Filipe avatar tricarte avatar ander avatar Wessel van Lit avatar Curie avatar sugar avatar Colby Rogness avatar Lennie Budgell avatar Technetium1 avatar Adam Fields avatar Sergio Yalux avatar Ciro Mirkin avatar Lazizhon avatar Daniel Dias avatar Rodrigo Franco avatar Mathieu K avatar Victor avatar Kerry Benton avatar  avatar  avatar  avatar Aro ANDRIAMARO avatar  avatar Vaibhav Sharma avatar Shashank Pritam avatar Pawel Maczka avatar Rowe Morehouse avatar Shachar Solomon avatar Björn Nilsved avatar Mark Martirosian avatar  avatar  avatar Dean Stelow avatar Jeff LaFay avatar O.T. avatar Michael Byrd avatar  avatar Kai avatar That Bearded Dev avatar Rameez Nooruddin avatar  avatar Lokesh avatar hoangitk avatar Joseph Liu avatar

Watchers

Waldir Pimenta avatar jQueryScript avatar Sunil Choudhary avatar  avatar  avatar

magick.css's Issues

Syntax highlighting

Hey! I love this and would like to use it on my website, thanks for publishing it.

Is there a recommended way to add syntax highlighting?

I'm currently using highlight.js through markdown with rehype-highlight.

Table styles in Obsidian.md port

Hello! I saw your post on r/OSR and really love what you're working on here.

Just wanted to check something... in your live style docs, I see the table styling like this:

image

But using your Obsidian.md port, I see this:

image

Is there something I have done wrong in terms of importing your port? Thanks!

Provide minified version

Please provide magick.min.css via unpkg.com and fix your CDN instructions:

<link rel="stylesheet" href="https://unpkg.com/normalize.min.css">
<link rel="stylesheet" href="https://unpkg.com/magick.min.css">

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.