diff --git a/bb/brut/site.clj b/bb/brut/site.clj index 66c9d86..cc7a97e 100644 --- a/bb/brut/site.clj +++ b/bb/brut/site.clj @@ -141,21 +141,8 @@ " 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 - "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"] - ] + " taciti pretium adipiscing tortor sagittis ligula."]] + [:p "The " [:code "doc"] " class ensure the width of the text is not too wide and use a very legible font."]] itemize [:div {:id "itemize"} [:h2 "itemization"] [:h3 "ul"] @@ -173,9 +160,26 @@ [:li "item 2"] [:li "item 3"] [:li "item 4"]]] + headings [:div + [:h3 "headings"] + [:p "By default there is some space before and after any heading:"] + [:h1 "h1"] + [:h2 "h2"] + [:h3 "h3"] + [:h4 "h4"] + [:h5 "h5"] + [:h6 "h6"] + [:h3 "tight headings"] + [:p "You can remove the space by using the class " + [:code "tight"]" to the heading:"] + [:h1 {:class "tight"} "h1 tight"] + [:h2 {:class "tight"} "h2 tight"] + [:h3 {:class "tight"} "h3 tight"] + [:h4 {:class "tight"} "h4 tight"] + [:h5 {:class "tight"} "h5 tight"] + [:h6 {:class "tight"} "h6 tight"]] textual-section {:title "Textual content" - :cards [txt doc itemize] - } + :cards [txt doc headings itemize]} images [:div {:id "images"} [:h1 "Images"] @@ -267,223 +271,201 @@ [:a {:class "btn std huge ok"} "btn std ok"]]]]] buttons-section {:title "Buttons" :cards [buttons]} - docs [:div - [:h1 "Messages"] - [:div {:class "row"} - [:div {:class "col c6 gapless"} - [:h2 "Basic Messages"] - [:br] - [:div {:class "msg"} - [:strong "Normal Message"] - " This is a normal message with " [:code "msg"] "."] - [:div {:class "msg info"} - [:strong - [:i {:class "ico"} "☞"]" Info"] - " This is done by adding " - [:code "info"]" to the class.\n"] - [:div {:class "msg ok"} - [:strong - [:i {:class "ico"} "☑"]" OK"] - " This is done by adding " - [:code "ok"]" to the class.\n"] - [:div {:class "msg warn"} - [:strong - [:i {:class "ico"} "☣"]" Warning"] - " This is done by adding " - [:code "warn"]" to the class.\n"] - [:div {:class "msg err"} - [:strong - [:i {:class "ico"} "☒"]" Error"] - " This is done by adding " - [:code "err"]" to the class.\n"] - [:div {:class "msg fatal"} - [:strong - [:i {:class "ico"} "☒"]" Fatal"] - " This is done by adding " - [:code "fatal"]" to the class.\n"]] - [:div {:class "col c6 gapless"} - [:h2 "Strong Alerts"] - [:br] - [:div {:class "msg alert"} - [:strong "Alert Message"]"This is a normal message with " - [:code "msg"]".\n"] - [:div {:class "msg alert info"} - [:strong - [:i {:class "ico"} "☞"]" Alert Info"]"This is done by adding " - [:code "info"]" to the class.\n"] - [:div {:class "msg alert ok"} - [:strong - [:i {:class "ico"} "☑"]" Alert OK"]"This is done by adding " - [:code "ok"]" to the class.\n"] - [:div {:class "msg alert warn"} - [:strong - [:i {:class "ico"} "☣"]" Alert Warning"]"This is done by adding " - [:code "warn"]" to the class.\n"] - [:div {:class "msg alert err"} - [:strong - [:i {:class "ico"} "☒"]" Alert Error"]"This is done by adding " - [:code "err"]" to the class.\n"] - [:div {:class "msg alert fatal"} - [:strong - [:i {:class "ico"} "☒"]" Alert Fatal"]"This is done by adding " - [:code "fatal"]" to the class.\n"]]] - [:pre "<div class="msg">\n <strong>Alert headline!</strong>\n Message text\n</div>"] - [:div - [:h1 "Forms"] + messages [:div {:class "row"} + [:div {:class "col c6 gapless"} + [:h2 "Basic Messages"] + [:br] + [:div {:class "msg"} + [:strong "Normal Message"] + " This is a normal message with " [:code "msg"] "."] + [:div {:class "msg info"} + [:strong + [:i {:class "ico"} "☞"]" Info"] + " This is done by adding " + [:code "info"]" to the class.\n"] + [:div {:class "msg ok"} + [:strong + [:i {:class "ico"} "☑"]" OK"] + " This is done by adding " + [:code "ok"]" to the class.\n"] + [:div {:class "msg warn"} + [:strong + [:i {:class "ico"} "☣"]" Warning"] + " This is done by adding " + [:code "warn"]" to the class.\n"] + [:div {:class "msg err"} + [:strong + [:i {:class "ico"} "☒"]" Error"] + " This is done by adding " + [:code "err"]" to the class.\n"] + [:div {:class "msg fatal"} + [:strong + [:i {:class "ico"} "☒"]" Fatal"] + " This is done by adding " + [:code "fatal"]" to the class.\n"]] + [:div {:class "col c6 gapless"} + [:h2 "Strong Alerts"] + [:br] + [:div {:class "msg alert"} + [:strong "Alert Message"]"This is a normal message with " + [:code "msg"]".\n"] + [:div {:class "msg alert info"} + [:strong + [:i {:class "ico"} "☞"]" Alert Info"]"This is done by adding " + [:code "info"]" to the class.\n"] + [:div {:class "msg alert ok"} + [:strong + [:i {:class "ico"} "☑"]" Alert OK"]"This is done by adding " + [:code "ok"]" to the class.\n"] + [:div {:class "msg alert warn"} + [:strong + [:i {:class "ico"} "☣"]" Alert Warning"]"This is done by adding " + [:code "warn"]" to the class.\n"] + [:div {:class "msg alert err"} + [:strong + [:i {:class "ico"} "☒"]" Alert Error"]"This is done by adding " + [:code "err"]" to the class.\n"] + [:div {:class "msg alert fatal"} + [:strong + [:i {:class "ico"} "☒"]" Alert Fatal"]"This is done by adding " + [:code "fatal"]" to the class.\n"]]] + messages-section {:title "Messages" + :cards [messages]} + forms [:div [:input {:class "neutral", :type "text", :placeholder "input"}] [:br] [:textarea {:class "neutral", :rows "3", :placeholder "textarea"}] [:br] [:span {:class "addon bg-info"} "$"] [:input {:type "text"}] - [:br] - [:pre "<input type="text">\n" - [:br]"<textarea rows="3">\n" - [:br]"<span class="addon">$</span><input type="text">"] [:div {:class "msg"} - [:strong "Be careful with addons!"]" If you do not want a space between the addon and the input make sure that there is no space between the " - [:code "</span>"]" and " - [:code "<input>"]" tags. Example: " - [:pre "... </span> <input ..."] - [:span {:class "addon"} "$"] + [:strong "Be careful with addons!"] + " If you do not want a space between the addon and the input make sure " + "that there is no space between the " + [:code ""] " and " + [:code ""]" tags. Example: " + [:pre "... " [:span.hl " "] " - - - - - - BRUT - docs - - - - - - -
-
-

