forked from yegor256/tacit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
180 lines (180 loc) · 6.64 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="keywords" content="css, html5, css framework"/>
<meta name="description" content="CSS Framework for Dummies"/>
<link rel="stylesheet" href="tacit.min.css"/>
<title>tacit</title>
<link rel="shortcut icon" type="image/gif" href="logo.gif"/>
</head>
<body>
<section>
<header>
<nav>
<ul>
<li><code>VERSION</code></li>
</ul>
</nav>
</header>
<article>
<p>
<strong>Tacit</strong> is a CSS framework for <em>dummies</em>, who want their
web services to look attractive but have almost zero
skills in graphic design, just like
<a href="https://github.com/yegor256">myself</a>.
This is how your website will look if you add just this code to your HTML:
</p>
<pre><!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://yegor256.github.io/tacit/tacit.min.css"/>
</head>
</html></pre>
<p>
You should <strong>not</strong> use any CSS classes to make your HTML code look nice. Just
make sure it is <a href="http://www.w3.org/TR/html5/">HTML5</a>
compliant and you'll be fine. Again, no classes,
just standard HTML elements, like <code><table></code> and <code><input></code>.
</p>
<p>
Check the source code of this page.
</p>
<p>
By the way, Tacit is compliant with
W3C validator requirements:
<a href="http://validator.w3.org/check?uri=http%3A%2F%2Fyegor256.github.io%2Ftacit%2F&doctype=Inline">HTML</a> and
<a href="https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fyegor256.github.io%2Ftacit%2F&profile=css3">CSS</a>.
</p>
<h2>Forms</h2>
<p>
Here is a simple form:
</p>
<form method="get" action="#">
<fieldset>
<label for="email">Your email:</label>
<input name="email" type="text" id="email" size="25" placeholder="must be unique"/>
<label for="sex">Your gender:</label>
<select name="sex" id="sex">
<option value="none">don't want to say</option>
<option value="female">female</option>
<option value="male">male</option>
</select>
<input type="radio" id="under" name="age"/>
<label for="under">I'm under 18</label>
<input type="radio" id="over" name="age"/>
<label for="over">I'm over 18</label>
<label for="address">Your full address:</label>
<textarea name="address" id="address" cols="40" rows="3" placeholder="PO box is not allowed"></textarea>
<input type="checkbox" name="consent" id="consent" value="test"/>
<label for="consent">I agree with all possible terms and conditions</label>
<button type="submit">Subscribe</button>
<button type="reset">Reset</button>
<button disabled>Can't click</button>
</fieldset>
</form>
<h2>Tables</h2>
<p>
A simple table would look like this:
</p>
<table>
<thead>
<tr>
<th>Make</th>
<th>Price</th>
<th>Year</th>
</tr>
</thead>
<tbody>
<tr>
<td>BMW X6</td>
<td>$75,000</td>
<td>2013</td>
</tr>
<tr>
<td>Mercedes-Benz E350</td>
<td>$52,700</td>
<td>2014</td>
</tr>
</tbody>
</table>
<h2>Headings</h2>
<p>Just use standard <code><h1></code>...<code><h6></code> tags:
<h1>This is <h1></h1>
<p>Use a heading of the highest level once per page.</p>
<h2>This is <h2></h2>
<p>Use <code><h2></code> for sections of the page.</p>
<h3>This is <h3></h3>
<p>Use <code><h3></code> for sub-sections.</p>
<h4>This is <h4></h4>
<p>I would recommend to avoid this type of heading at all.</p>
<h5>This is <h5></h5>
<p>I would recommend to avoid this type of heading at all.</p>
<h6>This is <h6></h6>
<p>I would recommend to avoid this type of heading at all.</p>
<h2>Lists</h2>
<p>Just use standard <code><ul></code> and <code><ol></code> tags:
<ul>
<li>Orange</li>
<li>
Apple
<ol>
<li>First</li>
<li>
Second
<ul>
<li>Blue</li>
<li>Yellow</li>
<li>Green</li>
<li>Red</li>
</ul>
</li>
<li>Third</li>
</ol>
</li>
<li>Appricot</li>
</ul>
<h2>Work in progress</h2>
<p>
The framework is still in development. If you want to contribute,
fork it and submit a <a href="https://github.com/yegor256/tacit">pull request</a>.
Your help is always appreciated.
</p>
</article>
<footer>
<nav>
<ul>
<li>
<small>Made by <a href="http://www.yegor256.com">Yegor Bugayenko</a>, 2015</small>
</li>
</ul>
</nav>
<nav>
<ul>
<li><small><a href="https://github.com/yegor256/tacit">GitHub</a></small></li>
<li><small><a href="http://yegor256.github.io/tacit/tacit-VERSION.min.css">Download</a></small></li>
<li><small><a href="http://opensource.org/licenses/MIT">MIT license</a></small></li>
</ul>
</nav>
<nav>
<ul>
<li>
<a href="https://github.com/yegor256/tacit/stargazers">
<img src="https://img.shields.io/github/stars/yegor256/tacit.svg?style=flat-square" alt="github stars"/>
</a>
</li>
</ul>
</nav>
</footer>
</section>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1963507-39', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>