-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
148 lines (136 loc) · 7.3 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
<!DOCTYPE html>
<html lang="en-US" class="tape-yellow tape-clean rhythm-unset">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>v o l u m e // Pump up font volume</title>
<meta name="description" content="Bombin CSS lyrics like Eminem would hear it. Opensource creative code baked @s9a on Github">
<meta property="og:image" content="https://user-images.githubusercontent.com/949985/45123856-205e0280-b11d-11e8-805e-9f52d27ef479.png">
<meta property="og:image:alt" content="#eee833 swatch">
<style media=(color) data-via="https://github.com/s9a/tape/releases/tag/v0.3.0">
:root{--tape-white:#f5f5f5;--tape-black:#090909;--tape-pink:#fbbfff;--tape-yellow:#eee833;--tape-blue:#11dff1;--tape-green:#44f477}.tape-white{--tape-hex:var(--tape-white)}.tape-blue{--tape-hex:var(--tape-blue)}.tape-pink{--tape-hex:var(--tape-pink)}.tape-green{--tape-hex:var(--tape-green)}.tape-yellow{--tape-hex:var(--tape-yellow)}.tape-clean :not(.tape-clash),.tape-clean:not(.tape-clash){background:0 0;color:inherit}.tape-flat{border-color:transparent}.tape-flap{border-color:currentColor}.tape-blue,.tape-green,.tape-pink,.tape-white,.tape-yellow{background:var(--tape-hex)!important;color:var(--tape-black)!important}.tape-black{background:var(--tape-black)!important;color:var(--tape-hex,var(--tape-white))!important}
</style>
<link rel="stylesheet" href="volume.css">
<link rel="stylesheet" href="demo.css">
<header class="hold-left maxw-25em m-up m-down">
<p class="volume-2 m-zero rhythm-4" contenteditable>
<dfn class="font-lax cram-10 breathe-5"><span
class="volume-5">v</span><span
class="volume-5">o</span><span
class="volume-6">l</span><span
class="volume-4">u</span><span
class="volume-4"></span><span
class="volume-4">m</span><span
class="volume-4">e</span></dfn>
<br>
<span class="cram-5 breathe-7">dynamic font sizing CSS
designed for coding responsive <em role="presentation">:</em>posters</span>
</header>
<figure class="m-auto m-down" id="volume">
<figcaption class="volume-0 rhythm-0">volume</figcaption>
<ul contenteditable class="list-none tx-end flex-down">
<li class="volume-0"><span class="tape-black">volume 0</span>
<li class="volume-1"><span class="tape-black">volume 1</span>
<li class="volume-2"><span class="tape-black">volume 2</span>
<li class="volume-3"><span class="tape-black">volume 3</span>
<li class="volume-4"><span class="tape-black">volume 4</span>
<li class="volume-5"><span class="tape-black">volume 5</span>
<li class="volume-6"><span class="tape-black">volume 6</span>
<li class="volume-7"><span class="tape-black">volume 7</span>
<li class="volume-8"><span class="tape-black">volume 8</span>
<li class="volume-9"><span class="tape-black">volume 9</span>
<li class="volume-10"><span class="tape-black">volume 10</span>
</ul>
</figure>
<aside class="m-zero m-drop pad-2 flex-down maxw-25em" id="likewut">
<h2 contenteditable class="volume-2 sustain-10">#likewut</h2>
<blockquote
contenteditable
class="order-before m-auto pad-0 volume-3 rhythm-4 cram-4 breathe-3"
cite="https://en.wikipedia.org/wiki/Dynamic_range_compression">
adjust dynamic range compression signal processing algorithms and components
</blockquote>
</aside>
<div id="classes">
<h2 class="volume-0 rhythm-0">classes</h2>
<ul contenteditable class="list-none pad-1 m-auto m-down volume-2 cram-1 rhythm-3">
<li><code class="tape-black">.volume-</code> classes control <code class="tape-black">font-size</code>
<li><code class="tape-black">.cram-</code> classes decrease <code class="tape-black">letter-spacing</code>
<li><code class="tape-black">.sustain-</code> classes increase <code class="tape-black">letter-spacing</code>
<li><code class="tape-black">.breathe-</code> classes increase <code class="tape-black">word-spacing</code>
<li><code class="tape-black">.rhythm-</code> classes control <code class="tape-black">line-height</code>
</ul>
</div>
<figure class="m-auto m-down" id="cram">
<figcaption class="volume-0 rhythm-0">cram</figcaption>
<ul contenteditable class="list-none flex-down volume-3">
<li class="cram-0"><span class="tape-yellow">cram 0</span>
<li class="cram-1"><span class="tape-yellow">cram 1</span>
<li class="cram-2"><span class="tape-yellow">cram 2</span>
<li class="cram-3"><span class="tape-yellow">cram 3</span>
<li class="cram-4"><span class="tape-yellow">cram 4</span>
<li class="cram-5"><span class="tape-yellow">cram 5</span>
<li class="cram-6"><span class="tape-yellow">cram 6</span>
<li class="cram-7"><span class="tape-yellow">cram 7</span>
<li class="cram-8"><span class="tape-yellow">cram 8</span>
<li class="cram-9"><span class="tape-yellow">cram 9</span>
<li class="cram-10"><span class="tape-yellow">cram 10</span>
</ul>
</figure>
<figure class="m-auto m-down" id="sustain">
<figcaption class="volume-0 rhythm-0">sustain</figcaption>
<ul contenteditable class="list-none flex-down volume-3">
<li class="sustain-0">sustain 0
<li class="sustain-1">sustain 1
<li class="sustain-2">sustain 2
<li class="sustain-3">sustain 3
<li class="sustain-4">sustain 4
<li class="sustain-5">sustain 5
<li class="sustain-6">sustain 6
<li class="sustain-7">sustain 7
<li class="sustain-8">sustain 8
<li class="sustain-9">sustain 9
<li class="sustain-10">sustain 10
</ul>
</figure>
<figure class="m-auto m-down" id="breathe">
<figcaption class="volume-0 rhythm-0">breathe</figcaption>
<ul contenteditable class="list-none flex-down volume-3">
<li class="breathe-0">breathe 0
<li class="breathe-1">breathe 1
<li class="breathe-2">breathe 2
<li class="breathe-3">breathe 3
<li class="breathe-4">breathe 4
<li class="breathe-5">breathe 5
<li class="breathe-6">breathe 6
<li class="breathe-7">breathe 7
<li class="breathe-8">breathe 8
<li class="breathe-9">breathe 9
<li class="breathe-10">breathe 10
</ul>
</figure>
<figure class="m-auto m-down tape-yellow" id="rhythm">
<figcaption class="volume-0 rhythm-0">rhythm</figcaption>
<ul contenteditable class="list-none flex-down volume-2 maxw-2ch">
<li class="pad-0 rhythm-1 m-down">rhythm<br>1
<li class="pad-0 rhythm-2 m-down">rhythm<br>2
<li class="pad-0 rhythm-3 m-down">rhythm<br>3
<li class="pad-0 rhythm-4 m-down">rhythm<br>4
<li class="pad-0 rhythm-5 m-down">rhythm<br>5
<li class="pad-0 rhythm-6 m-down">rhythm<br>6
<li class="pad-0 rhythm-7 m-down">rhythm<br>7
<li class="pad-0 rhythm-8 m-down">rhythm<br>8
<li class="pad-0 rhythm-9 m-down">rhythm<br>9
<li class="pad-0 rhythm-10 m-down">rhythm<br>10
</ul>
</figure>
<section class="tape-white m-auto m-down pad-1 rhythm-8 volume-2" id="setup" aria-label="Setup" contenteditable="false">
<div class="m-drop"><a href="https://unpkg.com/@s9a/volume@latest/volume.css" title="Redirect to versioned URL">unpkg</a>
or save <a href="volume.css" title="Save wherever you need it">volume.css</a></div>
<code class="font-lax"><link rel=stylesheet href=<em>volume.css</em>></code>
</section>
<footer class="volume-4 pad-1" contenteditable="false">
<a class="tape-black"
href="https://s9a.github.io">s9a</a><b>/</b><a
class="tape-clean"
href="https://github.com/s9a/volume">volume</a>
</footer>