improved significantly site gen

This commit is contained in:
Yann Esposito (Yogsototh) 2022-10-10 14:43:47 +02:00
parent 44c4d11c58
commit ee0d1756d4
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
3 changed files with 617 additions and 759 deletions

View file

@ -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 "<span>"] " and "
[:code "<input>"]" tags. Example: "
[:pre "... </span>" [:span.hl " "] "<input ..."]
[:span {:class "addon"} "$"] " "
[:input {:type "text", :class "smooth"}]
[:pre "... &lt;/span&gt;&lt;input ..."]
[:pre "... </span><input ..."]
[:span {:class "addon"} "$"]
[:input {:type "text", :class "smooth"}]]]
[:div {:class "navbar"}
[:h1 "Navbars"]
[:nav {:class "nav", :tabindex "-1", :onclick "this.focus()"}
[:div {:class "container"}
[:a {:class "pagename current", :href "#"} "BRUT"]
[:a {:href "#"} "One"]
[:a {:href "#"} "Two"]
[:a {:href "#"} "Three"]
[:a {:href "#"} "Four"]]]
[:button {:class "btn-close btn sm"} "×"]
[:br]
[:pre "&lt;nav class=&quot;nav&quot; tabindex=&quot;-1&quot; onclick=&quot;this.focus()&quot;&gt;\n &lt;div class=&quot;container&quot;&gt;\n &lt;a class=&quot;pagename current&quot; href=&quot;#&quot;&gt;BRUT&lt;/a&gt;\n &lt;a href=&quot;#&quot;&gt;One&lt;/a&gt;\n &lt;a href=&quot;#&quot;&gt;Two&lt;/a&gt;\n &lt;a href=&quot;#&quot;&gt;Three&lt;/a&gt;\n &lt;/div&gt;\n&lt;/nav&gt;\n&lt;button class=&quot;btn-close btn sm&quot;&gt;×&lt;/button&gt;"]]
[:div
[:h1 "Tables"]
[:table {:class "table"}
[:thead
[:tr
[:th "#"]
[:th "Widgets Sold"]
[:th "Revenue (£)"]
[:th "Profit (£)"]]]
[:tbody
[:tr
[:td "1"]
[:td "5"]
[:td "10"]
[:td "2"]]
[:tr
[:td "2"]
[:td "10"]
[:td "20"]
[:td "4"]]
[:tr
[:td "3"]
[:td "500"]
[:td "1000"]
[:td "200"]]]]
[:br]
[:br]
[:pre "&lt;table class=&quot;table&quot;&gt;\n &lt;thead&gt;\n &lt;tr&gt;\n &lt;th&gt;#&lt;/th&gt;\n &lt;th&gt;Widgets Sold&lt;/th&gt;\n &lt;/tr&gt;\n &lt;/thead&gt;\n &lt;tbody&gt;\n &lt;tr&gt;\n &lt;td&gt;1&lt;/td&gt;\n &lt;td&gt;5&lt;/td&gt;\n &lt;/tr&gt;\n &lt;tr&gt;\n &lt;td&gt;2&lt;/td&gt;\n &lt;td&gt;10&lt;/td&gt;\n &lt;/tr&gt;\n &lt;tr&gt;\n &lt;td&gt;3&lt;/td&gt;\n &lt;td&gt;500&lt;/td&gt;\n &lt;/tr&gt;\n &lt;/tbody&gt;\n&lt;/table&gt;\n"]]
[:h1 "Icons"]
[:div {:class "icons"}
[:div {:class "row"}
[:div {:class "c6"}
[:div {:class "col card"}
[:div {:class "block"}
[:b "Android Safe"]]
[:i {:class "ico block", :style "line-height: 1.5rem"} "☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜ ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №\n"]
[:div {:class "msg push"} "The &quot;Android Safe&quot; icons work everywhere, tested on hundreds of devices.\n"]]]
[:div {:class "c6"}
[:div {:class "col card"}
[:div {:class "block"}
[:b "Total Set"]]
[:i {:class "ico block", :style "line-height: 1.5rem"} "✉ ✰ ☁ ✈ ☑ ☒ ✆ ☀ ☮ ☢ ☠ ☣ ⌂ ℗ ☺ ☻ ☼ ∡ ∿ ⊝ ⊘ ⁂ ☤ ♫ ☄ ✎ ☟ ☝ ☹ ☭ ☚ ☛ ✌ 〠 ☃ ♮ ☂ ☸ ✍ ☯ ✂ ₩ ◍ ۩\n"]
[:div {:class "msg warn push"} "Although over 75% of Android devices we tested\nsupport all &quot;Total Set&quot; icons, if a substantial\nportion of your users use old Android devices\nyou should stick to the &quot;Android Safe&quot; set.\n(The &quot;Total Set&quot; does not include icons from the &quot;Android Safe&quot; set.)\n"]]]]
[: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 "bg-neutral c12"} "c12"]]
[:div {:class "row"}
[:div {:class "bg-neutral c11"} "c11"]
[:div {:class "light c1"} "c1"]]
[:div {:class "row"}
[:div {:class "bg-neutral c10"} "c10"]
[:div {:class "light c2"} "c2"]]
[:div {:class "row"}
[:div {:class "bg-neutral c9"} "c9"]
[:div {:class "light c3"} "c3"]]
[:div {:class "row"}
[:div {:class "bg-neutral c8"} "c8"]
[:div {:class "light c4"} "c4"]]
[:div {:class "row"}
[:div {:class "bg-neutral c7"} "c7"]
[:div {:class "light c5"} "c5"]]
[:div {:class "row"}
[:div {:class "bg-neutral c6"} "c6"]
[:div {:class "light c6"} "c6"]]
[:div {:class "row"}
[:div {:class "bg-neutral c5"} "c5"]
[:div {:class "light c7"} "c7"]]
[:div {:class "row"}
[:div {:class "bg-neutral c4"} "c4"]
[:div {:class "light c8"} "c8"]]
[:div {:class "row"}
[:div {:class "bg-neutral c3"} "c3"]
[:div {:class "light c9"} "c9"]]
[:div {:class "row"}
[:div {:class "bg-neutral c2"} "c2"]
[:div {:class "light c10"} "c10"]]
[:div {:class "row"}
[:div {:class "bg-neutral c1"} "c1"]
[:div {:class "light c11"} "c11"]]
[:div {:class "row"}
[:div {:class "light c12"} "c12"]]
[:br]
[:pre "&lt;div class=&quot;row&quot;&gt;"
[:br]" &lt;div class=&quot;c12&quot;&gt;12&lt;/div&gt;"
[:br]"&lt;/div&gt;\n"
[:br]"&lt;div class=&quot;row&quot;&gt;"
[:br]" &lt;div class=&quot;c4&quot;&gt;4&lt;/div&gt;"
[:br]" &lt;div class=&quot;c8&quot;&gt;8&lt;/div&gt;"
[:br]"&lt;/div&gt;\n"]]
[:h1 "Headings"]
[:div {:class "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"]
[:br]
[: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"]
[:br]
[:pre "&lt;h1&gt;Level One Heading&lt;/h1&gt;"]]]]
forms-section {:title "Forms"
:cards [forms]}
navbar [:div {:class "navbar"}
[:nav {:class "nav", :tabindex "-1", :onclick "this.focus()"}
[:div {:class "container"}
[:a {:class "pagename current", :href "#"} "BRUT"]
[:a {:href "#"} "One"]
[:a {:href "#"} "Two"]
[:a {:href "#"} "Three"]
[:a {:href "#"} "Four"]]]
[:button {:class "btn-close btn sm"} "×"]]
navbar-section {:title "Navbar"
:cards [navbar]
}
table [:table {:class "table"}
[:thead
[:tr
[:th "#"]
[:th "Widgets Sold"]
[:th "Revenue (£)"]
[:th "Profit (£)"]]]
[:tbody
[:tr
[:td "1"]
[:td "5"]
[:td "10"]
[:td "2"]]
[:tr
[:td "2"]
[:td "10"]
[:td "20"]
[:td "4"]]
[:tr
[:td "3"]
[:td "500"]
[:td "1000"]
[:td "200"]]]]
tables-section {:title "Tables"
:cards [table]}
basic-icons [:div.col.start
[:h4 "Android Safe"]
[:i {:class "ico block", :style "line-height: 1.5rem"} "☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜ ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №\n"]
[:div {:class "msg push"} "The &quot;Android Safe&quot; icons work everywhere, tested on hundreds of devices.\n"]]
full-icons [:div.col.start
[:h4 "Total Set"]
[:i {:class "ico block", :style "line-height: 1.5rem"}
"✉ ✰ ☁ ✈ ☑ ☒ ✆ ☀ ☮ ☢ ☠ ☣ ⌂ ℗ ☺ ☻ ☼ ∡ ∿ ⊝ ⊘ ⁂ ☤ ♫ ☄ ✎ ☟ ☝ ☹ ☭ ☚ ☛ ✌ 〠 ☃ ♮ ☂ ☸ ✍ ☯ ✂ ₩ ◍ ۩\n"]
[:div {:class "msg warn push"}
"Although over 75% of Android devices we tested\nsupport all &quot;Total Set&quot; icons, if a substantial\nportion of your users use old Android devices\nyou should stick to the &quot;Android Safe&quot; set.\n(The &quot;Total Set&quot; does not include icons from the &quot;Android Safe&quot; set.)\n"]]
icons-section {:title "icons"
:cards [basic-icons full-icons]}
grid [:div
[:div {:class "row"}
[:div {:class "bg-neutral c12"} "c12"]]
[:div {:class "row"}
[:div {:class "bg-neutral c11"} "c11"]
[:div {:class "light c1"} "c1"]]
[:div {:class "row"}
[:div {:class "bg-neutral c10"} "c10"]
[:div {:class "light c2"} "c2"]]
[:div {:class "row"}
[:div {:class "bg-neutral c9"} "c9"]
[:div {:class "light c3"} "c3"]]
[:div {:class "row"}
[:div {:class "bg-neutral c8"} "c8"]
[:div {:class "light c4"} "c4"]]
[:div {:class "row"}
[:div {:class "bg-neutral c7"} "c7"]
[:div {:class "light c5"} "c5"]]
[:div {:class "row"}
[:div {:class "bg-neutral c6"} "c6"]
[:div {:class "light c6"} "c6"]]
[:div {:class "row"}
[:div {:class "bg-neutral c5"} "c5"]
[:div {:class "light c7"} "c7"]]
[:div {:class "row"}
[:div {:class "bg-neutral c4"} "c4"]
[:div {:class "light c8"} "c8"]]
[:div {:class "row"}
[:div {:class "bg-neutral c3"} "c3"]
[:div {:class "light c9"} "c9"]]
[:div {:class "row"}
[:div {:class "bg-neutral c2"} "c2"]
[:div {:class "light c10"} "c10"]]
[:div {:class "row"}
[:div {:class "bg-neutral c1"} "c1"]
[:div {:class "light c11"} "c11"]]
[:div {:class "row"}
[:div {:class "light c12"} "c12"]]]
grid-section {:title "Grid"
:cards [grid]}]
[:div.container
(for [{:keys [title cards]} [textual-section images-section buttons-section]]
[:div
(for [{:keys [title cards]} [textual-section
grid-section
images-section
icons-section
forms-section
tables-section
buttons-section
messages-section
navbar-section]]
[:div.col
[:h2 title]
[:div.col
(for [c cards]
[:div.card
c
(for [[c1 c2] (partition 2 2 nil cards)]
[:div.row
[:div.card.c6
c1
[:details
[:summary "code"]
(to-pre c)]]
)]])]))
(to-pre c1)]]
(when c2
[:div.card.c6
c2
[:details
[:summary "code"]
(to-pre c2)]])])])]))
(defn -main [& _args]
(gen-page "index.html"
@ -494,7 +476,7 @@
:footer? false
:gapless? true}
mk-download)
(gen-page "h/g-docs.html"
(gen-page "h/docs.html"
{:title "BRUT - documentation"}
mk-docs)
)

