-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (76 loc) · 2.36 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
<!doctype html>
<meta charset=utf8>
<link rel=stylesheet href=./decor.css>
<style>
body {
max-width: 40rem;
margin: 1rem auto;
padding: 2rem;
}
</style>
<h1><code class="tagname">h1</code> Decor CSS styleguide</h1>
<h2><code class="tagname">h2</code> Text styles</h2>
<p><code class="tagname">p</code> Decor is a very basic tooling for bootstraping a webapp.<br>
It's a <em>class-less</em> CSS library.<br>
Some classes are available to enhance behaviors, and all styles are low-level,
so you can customize without <strike>headache</strike> nor <strike><code>!important</code></strike></p>
<p>This page is entirely styled by Decor…</p>
<p>
Get <em>Decor</em> or Read the documentation on <a href="https://github.com/polight/decor">the Github repository</a>
<div class="row docsection">
<a class="button primary" href="https://github.com/Polight/decor#readme">Read the Doc</a>
<a class="button" href="https://github.com/polight/decor">Get the Sources</a>
</div>
</p>
<hr>
<blockquote>
blockquote. Decor makes basic things. It's easy to override or get rid of.
</blockquote>
<code><code class="tagname">legend</code> Inline code</code>
<pre>
<code><code class="tagname">pre > code</code> Block of code</code>
</pre>
<h2>Forms and fields</h2>
<form>
<fieldset>
<legend><code class="tagname">legend</code> User Information</legend>
<div class=row>
<select>
<option>Mrs</option><option>Mr</option>
</select>
<input placeholder="First name">
<input placeholder="Last name">
</div>
<div class=row>
<input placeholder="Phone number">
<input placeholder="Email">
</div>
</fieldset>
<fieldset>
<legend><code class="tagname">legend</code> Demand</legend>
<input class=row placeholder="Subject">
<textarea class=row placeholder="What informations would you like to share?"></textarea>
</fieldset>
<section class=toolbar>
<div>
<input type=submit class=primary value="Send this">
<button>Primary</button>
<button class=plain>Plain</button>
</div>
<div class=secondary>
<button class=danger>Secondary Danger</button>
</div>
</section>
</form>
<style>
.tagname {
color: #999;
background-color: #ccc;
font-size: .8rem;
display: inline;
vertical-align: middle;
}
.docsection {
justify-content: center;
}
</style>