-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
183 lines (183 loc) · 5.97 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Typesettings.css | Minimal CSS Framework</title>
<link rel="stylesheet" href="src/styles/typesettings.css">
<meta name="description" content="Typesettings.css is inspired by traditional graphic design fundamentals and the perfect lite design systems for any minimal website or article design.">
</head>
<body>
<a href="#content">
Skip to content
</a>
<div data-typesettings="golden">
<nav>
<ul>
<li>
<h1>
<a href="index.html">
Typesettings.css
</a>
</h1>
</li>
<li>
<ul>
<li>
<a href="docs.html" aria-label="Documentation">Docs</a>
</li>
<li>
<a href="customize.html">Customize</a>
</li>
<li>
<a href="showcase.html">Showcase</a>
</li>
<li>
<a href="https://github.com/mikemai2awesome/typesettings.css" aria-label="Code repository" target="_blank" rel="noopener">Github</a>
</li>
<li>
<a href="https://mikemai.net/typesettings/css/typesettings-2.0-min.css" aria-label="Download the Typesettings.css file">Download</a>
</li>
</ul>
</li>
</ul>
</nav>
<main id="content">
<article>
<header>
<h1 role="presentation">
Bigger. Bolder. Stronger.
</h1>
<h2>
<abbr aria-label="Designed">🎨</abbr> <abbr aria-label="and">➕</abbr> <abbr aria-label="built">🔧</abbr> with <abbr aria-label="love">❤️</abbr> by <a href="https://mikemai.net">Mike Mai</a>
</h2>
<p>
Typesettings.css is a lite design system for minimal website or article design, inspired by traditional graphic design fundamentals. <em>No colors; no Javascript; no classes required!</em> In version 2.x, the typography scales bigger, the design goes bolder, and contrast gets stronger.
</p>
</header>
<section aria-labelledby="basic-usage">
<h3 id="basic-usage">
Basic Usage
</h3>
<ol data-comfortable>
<li>
<p>
Include <code>typesettings.css</code> in the <abbr aria-label="HyperText Markup Language">HTML</abbr> file’s <code><head></code> section:
</p>
<pre><code><head><br> <link rel="stylesheet" href="[path]/typesettings.css"><br></head></code></pre>
<p>
<abbr aria-label="Note">📣</abbr>: <em>If you are using <code>typesettings.css</code> as is, don’t combine it with other frameworks. Also, basic resets are included, there is no need to use Normalize.css or Sanitize.css.</em>
</p>
</li>
<li>
<p>
Add <code>data-typesettings</code> attribute to the direct child element of the <code><body></code>:
</p>
<pre><code><body><br> <div data-typesettings><br> …<br> </div><br></body></code></pre>
</li>
</ol>
</section>
<section aria-labelledby="enhanced-elements">
<h3 id="enhanced-elements">
Enhanced elements
</h3>
<p>
All of these <abbr aria-label="HyperText Markup Language">HTML</abbr> elements can be used inside the <code>div[data-typesettings]</code> element without any classes. It’s that easy!
</p>
<ul>
<li>
<code>p</code>
</li>
<li>
<code>dl</code>
</li>
<li>
<code>ol</code>
</li>
<li>
<code>ul</code>
</li>
<li>
<code>nav</code>
</li>
<li>
<code>aside</code>
</li>
<li>
<code>footer</code>
</li>
<li>
<code>header</code>
</li>
<li>
<code>section</code>
</li>
<li>
<code>h1</code> ~ <code>h6</code>
</li>
<li>
<code>blockquote</code>
</li>
<li>
<code>fieldset</code>
</li>
<li>
<code>details</code>
</li>
<li>
<code>button</code>
</li>
<li>
<code>figure</code>
</li>
<li>
<code>input</code>
</li>
<li>
<code>label</code>
</li>
<li>
<code>small</code>
</li>
<li>
<code>table</code>
</li>
<li>
<code>abbr</code>
</li>
<li>
<code>code</code>
</li>
<li>
<code>form</code>
</li>
<li>
<code>kbd</code>
</li>
<li>
<code>pre</code>
</li>
<li>
<code>hr</code>
</li>
</ul>
</section>
<section aria-labelledby="browser-support">
<h3 id="browser-support">
Browser Support
</h3>
<p>
This framework is built for all browsers but <abbr aria-label="Internet Explorer">IE</abbr>, cuz fuck it.
</p>
</section>
<hr>
<footer>
<p>
<small><abbr aria-label="Note">📣</abbr>: <em>This framework is free. Always. Use it, remix it, but don’t sell it.</em></small>
</p>
</footer>
</article>
</main>
</div>
</body>
</html>