-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
279 lines (264 loc) · 10.9 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>CSS Base theme generator</title>
<meta charset="utf-8">
<meta desctiption="An online tool for prototyping and generating a CSS base theme for your project. Customize typography and colors of HTML elements.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="@nikitahl">
<meta name="twitter:title" content="CSS Base theme generator">
<meta name="twitter:description" content="An online tool for prototyping and generating a base CSS theme for your project">
<meta name="twitter:image" content="./src/img/css-base-look.png">
<meta property="og:image" content="./src/img/css-base-look.png">
<meta property="og:description" content="An online tool for prototyping and generating a base CSS theme for your project">
<meta property="og:title" content="CSS Base theme generator">
<meta property="og:url" content="https://nikitahl.github.io/css-base/" />
<meta property="og:site_name" content="CSS Base" />
<link rel="shortcut icon" href="./src/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Muli&display=swap">
<link rel="stylesheet" type="text/css" href="./src/css/index.css">
</head>
<body>
<div class="load-modal">
<button class="close-modal"></button>
<ul class="load-items"></ul>
</div>
<div class="mobile-view-toggle"></div>
<div class="main-wrapper">
<aside class="aside" data-active-panel="settings">
<div class="tabs">
<div class="tab active" data-type="settings">Settings</div>
<div class="tab" data-type="code">Code</div>
</div>
<div class="storage-controls">
<button class="storage-control" data-action="save">Save</button>
<button class="storage-control" data-action="load">Load</button>
<p class="storage-description">The data will be saved and loaded from the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage">Local Storage</a></p>
</div>
<form class="panel settings active" id="controls"></form>
<div class="panel code">
<button class="copy-to-clipboard">Copy to Clipboard</button>
<pre class="ready-styles"></pre>
<textarea class="source-code"></textarea>
</div>
</aside>
<div class="headline">
<h1 class="site-heading">CSS Base</h1>
<div class="social">
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-text="CSS Base theme generator" data-url="https://github.com/nikitahl/css-base" data-via="nikitahl" data-show-count="false">Tweet</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<a class="github-button" href="https://github.com/nikitahl/css-base" data-color-scheme="no-preference: light; light: light; dark: light;" aria-label="Star nikitahl/css-base on GitHub">GitHub</a>
</div>
</div>
<main class="main" id="elements" contenteditable="true">
<!-- <div class="output-controls" contenteditable="false">
<button class="output-control" title="Expand" data-action="expand">
<svg height="100%" version="1.1" viewBox="0 0 36 36" width="100%"><g><use></use><path d="m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z" id="id-27"></path></g><g><use></use><path d="m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z" id="id-28"></path></g><g><use></use><path d="m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z" id="id-29"></path></g><g><use></use><path d="M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z" id="id-30"></path></g></svg>
<svg height="100%" version="1.1" viewBox="0 0 36 36" width="100%"><g><use></use><path d="m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z" id="id-96"></path></g><g><use></use><path d="m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z" id="id-97"></path></g><g><use></use><path d="m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z" id="id-98"></path></g><g><use></use><path d="m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z" id="id-99"></path></g></svg>
</button>
</div> -->
<p>Create a consistent and beautiful theme by styling basic HTML tags. Modify typography and color settings and see instant results. When finished styling, just copy and paste generated code to your project.</p>
<p>You can find most of the HTML tags represented on this page grouped under sections.</p>
<p>Click anywhere on the page to start editing texts.</p>
<div class="items">
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</div>
<hr>
<h2>Block elements</h2>
<div class="items">
<h3>Paragraph</h3>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source.</p>
<p>Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>
<p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>
<h3>Blockquote</h3>
<blockquote>
"The sky was cloudless and of a deep dark blue"
<br>
- Blockquote
</blockquote>
<h3>Address</h3>
<address>
331 E Evelyn Ave<br />
Mountain View, CA 94041<br />
USA
</address>
</div>
<hr>
<h2>List elements</h2>
<div class="items">
<h3>Unordered list</h3>
<ul>
<li>Apple pie</li>
<li>Cherry pie</li>
<li>Blueberry pie</li>
<li>Banana pie</li>
</ul>
<h3>Ordered list</h3>
<ol>
<li>Dodge car</li>
<li>Volkswagen car</li>
<li>Toyota car</li>
<li>Fiat car</li>
</ol>
<h3>Description list</h3>
<dl>
<dt>Tea</dt>
<dd>The first item in the list</dd>
<dt>Coffee</dt>
<dd>The second item in the list</dd>
<dt>Juice</dt>
<dd>The third item in the list</dd>
</dl>
</div>
<hr>
<h2>Code elements</h2>
<div class="items">
<p><code><code></code> tag</p>
<p><samp><samp></samp> tag</p>
<p><kbd><kbd></kbd> tag</p>
<pre><pre>The pre tag</pre></pre>
</div>
<hr>
<h2>Link element</h2>
<div class="items">
<p><a href="#">Link</a></p>
</div>
<hr>
<h2>Button elements</h2>
<div class="items">
<p><button>Button</button></p>
<p><input type="button" value="Input"></p>
<p><input type="submit"></p>
<p><input type="reset"></p>
</div>
<hr>
<h2>Inline elements</h2>
<div class="items">
<q cite="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q">This is a <q> tag</q><br />
<abbr title="This is an abbr tag">ABBR</abbr><br />
<mark>This is a <mark> tag</mark><br />
<del>This is a <del> tag</del><br />
<s>This is an <s> tag</s><br />
<ins>This is an <ins> tag</ins><br />
<u>This is an <u> tag</u><br />
<small>This is a <small> tag</small><br />
<strong>This is a <strong> tag</strong><br />
<em>This is an <em> tag</em><br />
<span>This is a <span> tag</span><br />
<cite>This is a <cite> tag</cite><br />
<b>This is a <b> tag</b><br />
<i>This is an <i> tag</i><br />
<bdi>This is a <bdi> tag</bdi><br />
<bdo>This is a <bdo> tag</bdo><br />
<dfn>This is a <dfn> tag</dfn><br />
<sup>This is a <sup> tag</sup><br />
<sub>This is a <sub> tag</sub><br />
<time>This is a <time> tag</time><br />
<var>This is a <var> tag</var><br />
</div>
<hr>
<h2>Table elements</h2>
<div class="items">
<table>
<caption>Table caption</caption>
<thead>
<tr>
<th>Table header 1</th>
<th>Table header 2</th>
<th>Table header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
<td>Table cell 3</td>
</tr>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
<td>Table cell 3</td>
</tr>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
<td>Table cell 3</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Table footer 1</td>
<td>Table footer 2</td>
<td>Table footer 3</td>
</tr>
</tfoot>
</table>
</div>
<hr>
<h2>Form elements</h2>
<div class="items">
<form>
<fieldset>
<legend>Legend</legend>
<label for="textInput">Text input:</label>
<input type="text" name="textInput" id="textInput">
<br />
<label for="emailInput">Email input:</label>
<input type="email" name="emailInput" id="emailInput">
<br />
<label for="passwordInput">Password input:</label>
<input type="password" name="passwordInput" id="passwordInput">
<br />
<label for="numberInput">Number input:</label>
<input type="number" name="numberInput" id="numberInput">
<br />
<label for="colorInput">Color input:</label>
<input type="color" name="colorInput" id="colorInput">
<br />
<label for="dateInput">Date input:</label>
<input type="date" name="dateInput" id="dateInput">
<br />
<label for="checkbox-1">Checkbox 1:</label>
<input type="checkbox" name="checkbox-1" id="checkbox-1" value="checkbox-1">
<br />
<label for="checkbox-2">Checkbox 2:</label>
<input type="checkbox" name="checkbox-2" id="checkbox-2" value="checkbox-2">
<br />
<label for="radio-1">Radio 1:</label>
<input type="radio" name="radio" id="radio-1" value="radio-1" checked>
<br />
<label for="radio-2">Radio 2:</label>
<input type="radio" name="radio" id="radio-2" value="radio-2">
<br />
<label for="select">Select:</label>
<select id="select">
<optgroup label="Optgroup 1">
<option>One</option>
<option>Two</option>
<option>Three</option>
</optgroup>
<optgroup label="Optgroup 2">
<option>Four</option>
<option>Five</option>
<option>Six</option>
</optgroup>
</select>
<br />
<output>Result</output>
<br />
<textarea></textarea>
</fieldset>
</form>
</div>
</main>
</div>
<script type="text/javascript" src="./src/js/index.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>