Images

-

Inside Grid

-
-
-
- Inside a block. - brutalism -
-
-
- Direct in column: - brutalism -
-
-
- Inside a card. - brutalism -
-
-
-
-
-

Buttons

- -

Text Buttons

- -

Classic

- tb - tb info - tb ok - tb warn - tb err - tb fatal - -

Sizes

-
- Text - small - normal - Big - HUGE -
-
-
- Text tb sm - tb sm - tb sm - tb sm -
-
- tb - tb - tb - tb -
-
- tb big - tb big - tb big -
- -
- -

Classic

- btn - btn info - btn ok - btn warn - btn err - btn fatal - -
<a class="btn btn-b">btn-b</a>
- -

Sizes

- btn sm - btn info - btn big warn - btn huge err - -
<a class="btn sm info">btn sm info</a>
- -
-
-

Standardized Width btn std

- -
- -
-

Huge

- -
-
- -

Messages

-
-
-

Basic Messages

-
-
- Normal Message - This is a normal message with msg. -
-
- Info - This is done by adding info to the class. -
-
- OK - This is done by adding ok to the class. -
-
- Warning - This is done by adding warn to the class. -
-
- Error - This is done by adding err to the class. -
-
- Fatal - This is done by adding fatal to the class. -
-
-
-

Strong Alerts

