messing up with details

This commit is contained in:
Yann Esposito (Yogsototh) 2022-10-08 16:19:40 +02:00
parent 62ef69aa88
commit 6dcc9f688a
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
7 changed files with 543 additions and 43 deletions

View file

@ -91,8 +91,77 @@
[:a.btn.warn.huge {:href (to "brut.min.css")}
"Download BRUT"]]))
(defn to-pre [hc]
(h/html {:escape-strings? true}
[:pre (-> (str (h/html hc))
(string/replace #"><" ">\n<"))]))
(defn mk-docs [rel-pref _metas]
(let [to (fn [path] (str rel-pref path))
txt
[:div {:id "textual"}
[:h1 "title in h1"]
[:p "Some text in <p> with different styles; "
[:b "bold"]
", " [:strong "strong"]
", " [:i "italic"]
", " [:em "emphasis"]
", " [:code "code"]
", and if you really want something to be extremly visible use the class " [:code.hl "hl"] "."
]
[:p "The text should be " [:strong.hl "very dense"] " on purpose."
" Forget your lessons about nice space in design here."
" The goal of this design is to produce " [:em "professional"] " UI applications."
" So no time to make it breathes."
" We want to make it compact and efficient."]
[:p "Not we still try to keep a coherent and nice vertical rythm."]
[:p "Remark if you need to present a long text to read you can still use the class " [:code "doc"] "."
" Take a look at the next paragraph for example: "]
[:blockquote.doc
"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.
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.
Mollis pretium lorem primis senectus habitasse lectus scelerisque donec,
ultricies tortor suspendisse adipiscing fusce morbi volutpat pellentesque,
consectetur mi risus molestie curae malesuada cum.
Dignissim lacus convallis massa mauris enim ad mattis magnis senectus montes,
mollis taciti phasellus accumsan bibendum semper blandit suspendisse faucibus
nibh est, metus lobortis morbi cras magna vivamus per risus fermentum.
Dapibus imperdiet praesent magnis ridiculus congue gravida curabitur dictum
sagittis, enim et magna sit inceptos sodales parturient pharetra mollis, aenean
vel nostra tellus commodo pretium sapien sociosqu."]
[:p "The " [:code "doc"] " class ensure the width of the text is not too wide and use a very legible font."]
[:blockquote
"Some blockquote"]
[:h2 "itemization"]
[:h3 "ul"]
[:ul
[:li "item 1"]
[:li "item 2"]
[:li "item 3; with a very long text that should wrap to the next line in any browser."
" We'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"] "."
]
[:li "item 4"]]
[:h3 "ol"]
[:ol
[:li "item 1"]
[:li "item 2"]
[:li "item 3"]
[:li "item 4"]]]
images [:div {:id "images"}
[:h1 "Images"]
[:h2 "Inside a grid"]
@ -106,11 +175,6 @@
[:div.block
[:p "In a block"]
[:img {:src (to brutalism-img)}]]]]
pre-img (h/html {:escape-strings? true}
[:pre (-> (str (h/html images))
(string/replace #"><" ">\n<")
)])
img-block (conj images pre-img)
docs [:div
[:h1 "Buttons"]
[:h2 "Text Buttons"]
@ -324,39 +388,39 @@
[:pre "&lt;i class=&quot;ico&quot;&gt;Copy and paste icons from above here!&lt;/i&gt;"]
[:h1 "Grids"]
[:div {:class "row"}
[:div {:class "dark c12"} "c12"]]
[:div {:class "bg-neutral c12"} "c12"]]
[:div {:class "row"}
[:div {:class "dark c11"} "c11"]
[:div {:class "bg-neutral c11"} "c11"]
[:div {:class "light c1"} "c1"]]
[:div {:class "row"}
[:div {:class "dark c10"} "c10"]
[:div {:class "bg-neutral c10"} "c10"]
[:div {:class "light c2"} "c2"]]
[:div {:class "row"}
[:div {:class "dark c9"} "c9"]
[:div {:class "bg-neutral c9"} "c9"]
[:div {:class "light c3"} "c3"]]
[:div {:class "row"}
[:div {:class "dark c8"} "c8"]
[:div {:class "bg-neutral c8"} "c8"]
[:div {:class "light c4"} "c4"]]
[:div {:class "row"}
[:div {:class "dark c7"} "c7"]
[:div {:class "bg-neutral c7"} "c7"]
[:div {:class "light c5"} "c5"]]
[:div {:class "row"}
[:div {:class "dark c6"} "c6"]
[:div {:class "bg-neutral c6"} "c6"]
[:div {:class "light c6"} "c6"]]
[:div {:class "row"}
[:div {:class "dark c5"} "c5"]
[:div {:class "bg-neutral c5"} "c5"]
[:div {:class "light c7"} "c7"]]
[:div {:class "row"}
[:div {:class "dark c4"} "c4"]
[:div {:class "bg-neutral c4"} "c4"]
[:div {:class "light c8"} "c8"]]
[:div {:class "row"}
[:div {:class "dark c3"} "c3"]
[:div {:class "bg-neutral c3"} "c3"]
[:div {:class "light c9"} "c9"]]
[:div {:class "row"}
[:div {:class "dark c2"} "c2"]
[:div {:class "bg-neutral c2"} "c2"]
[:div {:class "light c10"} "c10"]]
[:div {:class "row"}
[:div {:class "dark c1"} "c1"]
[:div {:class "bg-neutral c1"} "c1"]
[:div {:class "light c11"} "c11"]]
[:div {:class "row"}
[:div {:class "light c12"} "c12"]]
@ -387,12 +451,10 @@
[:h5 {:class "tight"} "h5 tight"]
[:h6 {:class "tight"} "h6 tight"]
[:br]
[:pre "&lt;h1&gt;Level One Heading&lt;/h1&gt;"]]]
]
[:pre "&lt;h1&gt;Level One Heading&lt;/h1&gt;"]]]]
[:div.container
img-block
docs
]))
(for [b [txt images docs]]
(conj b (to-pre b)))]))
(defn -main [& _args]
(gen-page "index.html"

File diff suppressed because one or more lines are too long

2
brut.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -302,50 +302,50 @@
<pre>&lt;i class="ico"&gt;Copy and paste icons from above here!&lt;/i&gt;</pre>
<h1>Grids</h1>
<div class="row">
<div class="dark c12">c12</div>
<div class="bg-neutral c12">c12</div>
</div>
<div class="row">
<div class="dark c11">c11</div>
<div class="bg-neutral c11">c11</div>
<div class="light c1">c1</div>
</div>
<div class="row">
<div class="dark c10">c10</div>
<div class="bg-neutral c10">c10</div>
<div class="light c2">c2</div>
</div>
<div class="row">
<div class="dark c9">c9</div>
<div class="bg-neutral c9">c9</div>
<div class="light c3">c3</div>
</div>
<div class="row">
<div class="dark c8">c8</div>
<div class="bg-neutral c8">c8</div>
<div class="light c4">c4</div>
</div>
<div class="row">
<div class="dark c7">c7</div>
<div class="bg-neutral c7">c7</div>
<div class="light c5">c5</div>
</div>
<div class="row">
<div class="dark c6">c6</div>
<div class="bg-neutral c6">c6</div>
<div class="light c6">c6</div>
</div>
<div class="row">
<div class="dark c5">c5</div>
<div class="bg-neutral c5">c5</div>
<div class="light c7">c7</div>
</div>
<div class="row">
<div class="dark c4">c4</div>
<div class="bg-neutral c4">c4</div>
<div class="light c8">c8</div>
</div>
<div class="row">
<div class="dark c3">c3</div>
<div class="bg-neutral c3">c3</div>
<div class="light c9">c9</div>
</div>
<div class="row">
<div class="dark c2">c2</div>
<div class="bg-neutral c2">c2</div>
<div class="light c10">c10</div>
</div>
<div class="row">
<div class="dark c1">c1</div>
<div class="bg-neutral c1">c1</div>
<div class="light c11">c11</div>
</div>
<div class="row">

View file

@ -1,4 +1,76 @@
<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-nocolors.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 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><pre>&lt;div id=&quot;images&quot;&gt;
<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-nocolors.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 id="textual"><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>Not we still try to keep a coherent and nice vertical rythm.</p><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><blockquote class="doc">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.
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.
Mollis pretium lorem primis senectus habitasse lectus scelerisque donec,
ultricies tortor suspendisse adipiscing fusce morbi volutpat pellentesque,
consectetur mi risus molestie curae malesuada cum.
Dignissim lacus convallis massa mauris enim ad mattis magnis senectus montes,
mollis taciti phasellus accumsan bibendum semper blandit suspendisse faucibus
nibh est, metus lobortis morbi cras magna vivamus per risus fermentum.
Dapibus imperdiet praesent magnis ridiculus congue gravida curabitur dictum
sagittis, enim et magna sit inceptos sodales parturient pharetra mollis, aenean
vel nostra tellus commodo pretium sapien sociosqu.</blockquote><p>The <code>doc</code> class ensure the width of the text is not too wide and use a very legible font.</p><blockquote>Some blockquote</blockquote><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><pre>&lt;div id=&quot;textual&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;Not we still try to keep a coherent and nice vertical rythm.&lt;/p&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;blockquote class=&quot;doc&quot;&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.
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.
Mollis pretium lorem primis senectus habitasse lectus scelerisque donec,
ultricies tortor suspendisse adipiscing fusce morbi volutpat pellentesque,
consectetur mi risus molestie curae malesuada cum.
Dignissim lacus convallis massa mauris enim ad mattis magnis senectus montes,
mollis taciti phasellus accumsan bibendum semper blandit suspendisse faucibus
nibh est, metus lobortis morbi cras magna vivamus per risus fermentum.
Dapibus imperdiet praesent magnis ridiculus congue gravida curabitur dictum
sagittis, enim et magna sit inceptos sodales parturient pharetra mollis, aenean
vel nostra tellus commodo pretium sapien sociosqu.&lt;/blockquote&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;blockquote&gt;Some blockquote&lt;/blockquote&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&amp;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></div><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><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;
@ -69,6 +141,360 @@ support all &amp;quot;Total Set&amp;quot; icons, if a substantial
portion of your users use old Android devices
you should stick to the &amp;quot;Android Safe&amp;quot; set.
(The &amp;quot;Total Set&amp;quot; does not include icons from the &amp;quot;Android Safe&amp;quot; set.)
</div></div></div></div><pre>&amp;lt;i class=&amp;quot;ico&amp;quot;&amp;gt;Copy and paste icons from above here!&amp;lt;/i&amp;gt;</pre><h1>Grids</h1><div class="row"><div class="dark c12">c12</div></div><div class="row"><div class="dark c11">c11</div><div class="light c1">c1</div></div><div class="row"><div class="dark c10">c10</div><div class="light c2">c2</div></div><div class="row"><div class="dark c9">c9</div><div class="light c3">c3</div></div><div class="row"><div class="dark c8">c8</div><div class="light c4">c4</div></div><div class="row"><div class="dark c7">c7</div><div class="light c5">c5</div></div><div class="row"><div class="dark c6">c6</div><div class="light c6">c6</div></div><div class="row"><div class="dark c5">c5</div><div class="light c7">c7</div></div><div class="row"><div class="dark c4">c4</div><div class="light c8">c8</div></div><div class="row"><div class="dark c3">c3</div><div class="light c9">c9</div></div><div class="row"><div class="dark c2">c2</div><div class="light c10">c10</div></div><div class="row"><div class="dark c1">c1</div><div class="light c11">c11</div></div><div class="row"><div class="light c12">c12</div></div><br /><pre>&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;<br /> &amp;lt;div class=&amp;quot;c12&amp;quot;&amp;gt;12&amp;lt;/div&amp;gt;<br />&amp;lt;/div&amp;gt;
</div></div></div></div><pre>&amp;lt;i class=&amp;quot;ico&amp;quot;&amp;gt;Copy and paste icons from above here!&amp;lt;/i&amp;gt;</pre><h1>Grids</h1><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><br /><pre>&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;<br /> &amp;lt;div class=&amp;quot;c12&amp;quot;&amp;gt;12&amp;lt;/div&amp;gt;<br />&amp;lt;/div&amp;gt;
<br />&amp;lt;div class=&amp;quot;row&amp;quot;&amp;gt;<br /> &amp;lt;div class=&amp;quot;c4&amp;quot;&amp;gt;4&amp;lt;/div&amp;gt;<br /> &amp;lt;div class=&amp;quot;c8&amp;quot;&amp;gt;8&amp;lt;/div&amp;gt;<br />&amp;lt;/div&amp;gt;
</pre></div><h1>Headings</h1><div class="headings"><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><br /><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><br /><pre>&amp;lt;h1&amp;gt;Level One Heading&amp;lt;/h1&amp;gt;</pre></div></div></div><footer><div class="container"><p>By <a href="https://yannesposito.com">Yann Esposito</a></p></div></footer></body>
</pre></div><h1>Headings</h1><div class="headings"><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><br /><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><br /><pre>&amp;lt;h1&amp;gt;Level One Heading&amp;lt;/h1&amp;gt;</pre></div><pre>&lt;div&gt;
&lt;h1&gt;Buttons&lt;/h1&gt;
&lt;h2&gt;Text Buttons&lt;/h2&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;h3&gt;Sizes&lt;/h3&gt;
&lt;div class=&quot;block&quot;&gt;Text&lt;a class=&quot;tb sm&quot;&gt;small&lt;/a&gt;
&lt;a class=&quot;tb&quot;&gt;normal&lt;/a&gt;
&lt;a class=&quot;tb big&quot;&gt;Big&lt;/a&gt;
&lt;a class=&quot;tb huge&quot;&gt;HUGE&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col c2 gapless&quot;&gt;
&lt;span&gt; Text &lt;a class=&quot;tb sm&quot;&gt;tb sm&lt;/a&gt; &lt;/span&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;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;h1&gt;Messages&lt;/h1&gt;
&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;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;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;
&lt;pre&gt;&amp;amp;lt;div class=&amp;amp;quot;msg&amp;amp;quot;&amp;amp;gt;
&amp;amp;lt;strong&amp;amp;gt;Alert headline!&amp;amp;lt;/strong&amp;amp;gt;
Message text
&amp;amp;lt;/div&amp;amp;gt;&lt;/pre&gt;
&lt;div&gt;
&lt;h1&gt;Forms&lt;/h1&gt;
&lt;input class=&quot;neutral&quot; placeholder=&quot;input&quot; type=&quot;text&quot; /&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;span class=&quot;addon bg-info&quot;&gt;$&lt;/span&gt;
&lt;input type=&quot;text&quot; /&gt;
&lt;br /&gt;
&lt;pre&gt;&amp;amp;lt;input type=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;
&lt;br /&gt;&amp;amp;lt;textarea rows=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;
&lt;br /&gt;&amp;amp;lt;span class=&amp;amp;quot;addon&amp;amp;quot;&amp;amp;gt;$&amp;amp;lt;/span&amp;amp;gt;&amp;amp;lt;input type=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;&lt;/pre&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;amp;lt;/span&amp;amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;amp;lt;input&amp;amp;gt;&lt;/code&gt; tags. Example: &lt;pre&gt;... &amp;amp;lt;/span&amp;amp;gt; &amp;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;pre&gt;... &amp;amp;lt;/span&amp;amp;gt;&amp;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;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;navbar&quot;&gt;
&lt;h1&gt;Navbars&lt;/h1&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;br /&gt;
&lt;pre&gt;&amp;amp;lt;nav class=&amp;amp;quot;nav&amp;amp;quot; tabindex=&amp;amp;quot;-1&amp;amp;quot; onclick=&amp;amp;quot;this.focus()&amp;amp;quot;&amp;amp;gt;
&amp;amp;lt;div class=&amp;amp;quot;container&amp;amp;quot;&amp;amp;gt;
&amp;amp;lt;a class=&amp;amp;quot;pagename current&amp;amp;quot; href=&amp;amp;quot;#&amp;amp;quot;&amp;amp;gt;BRUT&amp;amp;lt;/a&amp;amp;gt;
&amp;amp;lt;a href=&amp;amp;quot;#&amp;amp;quot;&amp;amp;gt;One&amp;amp;lt;/a&amp;amp;gt;
&amp;amp;lt;a href=&amp;amp;quot;#&amp;amp;quot;&amp;amp;gt;Two&amp;amp;lt;/a&amp;amp;gt;
&amp;amp;lt;a href=&amp;amp;quot;#&amp;amp;quot;&amp;amp;gt;Three&amp;amp;lt;/a&amp;amp;gt;
&amp;amp;lt;/div&amp;amp;gt;
&amp;amp;lt;/nav&amp;amp;gt;
&amp;amp;lt;button class=&amp;amp;quot;btn-close btn sm&amp;amp;quot;&amp;amp;gt;×&amp;amp;lt;/button&amp;amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h1&gt;Tables&lt;/h1&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&amp;amp;lt;table class=&amp;amp;quot;table&amp;amp;quot;&amp;amp;gt;
&amp;amp;lt;thead&amp;amp;gt;
&amp;amp;lt;tr&amp;amp;gt;
&amp;amp;lt;th&amp;amp;gt;#&amp;amp;lt;/th&amp;amp;gt;
&amp;amp;lt;th&amp;amp;gt;Widgets Sold&amp;amp;lt;/th&amp;amp;gt;
&amp;amp;lt;/tr&amp;amp;gt;
&amp;amp;lt;/thead&amp;amp;gt;
&amp;amp;lt;tbody&amp;amp;gt;
&amp;amp;lt;tr&amp;amp;gt;
&amp;amp;lt;td&amp;amp;gt;1&amp;amp;lt;/td&amp;amp;gt;
&amp;amp;lt;td&amp;amp;gt;5&amp;amp;lt;/td&amp;amp;gt;
&amp;amp;lt;/tr&amp;amp;gt;
&amp;amp;lt;tr&amp;amp;gt;
&amp;amp;lt;td&amp;amp;gt;2&amp;amp;lt;/td&amp;amp;gt;
&amp;amp;lt;td&amp;amp;gt;10&amp;amp;lt;/td&amp;amp;gt;
&amp;amp;lt;/tr&amp;amp;gt;
&amp;amp;lt;tr&amp;amp;gt;
&amp;amp;lt;td&amp;amp;gt;3&amp;amp;lt;/td&amp;amp;gt;
&amp;amp;lt;td&amp;amp;gt;500&amp;amp;lt;/td&amp;amp;gt;
&amp;amp;lt;/tr&amp;amp;gt;
&amp;amp;lt;/tbody&amp;amp;gt;
&amp;amp;lt;/table&amp;amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;h1&gt;Icons&lt;/h1&gt;
&lt;div class=&quot;icons&quot;&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;c6&quot;&gt;
&lt;div class=&quot;col card&quot;&gt;
&lt;div class=&quot;block&quot;&gt;
&lt;b&gt;Android Safe&lt;/b&gt;
&lt;/div&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 &amp;amp;quot;Android Safe&amp;amp;quot; icons work everywhere, tested on hundreds of devices.
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;c6&quot;&gt;
&lt;div class=&quot;col card&quot;&gt;
&lt;div class=&quot;block&quot;&gt;
&lt;b&gt;Total Set&lt;/b&gt;
&lt;/div&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 &amp;amp;quot;Total Set&amp;amp;quot; icons, if a substantial
portion of your users use old Android devices
you should stick to the &amp;amp;quot;Android Safe&amp;amp;quot; set.
(The &amp;amp;quot;Total Set&amp;amp;quot; does not include icons from the &amp;amp;quot;Android Safe&amp;amp;quot; set.)
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;pre&gt;&amp;amp;lt;i class=&amp;amp;quot;ico&amp;amp;quot;&amp;amp;gt;Copy and paste icons from above here!&amp;amp;lt;/i&amp;amp;gt;&lt;/pre&gt;
&lt;h1&gt;Grids&lt;/h1&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;br /&gt;
&lt;pre&gt;&amp;amp;lt;div class=&amp;amp;quot;row&amp;amp;quot;&amp;amp;gt;&lt;br /&gt; &amp;amp;lt;div class=&amp;amp;quot;c12&amp;amp;quot;&amp;amp;gt;12&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;&amp;amp;lt;/div&amp;amp;gt;
&lt;br /&gt;&amp;amp;lt;div class=&amp;amp;quot;row&amp;amp;quot;&amp;amp;gt;&lt;br /&gt; &amp;amp;lt;div class=&amp;amp;quot;c4&amp;amp;quot;&amp;amp;gt;4&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt; &amp;amp;lt;div class=&amp;amp;quot;c8&amp;amp;quot;&amp;amp;gt;8&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;&amp;amp;lt;/div&amp;amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;h1&gt;Headings&lt;/h1&gt;
&lt;div class=&quot;headings&quot;&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;br /&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;br /&gt;
&lt;pre&gt;&amp;amp;lt;h1&amp;amp;gt;Level One Heading&amp;amp;lt;/h1&amp;amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</pre></div></div><footer><div class="container"><p>By <a href="https://yannesposito.com">Yann Esposito</a></p></div></footer></body>

View file

@ -1,4 +1,4 @@
html,body { font-size: 12px; line-height: 1em; min-height: 100vh; margin: 0; padding:0; border: 0; outline: 0;}
html,body { font-size: 12px; line-height: 1.5em; min-height: 100vh; margin: 0; padding:0; border: 0; outline: 0;}
* { box-sizing: border-box; }
body, textarea, input, select {
background: var(--bg);
@ -17,10 +17,10 @@ img { max-width: 100%; }
.container {
padding: 0 20px;
width: auto;
width: 100%;
}
@media (min-width:800px) {
@media (min-width:1380px) {
.container {
margin: auto;
max-width: 1270px;
@ -29,14 +29,26 @@ img { max-width: 100%; }
pre { background: var(--bg2);
padding: 10px;
overflow: scroll;
}
code { background: var(--darken);
border: solid 1px var(--darken);
padding: 1px;
}
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: solid 1rem var(--nl); }
ul { list-style-type: square;
list-style-position: outside;
padding-inline-start: 1.5rem;
}
ol {
padding-inline-start: 2rem;
}
ul > li::marker { font-size: 1.5rem; }
.sm { font-size: 0.75rem; }
.big { font-size: 2rem; line-height: 2rem;}
.huge { font-size: 3rem; line-height: 3rem;}
/* highligh revert the colors */
.hl { background: var(--fg); color: var(--bg); }
/* doc are for long text to read */
.doc { max-width: 65ch; font-size: 1.25rem; font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Cantarell,Ubuntu,roboto,noto,arial,sans-serif; }

View file

@ -1,7 +1,7 @@
/* Make the default heading style larger */
h1, h2, h3, h4, h5, h6 {
display: table;
display: block;
padding: 0.5rem;
font-size: 1rem;
margin: 0;