This repository has been archived by the owner on Feb 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
72 lines (64 loc) · 2.67 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<title>Writ</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="writ.min.css">
<header>
<h1>Writ</h1>
<p>Opinionated, classless styles for semantic <abbr>HTML</abbr></p>
<nav>
<ul>
<li><a href="https://github.com/programble/writ">GitHub</a></li>
<li><a href="writ.css">CSS</a></li>
<li><a href="writ.min.css">Minified</a></li>
<li><a href="reference.html">Reference Page</a></li>
</ul>
</nav>
</header>
<main>
<h2 id="usage">Usage</h2>
<pre><code class="lang-html"><!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="//writ.cmcenroe.me/1.0.4/writ.min.css">
</code></pre>
<p><a href="template.html">Full template</a></p>
<p>Writ is served through the CloudFlare CDN.</p>
<h2 id="goals">Goals</h2>
<ul>
<li>Drop-in stylesheet<ul>
<li>No classes</li>
<li>No extra elements</li>
</ul>
</li>
<li>Responsive, without special-casing</li>
<li>Visually pleasing</li>
</ul>
<h2 id="motivation">Motivation</h2>
<p><abbr>HTML</abbr> is super easy to write. Markdown is even easier to write and
generate <abbr>HTML</abbr> from. But what does it look like?</p>
<p style="text-align: center;">
<img alt="Default styles" width="285" src="screenshot/default.png">
</p>
<p>Not very nice, and it gets worse the more there is. Applying the Writ
stylesheet makes it better.</p>
<p style="text-align: center;">
<img alt="Writ styles" width="285" src="screenshot/writ.png">
</p>
<h2 id="caveats">Caveats</h2>
<p>Writ is designed for modern, standards compliant browsers only. There are no
compatibility hacks. Writ is tested on the latest stable releases of Safari,
Chrome and Firefox.</p>
<h2 id="license">License</h2>
<p>Copyright © 2015, Curtis McEnroe <a href="mailto:[email protected]">[email protected]</a></p>
<p>Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
</main>