brutcss/h/docs.html
Yann Esposito (Yogsototh) 6ac7b2f382
Color play with filters
2022-10-11 14:50:00 +02:00

415 lines
31 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /><meta content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" name="viewport" /><title>BRUT - documentation</title><link href="../brut.min.css" rel="stylesheet" type="text/css" /></head><body class="col"><div><nav class="nav" onclick="this.focus()" tabindex="-1"><div class="container"><a class="pagename" href="../index.html">BRUT</a><a href="../h/docs.html">Docs</a><a href="../h/download.html">Download</a><a href="https://gitea.esy.fun/yogsototh/brutcss">Code</a></div></nav><button class="btn sn btn-close">×</button></div><div class="container"><div class="col"><h2>Textual content</h2><div class="row"><div class="card c6"><div id="text"><h1>title in h1</h1><p>Some text in &lt;p&gt; with different styles; <b>bold</b>, <strong>strong</strong>, <i>italic</i>, <em>emphasis</em>, <code>code</code>, and if you really want something to be extremly visible use the class <code class="hl">hl</code>.</p><p>The text should be <strong class="hl">very dense</strong> on purpose. Forget your lessons about nice space in design here. The goal of this design is to produce <em>professional</em> UI applications. So no time to make it breathes. We want to make it compact and efficient.</p><p>Note we still try to keep a coherent and nice vertical rythm.</p><blockquote><p>Here is some blockquote. This can give you an idea about the look and feel for them.</p></blockquote></div><details><summary>code</summary><pre>
&lt;div id=&quot;text&quot;&gt;
&lt;h1&gt;title in h1&lt;/h1&gt;
&lt;p&gt;Some text in &amp;lt;p&amp;gt; with different styles; &lt;b&gt;bold&lt;/b&gt;,
&lt;strong&gt;strong&lt;/strong&gt;, &lt;i&gt;italic&lt;/i&gt;, &lt;em&gt;emphasis&lt;/em&gt;,
&lt;code&gt;code&lt;/code&gt;, and if you really want something to be
extremly visible use the class &lt;code class=&quot;hl&quot;&gt;hl&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The text should be &lt;strong class=&quot;hl&quot;&gt;very dense&lt;/strong&gt; on
purpose. Forget your lessons about nice space in design here.
The goal of this design is to produce &lt;em&gt;professional&lt;/em&gt; UI
applications. So no time to make it breathes. We want to make
it compact and efficient.&lt;/p&gt;
&lt;p&gt;Note we still try to keep a coherent and nice vertical
rythm.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Here is some blockquote. This can give you an idea about
the look and feel for them.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</pre></details></div><div class="card c6"><div id="doc"><p>Remark if you need to present a long text to read you can still use the class <code>doc</code>. Take a look at the next paragraph for example: </p><div class="doc"><p>Lorem ipsum with pretty Lorem ipsum dolor sit amet consectetur adipiscing elit, urna consequat felis vehicula class ultricies mollis dictumst, aenean non a in donec nulla. Phasellus ante pellentesque erat cum risus consequat imperdiet aliquam, integer placerat et turpis mi eros nec lobortis taciti, vehicula nisl litora tellus ligula porttitor metus.</p><p>Vivamus integer non suscipit taciti mus etiam at primis tempor sagittis sit, euismod libero facilisi aptent elementum felis blandit cursus gravida sociis erat ante, eleifend lectus nullam dapibus netus feugiat curae curabitur est ad. Massa curae fringilla porttitor quam sollicitudin iaculis aptent leo ligula euismod dictumst, orci penatibus mauris eros etiam praesent erat volutpat posuere hac. Metus fringilla nec ullamcorper odio aliquam lacinia conubia mauris tempor, etiam ultricies proin quisque lectus sociis id tristique, integer phasellus taciti pretium adipiscing tortor sagittis ligula.</p></div><p>The <code>doc</code> class ensure the width of the text is not too wide and use a very legible font.</p></div><details><summary>code</summary><pre>
&lt;div id=&quot;doc&quot;&gt;
&lt;p&gt;Remark if you need to present a long text to read you can
still use the class &lt;code&gt;doc&lt;/code&gt;. Take a look at the next
paragraph for example:&lt;/p&gt;
&lt;div class=&quot;doc&quot;&gt;
&lt;p&gt;Lorem ipsum with pretty Lorem ipsum dolor sit amet
consectetur adipiscing elit, urna consequat felis vehicula
class ultricies mollis dictumst, aenean non a in donec nulla.
Phasellus ante pellentesque erat cum risus consequat
imperdiet aliquam, integer placerat et turpis mi eros nec
lobortis taciti, vehicula nisl litora tellus ligula porttitor
metus.&lt;/p&gt;
&lt;p&gt;Vivamus integer non suscipit taciti mus etiam at primis
tempor sagittis sit, euismod libero facilisi aptent elementum
felis blandit cursus gravida sociis erat ante, eleifend
lectus nullam dapibus netus feugiat curae curabitur est ad.
Massa curae fringilla porttitor quam sollicitudin iaculis
aptent leo ligula euismod dictumst, orci penatibus mauris
eros etiam praesent erat volutpat posuere hac. Metus
fringilla nec ullamcorper odio aliquam lacinia conubia mauris
tempor, etiam ultricies proin quisque lectus sociis id
tristique, integer phasellus taciti pretium adipiscing tortor
sagittis ligula.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;doc&lt;/code&gt; class ensure the width of the text is
not too wide and use a very legible font.&lt;/p&gt;
&lt;/div&gt;
</pre></details></div></div><div class="row"><div class="card c6"><div><h3>headings</h3><p>By default there is some space before and after any heading:</p><h1>h1</h1><h2>h2</h2><h3>h3</h3><h4>h4</h4><h5>h5</h5><h6>h6</h6><h3>tight headings</h3><p>You can remove the space by using the class <code>tight</code> to the heading:</p><h1 class="tight">h1 tight</h1><h2 class="tight">h2 tight</h2><h3 class="tight">h3 tight</h3><h4 class="tight">h4 tight</h4><h5 class="tight">h5 tight</h5><h6 class="tight">h6 tight</h6></div><details><summary>code</summary><pre>
&lt;div&gt;
&lt;h3&gt;headings&lt;/h3&gt;
&lt;p&gt;By default there is some space before and after any
heading:&lt;/p&gt;
&lt;h1&gt;h1&lt;/h1&gt;
&lt;h2&gt;h2&lt;/h2&gt;
&lt;h3&gt;h3&lt;/h3&gt;
&lt;h4&gt;h4&lt;/h4&gt;
&lt;h5&gt;h5&lt;/h5&gt;
&lt;h6&gt;h6&lt;/h6&gt;
&lt;h3&gt;tight headings&lt;/h3&gt;
&lt;p&gt;You can remove the space by using the class
&lt;code&gt;tight&lt;/code&gt; to the heading:&lt;/p&gt;
&lt;h1 class=&quot;tight&quot;&gt;h1 tight&lt;/h1&gt;
&lt;h2 class=&quot;tight&quot;&gt;h2 tight&lt;/h2&gt;
&lt;h3 class=&quot;tight&quot;&gt;h3 tight&lt;/h3&gt;
&lt;h4 class=&quot;tight&quot;&gt;h4 tight&lt;/h4&gt;
&lt;h5 class=&quot;tight&quot;&gt;h5 tight&lt;/h5&gt;
&lt;h6 class=&quot;tight&quot;&gt;h6 tight&lt;/h6&gt;
&lt;/div&gt;
</pre></details></div><div class="card c6"><div id="itemize"><h2>itemization</h2><h3>ul</h3><ul><li>item 1</li><li>item 2</li><li>item 3; with a very long text that should wrap to the next line in any browser. We&apos;ll see that the wrapped text should be aligned with the text of the other items. This is due to the <code>list-style-position: outside</code>.</li><li>item 4</li></ul><h3>ol</h3><ol><li>item 1</li><li>item 2</li><li>item 3</li><li>item 4</li></ol></div><details><summary>code</summary><pre>
&lt;div id=&quot;itemize&quot;&gt;
&lt;h2&gt;itemization&lt;/h2&gt;
&lt;h3&gt;ul&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;item 1&lt;/li&gt;
&lt;li&gt;item 2&lt;/li&gt;
&lt;li&gt;item 3; with a very long text that should wrap to the
next line in any browser. We&apos;ll see that the wrapped text
should be aligned with the text of the other items. This is
due to the &lt;code&gt;list-style-position: outside&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;item 4&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;ol&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;item 1&lt;/li&gt;
&lt;li&gt;item 2&lt;/li&gt;
&lt;li&gt;item 3&lt;/li&gt;
&lt;li&gt;item 4&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>Grid</h2><div class="row"><div class="card c6"><div><div class="row"><div class="bg-neutral c12">c12</div></div><div class="row"><div class="bg-neutral c11">c11</div><div class="light c1">c1</div></div><div class="row"><div class="bg-neutral c10">c10</div><div class="light c2">c2</div></div><div class="row"><div class="bg-neutral c9">c9</div><div class="light c3">c3</div></div><div class="row"><div class="bg-neutral c8">c8</div><div class="light c4">c4</div></div><div class="row"><div class="bg-neutral c7">c7</div><div class="light c5">c5</div></div><div class="row"><div class="bg-neutral c6">c6</div><div class="light c6">c6</div></div><div class="row"><div class="bg-neutral c5">c5</div><div class="light c7">c7</div></div><div class="row"><div class="bg-neutral c4">c4</div><div class="light c8">c8</div></div><div class="row"><div class="bg-neutral c3">c3</div><div class="light c9">c9</div></div><div class="row"><div class="bg-neutral c2">c2</div><div class="light c10">c10</div></div><div class="row"><div class="bg-neutral c1">c1</div><div class="light c11">c11</div></div><div class="row"><div class="light c12">c12</div></div></div><details><summary>code</summary><pre>
&lt;div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c12&quot;&gt;
c12
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c11&quot;&gt;
c11
&lt;/div&gt;
&lt;div class=&quot;light c1&quot;&gt;
c1
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c10&quot;&gt;
c10
&lt;/div&gt;
&lt;div class=&quot;light c2&quot;&gt;
c2
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c9&quot;&gt;
c9
&lt;/div&gt;
&lt;div class=&quot;light c3&quot;&gt;
c3
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c8&quot;&gt;
c8
&lt;/div&gt;
&lt;div class=&quot;light c4&quot;&gt;
c4
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c7&quot;&gt;
c7
&lt;/div&gt;
&lt;div class=&quot;light c5&quot;&gt;
c5
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c6&quot;&gt;
c6
&lt;/div&gt;
&lt;div class=&quot;light c6&quot;&gt;
c6
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c5&quot;&gt;
c5
&lt;/div&gt;
&lt;div class=&quot;light c7&quot;&gt;
c7
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c4&quot;&gt;
c4
&lt;/div&gt;
&lt;div class=&quot;light c8&quot;&gt;
c8
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c3&quot;&gt;
c3
&lt;/div&gt;
&lt;div class=&quot;light c9&quot;&gt;
c9
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c2&quot;&gt;
c2
&lt;/div&gt;
&lt;div class=&quot;light c10&quot;&gt;
c10
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;bg-neutral c1&quot;&gt;
c1
&lt;/div&gt;
&lt;div class=&quot;light c11&quot;&gt;
c11
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;light c12&quot;&gt;
c12
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>Images</h2><div class="row"><div class="card c6"><div id="images"><h1>Images</h1><h2>Inside a grid</h2><div class="row"><div class="card"><p>Inside a card</p><img src="../h/img/brutalism.webp" /></div><div><p>Directly a card</p><img src="../h/img/brutalism.webp" /></div><div class="block"><p>In a block</p><img src="../h/img/brutalism.webp" /></div></div></div><details><summary>code</summary><pre>
&lt;div id=&quot;images&quot;&gt;
&lt;h1&gt;Images&lt;/h1&gt;
&lt;h2&gt;Inside a grid&lt;/h2&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;card&quot;&gt;
&lt;p&gt;Inside a card&lt;/p&gt;&lt;img src=&quot;../h/img/brutalism.webp&quot;&gt;&lt;/img&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Directly a card&lt;/p&gt;&lt;img src=&quot;../h/img/brutalism.webp&quot;&gt;&lt;/img&gt;&lt;/div&gt;
&lt;div class=&quot;block&quot;&gt;
&lt;p&gt;In a block&lt;/p&gt;&lt;img src=&quot;../h/img/brutalism.webp&quot;&gt;&lt;/img&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>icons</h2><div class="row"><div class="card c6"><div class="col start"><h4>Android Safe</h4><i class="ico block" style="line-height: 1.5rem">☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜ ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №
</i><div class="msg push">The &quot;Android Safe&quot; icons work everywhere, tested on hundreds of devices.</div></div><details><summary>code</summary><pre>
&lt;div class=&quot;col start&quot;&gt;
&lt;h4&gt;Android Safe&lt;/h4&gt;&lt;i class=&quot;ico block&quot; style=&quot;line-height: 1.5rem&quot;&gt;☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜
☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №&lt;/i&gt;
&lt;div class=&quot;msg push&quot;&gt;
The &quot;Android Safe&quot; icons work everywhere, tested on hundreds
of devices.
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div><div class="card c6"><div class="col start"><h4>Total Set</h4><i class="ico block" style="line-height: 1.5rem">✉ ✰ ☁ ✈ ☑ ☒ ✆ ☀ ☮ ☢ ☠ ☣ ⌂ ℗ ☺ ☻ ☼ ∡ ∿ ⊝ ⊘ ⁂ ☤ ♫ ☄ ✎ ☟ ☝ ☹ ☭ ☚ ☛ ✌ 〠 ☃ ♮ ☂ ☸ ✍ ☯ ✂ ₩ ◍ ۩
</i><div class="msg warn push">Although over 75% of Android devices we tested support all &quot;Total Set&quot; icons, if a substantial portion of your users use old Android devices you should stick to the &quot;Android Safe&quot; set. (The &quot;Total Set&quot; does not include icons from the &quot;Android Safe&quot; set.)</div></div><details><summary>code</summary><pre>
&lt;div class=&quot;col start&quot;&gt;
&lt;h4&gt;Total Set&lt;/h4&gt;&lt;i class=&quot;ico block&quot; style=&quot;line-height: 1.5rem&quot;&gt;✉ ✰ ☁ ✈ ☑ ☒ ✆ ☀ ☮ ☢ ☠ ☣ ⌂ ℗ ☺ ☻ ☼ ∡ ∿ ⊝ ⊘
⁂ ☤ ♫ ☄ ✎ ☟ ☝ ☹ ☭ ☚ ☛ ✌ 〠 ☃ ♮ ☂ ☸ ✍ ☯ ✂ ₩ ◍ ۩&lt;/i&gt;
&lt;div class=&quot;msg warn push&quot;&gt;
Although over 75% of Android devices we tested support all
&quot;Total Set&quot; icons, if a substantial portion of your users use
old Android devices you should stick to the &quot;Android Safe&quot;
set. (The &quot;Total Set&quot; does not include icons from the
&quot;Android Safe&quot; set.)
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>Forms</h2><div class="row"><div class="card c6"><div><input class="neutral" placeholder="input" type="text" /><br /><textarea class="neutral" placeholder="textarea" rows="3"></textarea><br /><span class="addon bg-info">$</span><input type="text" /><div class="msg"><strong>Be careful with addons!</strong> If you do not want a space between the addon and the input make sure that there is no space between the <code>&lt;span&gt;</code> and <code>&lt;input&gt;</code> tags. Example: <pre>... &lt;/span&gt;<span class="hl"> </span>&lt;input ...</pre><span class="addon">$</span> <input class="smooth" type="text" /><pre>... &lt;/span&gt;&lt;input ...</pre><span class="addon">$</span><input class="smooth" type="text" /></div></div><details><summary>code</summary><pre>
&lt;div&gt;
&lt;input class=&quot;neutral&quot; placeholder=&quot;input&quot; type=&quot;text&quot;&gt;&lt;/input&gt;&lt;br&gt;&lt;/br&gt;
&lt;textarea class=&quot;neutral&quot; placeholder=&quot;textarea&quot; rows=&quot;3&quot;&gt;&lt;/textarea&gt;&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;addon bg-info&quot;&gt;$&lt;/span&gt;&lt;input type=&quot;text&quot;&gt;&lt;/input&gt;
&lt;div class=&quot;msg&quot;&gt;
&lt;strong&gt;Be careful with addons!&lt;/strong&gt; If you do not want a
space between the addon and the input make sure that there is
no space between the &lt;code&gt;&amp;lt;span&amp;gt;&lt;/code&gt; and
&lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tags. Example:
&lt;pre&gt;... &amp;lt;/span&amp;gt;&lt;span class=&quot;hl&quot;&gt; &lt;/span&gt;&amp;lt;input ...&lt;/pre&gt;&lt;span class=&quot;addon&quot;&gt;$&lt;/span&gt;
&lt;input class=&quot;smooth&quot; type=&quot;text&quot;&gt;&lt;/input&gt;
&lt;pre&gt;... &amp;lt;/span&amp;gt;&amp;lt;input ...&lt;/pre&gt;&lt;span class=&quot;addon&quot;&gt;$&lt;/span&gt;&lt;input class=&quot;smooth&quot; type=&quot;text&quot;&gt;&lt;/input&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>Tables</h2><div class="row"><div class="card c6"><table class="table"><thead><tr><th>#</th><th>Widgets Sold</th><th>Revenue (£)</th><th>Profit (£)</th></tr></thead><tbody><tr><td>1</td><td>5</td><td>10</td><td>2</td></tr><tr><td>2</td><td>10</td><td>20</td><td>4</td></tr><tr><td>3</td><td>500</td><td>1000</td><td>200</td></tr></tbody></table><details><summary>code</summary><pre>
&lt;table class=&quot;table&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Widgets Sold&lt;/th&gt;
&lt;th&gt;Revenue (£)&lt;/th&gt;
&lt;th&gt;Profit (£)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;500&lt;/td&gt;
&lt;td&gt;1000&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</pre></details></div></div></div><div class="col"><h2>Buttons</h2><div class="row"><div class="card c6"><div id="text-buttons"><h3>Classic</h3><a class="tb">tb</a><a class="tb info">tb info</a><a class="tb ok">tb ok</a><a class="tb warn">tb warn</a><a class="tb err">tb err</a><a class="tb fatal">tb fatal</a></div><details><summary>code</summary><pre>
&lt;div id=&quot;text-buttons&quot;&gt;
&lt;h3&gt;Classic&lt;/h3&gt;&lt;a class=&quot;tb&quot;&gt;tb&lt;/a&gt;&lt;a class=&quot;tb info&quot;&gt;tb
info&lt;/a&gt;&lt;a class=&quot;tb ok&quot;&gt;tb ok&lt;/a&gt;&lt;a class=&quot;tb warn&quot;&gt;tb
warn&lt;/a&gt;&lt;a class=&quot;tb err&quot;&gt;tb err&lt;/a&gt;&lt;a class=&quot;tb fatal&quot;&gt;tb
fatal&lt;/a&gt;
&lt;/div&gt;
</pre></details></div><div class="card c6"><div id="text-buttons-sizes"><h3>Sizes</h3><h4>Inside some text</h4><div class="block">Some text: <a class="tb sm info">Info</a><a class="tb ok">OK</a><a class="tb big warn">Warn</a><a class="tb huge err">ERR</a></div><h4>In a grid</h4><div class="row gapless"><div class="col c2 gapless"><a class="tb sm">tb sm</a><a class="tb sm info">tb sm</a><a class="tb sm ok">tb sm</a><a class="tb sm warn">tb sm</a></div><div class="col c2 gapless"><a class="tb">tb</a><a class="tb info">tb</a><a class="tb ok">tb</a><a class="tb warn">tb</a></div><div class="col c3 gapless"><a class="tb big warn">tb big</a><a class="tb big err">tb big</a><a class="tb big fatal">tb big</a></div><div class="col c5 gapless"><a class="tb huge err">tb huge</a><a class="tb huge fatal">tb huge</a></div></div></div><details><summary>code</summary><pre>
&lt;div id=&quot;text-buttons-sizes&quot;&gt;
&lt;h3&gt;Sizes&lt;/h3&gt;
&lt;h4&gt;Inside some text&lt;/h4&gt;
&lt;div class=&quot;block&quot;&gt;
Some text: &lt;a class=&quot;tb sm info&quot;&gt;Info&lt;/a&gt;&lt;a class=&quot;tb ok&quot;&gt;OK&lt;/a&gt;&lt;a class=&quot;tb big warn&quot;&gt;Warn&lt;/a&gt;&lt;a class=&quot;tb huge err&quot;&gt;ERR&lt;/a&gt;
&lt;/div&gt;
&lt;h4&gt;In a grid&lt;/h4&gt;
&lt;div class=&quot;row gapless&quot;&gt;
&lt;div class=&quot;col c2 gapless&quot;&gt;
&lt;a class=&quot;tb sm&quot;&gt;tb sm&lt;/a&gt;&lt;a class=&quot;tb sm info&quot;&gt;tb
sm&lt;/a&gt;&lt;a class=&quot;tb sm ok&quot;&gt;tb sm&lt;/a&gt;&lt;a class=&quot;tb sm warn&quot;&gt;tb
sm&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;col c2 gapless&quot;&gt;
&lt;a class=&quot;tb&quot;&gt;tb&lt;/a&gt;&lt;a class=&quot;tb info&quot;&gt;tb&lt;/a&gt;&lt;a class=&quot;tb ok&quot;&gt;tb&lt;/a&gt;&lt;a class=&quot;tb warn&quot;&gt;tb&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;col c3 gapless&quot;&gt;
&lt;a class=&quot;tb big warn&quot;&gt;tb big&lt;/a&gt;&lt;a class=&quot;tb big err&quot;&gt;tb
big&lt;/a&gt;&lt;a class=&quot;tb big fatal&quot;&gt;tb big&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;col c5 gapless&quot;&gt;
&lt;a class=&quot;tb huge err&quot;&gt;tb huge&lt;/a&gt;&lt;a class=&quot;tb huge fatal&quot;&gt;tb huge&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div><div class="row"><div class="card c6"><div id="buttons"><h2>Classic</h2><a class="btn">btn</a><a class="btn info">btn info</a><a class="btn ok">btn ok</a><a class="btn warn">btn warn</a><a class="btn err">btn err</a><a class="btn fatal">btn fatal</a><pre class="block">&amp;lt;a class=&amp;quot;btn btn-b&amp;quot;&amp;gt;btn-b&amp;lt;/a&amp;gt;</pre><h2>Sizes</h2><a class="btn sm">btn sm</a><a class="btn info">btn info</a><a class="btn big warn">btn big warn</a><a class="btn huge err">btn huge err</a><pre class="block">&amp;lt;a class=&amp;quot;btn sm info&amp;quot;&amp;gt;btn sm info&amp;lt;/a&amp;gt;</pre><div class="row"><div class="col c4 card"><h3>Standardized Width <code>btn std</code></h3><div class="col"><a class="btn std">btn std</a><a class="btn std info">btn std info</a><a class="btn std ok">btn std ok</a><a class="btn std warn">btn std warn</a><a class="btn std err">btn std err</a><a class="btn std fatal">btn std fatal</a></div></div><div class="col c4 card"><h3>Big</h3><div class="col"><a class="btn std big ">btn std</a><a class="btn std big info">btn std info</a><a class="btn std big ok">btn std ok</a><a class="btn std big warn">btn std warn</a></div></div><div class="col c4 card"><h3>Huge</h3><div class="col"><a class="btn std huge">btn std</a><a class="btn std huge info">btn std info</a><a class="btn std huge ok">btn std ok</a></div></div></div></div><details><summary>code</summary><pre>
&lt;div id=&quot;buttons&quot;&gt;
&lt;h2&gt;Classic&lt;/h2&gt;&lt;a class=&quot;btn&quot;&gt;btn&lt;/a&gt;&lt;a class=&quot;btn info&quot;&gt;btn
info&lt;/a&gt;&lt;a class=&quot;btn ok&quot;&gt;btn ok&lt;/a&gt;&lt;a class=&quot;btn warn&quot;&gt;btn
warn&lt;/a&gt;&lt;a class=&quot;btn err&quot;&gt;btn err&lt;/a&gt;&lt;a class=&quot;btn fatal&quot;&gt;btn
fatal&lt;/a&gt;
&lt;pre class=&quot;block&quot;&gt;&amp;amp;lt;a class=&amp;amp;quot;btn btn-b&amp;amp;quot;&amp;amp;gt;btn-b&amp;amp;lt;/a&amp;amp;gt;&lt;/pre&gt;
&lt;h2&gt;Sizes&lt;/h2&gt;&lt;a class=&quot;btn sm&quot;&gt;btn sm&lt;/a&gt;&lt;a class=&quot;btn info&quot;&gt;btn info&lt;/a&gt;&lt;a class=&quot;btn big warn&quot;&gt;btn big
warn&lt;/a&gt;&lt;a class=&quot;btn huge err&quot;&gt;btn huge err&lt;/a&gt;
&lt;pre class=&quot;block&quot;&gt;&amp;amp;lt;a class=&amp;amp;quot;btn sm info&amp;amp;quot;&amp;amp;gt;btn sm info&amp;amp;lt;/a&amp;amp;gt;&lt;/pre&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col c4 card&quot;&gt;
&lt;h3&gt;Standardized Width &lt;code&gt;btn std&lt;/code&gt;&lt;/h3&gt;
&lt;div class=&quot;col&quot;&gt;
&lt;a class=&quot;btn std&quot;&gt;btn std&lt;/a&gt;&lt;a class=&quot;btn std info&quot;&gt;btn
std info&lt;/a&gt;&lt;a class=&quot;btn std ok&quot;&gt;btn std ok&lt;/a&gt;&lt;a class=&quot;btn std warn&quot;&gt;btn std warn&lt;/a&gt;&lt;a class=&quot;btn std err&quot;&gt;btn
std err&lt;/a&gt;&lt;a class=&quot;btn std fatal&quot;&gt;btn std fatal&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;col c4 card&quot;&gt;
&lt;h3&gt;Big&lt;/h3&gt;
&lt;div class=&quot;col&quot;&gt;
&lt;a class=&quot;btn std big&quot;&gt;btn std&lt;/a&gt;&lt;a class=&quot;btn std big info&quot;&gt;btn std info&lt;/a&gt;&lt;a class=&quot;btn std big ok&quot;&gt;btn std ok&lt;/a&gt;&lt;a class=&quot;btn std big warn&quot;&gt;btn std warn&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;col c4 card&quot;&gt;
&lt;h3&gt;Huge&lt;/h3&gt;
&lt;div class=&quot;col&quot;&gt;
&lt;a class=&quot;btn std huge&quot;&gt;btn std&lt;/a&gt;&lt;a class=&quot;btn std huge info&quot;&gt;btn std info&lt;/a&gt;&lt;a class=&quot;btn std huge ok&quot;&gt;btn std ok&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>Messages</h2><div class="row"><div class="card c6"><div class="row"><div class="col c6 gapless"><h2>Basic Messages</h2><br /><div class="msg"><strong>Normal Message</strong> This is a normal message with <code>msg</code>.</div><div class="msg info"><strong><i class="ico"></i> Info</strong> This is done by adding <code>info</code> to the class.
</div><div class="msg ok"><strong><i class="ico"></i> OK</strong> This is done by adding <code>ok</code> to the class.
</div><div class="msg warn"><strong><i class="ico"></i> Warning</strong> This is done by adding <code>warn</code> to the class.
</div><div class="msg err"><strong><i class="ico"></i> Error</strong> This is done by adding <code>err</code> to the class.
</div><div class="msg fatal"><strong><i class="ico"></i> Fatal</strong> This is done by adding <code>fatal</code> to the class.
</div></div><div class="col c6 gapless"><h2>Strong Alerts</h2><br /><div class="msg alert"><strong>Alert Message</strong> This is a normal message with <code>msg</code>.
</div><div class="msg alert info"><strong><i class="ico"></i> Alert Info</strong> This is done by adding <code>info</code> to the class.
</div><div class="msg alert ok"><strong><i class="ico"></i> Alert OK</strong> This is done by adding <code>ok</code> to the class.
</div><div class="msg alert warn"><strong><i class="ico"></i> Alert Warning</strong> This is done by adding <code>warn</code> to the class.
</div><div class="msg alert err"><strong><i class="ico"></i> Alert Error</strong> This is done by adding <code>err</code> to the class.
</div><div class="msg alert fatal"><strong><i class="ico"></i> Alert Fatal</strong> This is done by adding <code>fatal</code> to the class.
</div></div></div><details><summary>code</summary><pre>
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col c6 gapless&quot;&gt;
&lt;h2&gt;Basic Messages&lt;/h2&gt;&lt;br&gt;&lt;/br&gt;
&lt;div class=&quot;msg&quot;&gt;
&lt;strong&gt;Normal Message&lt;/strong&gt; This is a normal message
with &lt;code&gt;msg&lt;/code&gt;.
&lt;/div&gt;
&lt;div class=&quot;msg info&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Info&lt;/strong&gt; This is done by
adding &lt;code&gt;info&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg ok&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; OK&lt;/strong&gt; This is done by
adding &lt;code&gt;ok&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg warn&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Warning&lt;/strong&gt; This is done
by adding &lt;code&gt;warn&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg err&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Error&lt;/strong&gt; This is done by
adding &lt;code&gt;err&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg fatal&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Fatal&lt;/strong&gt; This is done by
adding &lt;code&gt;fatal&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;col c6 gapless&quot;&gt;
&lt;h2&gt;Strong Alerts&lt;/h2&gt;&lt;br&gt;&lt;/br&gt;
&lt;div class=&quot;msg alert&quot;&gt;
&lt;strong&gt;Alert Message&lt;/strong&gt; This is a normal message
with &lt;code&gt;msg&lt;/code&gt;.
&lt;/div&gt;
&lt;div class=&quot;msg alert info&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Alert Info&lt;/strong&gt; This is
done by adding &lt;code&gt;info&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg alert ok&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Alert OK&lt;/strong&gt; This is done
by adding &lt;code&gt;ok&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg alert warn&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Alert Warning&lt;/strong&gt; This is
done by adding &lt;code&gt;warn&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg alert err&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Alert Error&lt;/strong&gt; This is
done by adding &lt;code&gt;err&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;div class=&quot;msg alert fatal&quot;&gt;
&lt;strong&gt;&lt;i class=&quot;ico&quot;&gt;&lt;/i&gt; Alert Fatal&lt;/strong&gt; This is
done by adding &lt;code&gt;fatal&lt;/code&gt; to the class.
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></details></div></div></div><div class="col"><h2>Navbar</h2><div class="row"><div class="card c6"><div class="navbar"><nav class="nav" onclick="this.focus()" tabindex="-1"><div class="container"><a class="pagename current" href="#">BRUT</a><a href="#">One</a><a href="#">Two</a><a href="#">Three</a><a href="#">Four</a></div></nav><button class="btn-close btn sm">×</button></div><details><summary>code</summary><pre>
&lt;div class=&quot;navbar&quot;&gt;
&lt;nav class=&quot;nav&quot; onclick=&quot;this.focus()&quot; tabindex=&quot;-1&quot;&gt;
&lt;div class=&quot;container&quot;&gt;
&lt;a class=&quot;pagename current&quot; href=&quot;#&quot;&gt;BRUT&lt;/a&gt;&lt;a href=&quot;#&quot;&gt;One&lt;/a&gt;&lt;a href=&quot;#&quot;&gt;Two&lt;/a&gt;&lt;a href=&quot;#&quot;&gt;Three&lt;/a&gt;&lt;a href=&quot;#&quot;&gt;Four&lt;/a&gt;
&lt;/div&gt;
&lt;/nav&gt;&lt;button class=&quot;btn-close btn sm&quot;&gt;×&lt;/button&gt;
&lt;/div&gt;
</pre></details></div></div></div></div><footer><div class="container"><p>By <a href="https://yannesposito.com">Yann Esposito</a></p></div></footer></body>