-
-
- Alert Message - This is a normal message with msg. -
-
- Alert Info - This is done by adding info to the class. -
-
- Alert OK - This is done by adding ok to the class. -
-
- Alert Warning - This is done by adding warn to the class. -
-
- Alert Error - This is done by adding err to the class. -
-
- Alert Fatal - This is done by adding fatal to the class. -
-
-
-
<div class="msg">
-  <strong>Alert headline!</strong>
-  Message text
-</div>
- -
-

Forms

- -
- -
- $ -
-
<input type="text">
-					
<textarea rows="3"> -
<span class="addon">$</span><input type="text">
-
Be careful with addons! If you do not want a space between the addon and the input make sure that there is no space between the </span> and <input> tags. Example:
... </span> <input ...
$
... </span><input ...
$
-
- -

headings

By default there is some space before and after any heading:

h1

h2

h3

h4

h5
h6

tight headings

You can remove the space by using the class tight to the heading:

h1 tight

h2 tight

h3 tight

h4 tight

h5 tight
h6 tight
code
+  <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>
+

itemization

ul

  • item 1
  • item 2
  • 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 list-style-position: outside.
  • item 4

ol

  1. item 1
  2. item 2
  3. item 3
  4. item 4
code
+  <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'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>
+

Grid

c12
c11
c1
c10
c2
c9
c3
c8
c4
c7
c5
c6
c6
c5
c7
c4
c8
c3
c9
c2
c10
c1
c11
c12
code
+  <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>
+

Images

Images

Inside a grid

Inside a card

Directly a card

In a block

code
+  <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"></img></div>
+      <div>
+      <p>Directly a card</p><img src="../h/img/brutalism.webp"></img></div>
+      <div class="block">
+      <p>In a block</p><img src="../h/img/brutalism.webp"></img></div>
+    </div>
+  </div>
+

icons

Android Safe

☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜ ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € № +
The &quot;Android Safe&quot; icons work everywhere, tested on hundreds of devices. +
code
+  <div class="col start">
+    <h4>Android Safe</h4><i class="ico block" style="line-height: 1.5rem">☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜
+    ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №</i>
+    <div class="msg push">
+      The &amp;quot;Android Safe&amp;quot; icons work everywhere,
+      tested on hundreds of devices.
+    </div>
+  </div>
+

Total Set

✉ ✰ ☁ ✈ ☑ ☒ ✆ ☀ ☮ ☢ ☠ ☣ ⌂ ℗ ☺ ☻ ☼ ∡ ∿ ⊝ ⊘ ⁂ ☤ ♫ ☄ ✎ ☟ ☝ ☹ ☭ ☚ ☛ ✌ 〠 ☃ ♮ ☂ ☸ ✍ ☯ ✂ ₩ ◍ ۩ +
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.) +
code
+  <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
+      &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>
+

Forms



