CosmoMyzrailGorynych / ukrop

:bamboo: An instant solution to styling web pages with semantic HTML only

Home Page:https://cosmomyzrailgorynych.github.io/ukrop/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎍 Ukrop.css is an instant solution to styling web pages. It does not aim to be the most slim solution, but to be a complete one, which you can reliably use for any project. It is also an attempt to show that using css classes everywhere is a signal of bad atomic design in layouts — meaning that you don't need to use css classes for most of the content.

  • No classes required, just your semantic HTML code;
  • Responsive and em/rem-driven;
  • Predictable layout thanks to consistent use of padding and margin-bottom;
  • Looks cool with 0 effort;
  • Has callouts for your quotes, links and forms;
  • Custom radio and checkbox elements with 0 extra elements;
  • Configurable via Stylus and CSS variables. See _vars.styl!
  • Easy to build upon due to its modularity and exposed color variables;
  • Automagically turns to black if a user has a dark UI theme (and if a browser supports it).

Install

Ukrop can be used as a plain css file or as a collection of stylus files.

Plain CSS

Download the minified CSS file and put it to your site's /css folder. Then, add this tag to your html's head section:

<link rel="stylesheet" href="/css/ukrop.min.css"></link>

Stylus

Download the repo's folder or install it to your project as a git submodule (assuming you have a stylus folder):

git submodule add https://github.com/CosmoMyzrailGorynych/ukrop.git ./stylus/ukrop

Then, e.g. in your ./styl/index.styl, add this line:

@require './ukrop/index.styl'

Or use individual files:

@require './ukrop/lib/forms.styl'

About

:bamboo: An instant solution to styling web pages with semantic HTML only

https://cosmomyzrailgorynych.github.io/ukrop/


Languages

Language:HTML 39.5%Language:Pug 33.8%Language:Stylus 24.8%Language:JavaScript 1.9%