2.0.0 • Published 8 years ago

rod-iron v2.0.0

Weekly downloads
3
License
LGPL-3.0
Repository
-
Last release
8 years ago

Rod Iron is a CSS library for styling semantic hypertext documents, no classes or additional markup required. Rod Iron is fully responsive and very small. Use it for documentation, blogs, &c. Optional JavaScript enhancements are a work in progress.

Document

Rod Iron expects a simple, semantic document. The elements chosen are meant to provide a clean, human-readable structure that is lightweight and easy to remember:

<!doctype html>
<html>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="https://relax.js.org/rod-iron/main.css">
    <header>
        <h1>
            <a href="{{ site.baseurl }}">
                {{ site.title }}
            </a>
        </h1>
    </header>
    <article>
        <header>
            <h2>
                <a href=".{{ page.url }}">
                    {{ page.title }}
                </a>
            </h2>
        </header>
        <!-- content -->
    </article>
</html>

<h{1,2,3,4,5,6}> elements are interchangable, depending on the semantic structure you are going for. Anchor tags are optional, but encouraged.

Table

namefavorite colorprofessionspirit animal
Tylermaroonwritercthulhu
Maryred-orangeartistowl
Annebluedeveloperleopard
MacBethblackn/awolf

Description List

2.0.0

8 years ago

1.0.1

8 years ago