$
Be careful with addons! If you do not want a space between the addon and the input make sure that there is no space between the <span> and <input> tags. Example:
... </span> <input ...
$
... </span><input ...
$
code
+  <div>
+    <input class="neutral" placeholder="input" type="text"></input><br></br>
+    <textarea class="neutral" placeholder="textarea" rows="3"></textarea><br></br>
+    <span class="addon bg-info">$</span><input type="text"></input>
+    <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"></input>
+      <pre>... &lt;/span&gt;&lt;input ...</pre><span class="addon">$</span><input class="smooth" type="text"></input>
+    </div>
+  </div>
+

Tables

#Widgets SoldRevenue (£)Profit (£)
15102
210204
35001000200
code
+  <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>
+

Buttons

code
+  <div id="buttons">
+    <h1>Buttons</h1>
+    <h2>Text Buttons</h2>
+    <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>
+    <h3>Sizes</h3>
+    <div class="block">
+      Text<a class="tb sm">small</a><a class="tb">normal</a><a class="tb big">Big</a><a class="tb huge">HUGE</a>
+    </div>
+    <div class="row">
+      <div class="col c2 gapless">
+        <span>Text <a class="tb sm">tb sm</a></span> <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>
+    <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>
+

Messages

Basic Messages


Normal Message This is a normal message with msg.
Info This is done by adding info to the class. +
OK This is done by adding ok to the class. +
Warning This is done by adding warn to the class. +
Error This is done by adding err to the class. +
Fatal This is done by adding fatal to the class. +

Strong Alerts


Alert MessageThis is a normal message with msg. +
Alert InfoThis is done by adding info to the class. +
Alert OKThis is done by adding ok to the class. +
Alert WarningThis is done by adding warn to the class. +
Alert ErrorThis is done by adding err to the class. +
Alert FatalThis is done by adding fatal to the class. +
code
+  <div class="row">
+    <div class="col c6 gapless">
+      <h2>Basic Messages</h2><br></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></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>
+

Navbar

code
+  <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>
+
\ No newline at end of file diff --git a/h/g-docs.html b/h/g-docs.html deleted file mode 100644 index 23d0867..0000000 --- a/h/g-docs.html +++ /dev/null @@ -1,155 +0,0 @@ -BRUT - documentation

Textual content

title in h1

Some text in <p> with different styles; bold, strong, italic, emphasis, code, and if you really want something to be extremly visible use the class hl.

The text should be very dense on purpose. Forget your lessons about nice space in design here. The goal of this design is to produce professional UI applications. So no time to make it breathes. We want to make it compact and efficient.

Note we still try to keep a coherent and nice vertical rythm.

Here is some blockquote. This can give you an idea about the look and feel for them.

code
-  <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>
-

Remark if you need to present a long text to read you can still use the class doc. Take a look at the next paragraph for example:

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.

The doc class ensure the width of the text is not too wide and use a very legible font.

Some blockquote
code
-  <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>
-      <p>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>
-    </div>
-    <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>
-  </div>
-

itemization

ul

  • item 1
  • item 2
  • 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 list-style-position: outside.
  • item 4

ol

  1. item 1
  2. item 2
  3. item 3
  4. item 4
code
-  <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'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>
-

Images

Images

Inside a grid

Inside a card

Directly a card

In a block

code
-  <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"></img></div>
-      <div>
-      <p>Directly a card</p><img src="../h/img/brutalism.webp"></img></div>
-      <div class="block">
-      <p>In a block</p><img src="../h/img/brutalism.webp"></img></div>
-    </div>
-  </div>
-

Buttons

code
-  <div id="buttons">
-    <h1>Buttons</h1>
-    <h2>Text Buttons</h2>
-    <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>
-    <h3>Sizes</h3>
-    <div class="block">
-      Text<a class="tb sm">small</a><a class="tb">normal</a><a class="tb big">Big</a><a class="tb huge">HUGE</a>
-    </div>
-    <div class="row">
-      <div class="col c2 gapless">
-        <span>Text <a class="tb sm">tb sm</a></span> <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>
-    <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>
-
\ No newline at end of file