View file

@ -1,384 +1,415 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<title>BRUT - docs</title>
<link href="../brut.min.css" rel="stylesheet" type="text/css" />
<style>
.light { background: var(--bg2); }
.dark { background: var(--nl); }
</style>
</head>
<body>
<nav class="nav" tabindex="-1" onclick="this.focus()">
<div class="container">
<a class="pagename" href="../index.html">BRUT</a>
<a class="current" href="#">Docs</a>
<a href="download.html">Download</a>
<a href="https://gitea.esy.fun/yogsototh/brutcss">Code</a>
</div>
</nav>
<button class="btn sm btn-close">×</button>
<div class="container">
<div>
<h1>Images</h1>
<h2>Inside Grid</h2>
<div class="row">
<div class="c4">
<div class="block">
Inside a block.
<img src="img/brutalism.webp" alt="brutalism"/>
</div>
</div>
<div class="c4">
Direct in column:
<img src="img/brutalism.webp" alt="brutalism"/>
</div>
<div class="c4">
<div class="card">
Inside a card.
<img src="img/brutalism.webp" alt="brutalism"/>
</div>
</div>
</div>
</div>
<div>
<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">&lt;a class="btn btn-b"&gt;btn-b&lt;/a&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">&lt;a class="btn sm info"&gt;btn sm info&lt;/a&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>
<h1>Messages</h1>
<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>
<pre>&lt;div class="msg"&gt;
&lt;strong&gt;Alert headline!&lt;/strong&gt;
Message text
&lt;/div&gt;</pre>
<div>
<h1>Forms</h1>
<input class="neutral" type="text" placeholder="input type=&quot;text&quot;">
<br/>
<textarea class="neutral" rows="3" placeholder="textarea"></textarea>
<br/>
<span class="addon bg-info">$</span><input type="text" placeholder="span class=&quot;addon&quot;">
<br/>
<pre>&lt;input type="text"&gt;
<br>&lt;textarea rows="3"&gt;
<br>&lt;span class="addon"&gt;$&lt;/span&gt;&lt;input type="text"&gt;</pre>
<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; &lt;input ...</pre><span class="addon">$</span> <input type="text" class="smooth"> <pre>... &lt;/span&gt;&lt;input ...</pre><span class="addon">$</span><input type="text" class="smooth"></div>
</div>
<div class="navbar">
<h1>Navbars</h1>
<nav class="nav" tabindex="-1" onclick="this.focus()">
<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>
<br>
<pre>&lt;nav class="nav" tabindex="-1" onclick="this.focus()"&gt;
&lt;div class="container"&gt;
&lt;a class="pagename current" href="#"&gt;BRUT&lt;/a&gt;
&lt;a href="#"&gt;One&lt;/a&gt;
&lt;a href="#"&gt;Two&lt;/a&gt;
&lt;a href="#"&gt;Three&lt;/a&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.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;/nav&gt;
&lt;button class="btn-close btn sm"&gt;×&lt;/button&gt;</pre>
</div>
<div>
<h1>Tables</h1>
<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>
<br><br>
<pre>&lt;table class="table"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Widgets Sold&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;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;500&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</pre>
</div>
<h1>Icons</h1>
<div class="icons">
<div class="row">
<div class="c6">
<div class="col card">
<div class="block"><b>Android Safe</b></div>
<i class="ico block" style="line-height: 1.5rem">
☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜ ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №
</i>
<div class="msg push">
The "Android Safe" icons work everywhere, tested on hundreds of devices.
</div>
</div>
</div>
<div class="c6">
<div class="col card">
<div class="block"><b>Total Set</b></div>
<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 "Total Set" icons, if a substantial
portion of your users use old Android devices
you should stick to the "Android Safe" set.
(The "Total Set" does not include icons from the "Android Safe" set.)
</div>
</div>
</div>
</div>
<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="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>&lt;div class="row"&gt;<br> &lt;div class="c12"&gt;12&lt;/div&gt;<br>&lt;/div&gt;
<br>&lt;div class="row"&gt;<br> &lt;div class="c4"&gt;4&lt;/div&gt;<br> &lt;div class="c8"&gt;8&lt;/div&gt;<br>&lt;/div&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>&lt;h1&gt;Level One Heading&lt;/h1&gt;</pre>
</div>
</div>
</body>
</html>
&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 &amp;quot;Android Safe&amp;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 &amp;amp;quot;Android Safe&amp;amp;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 &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><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
&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;
</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="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><details><summary>code</summary><pre>
&lt;div id=&quot;buttons&quot;&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;/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>

View file

@ -1,155 +0,0 @@
<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><h2>Textual content</h2><div class="col"><div class="card"><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"><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><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;p&gt;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;/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;blockquote&gt;
Some blockquote
&lt;/blockquote&gt;
&lt;/div&gt;
</pre></details></div><div class="card"><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><h2>Images</h2><div class="col"><div class="card"><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><h2>Buttons</h2><div class="col"><div class="card"><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><details><summary>code</summary><pre>
&lt;div id=&quot;buttons&quot;&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;/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>