Headers
h1. Header 1
h2. Header 2
h3. Header 3
h4. Header 4
h5. Header 5
h6. Header 6
h1. Header 1
h2. Header 2
h3. Header 3
h4. Header 4
h5. Header 5
h6. Header 6
Conubia donec, velit dictumst interdum. Per quisque adipiscing, habitasse litora sed id. Varius porttitor aliquet, placerat erat, quam vulputate viverra eros nec gravida. Magna interdum nostra euismod, arcu enim consectetur primis duis. Habitant eu mi porta, curabitur sit sollicitudin, convallis dui metus leo nibh erat aenean sed. Egestas massa nulla turpis, imperdiet vivamus curabitur, dictum lacinia vulputate dictumst nullam luctus placerat molestie.
This is a normal link
This is a link styled as button link
Use class button to style it:
<a href="#" class="button">link</a>
| Column 1 | Column 2 | Column 3 | Column 4 |
|---|---|---|---|
| Row 1 Data 1 | Row 1 Data 2 | Row 1 Data 3 | Row 1 Data 4 |
| Row 2 Data 1 | Row 2 Data 2 | Row 2 Data 3 | Row 2 Data 4 |
| Row 3 Data 1 | Row 3 Data 2 | Row 3 Data 3 | Row 3 Data 4 |
| Footer 1 | Footer 2 | Footer 3 | Footer 4 |
Using class .desc-columns you can placer both <dt>...</dt> into a single line with te following <dd>...</dd>:
<dl class="desc-columns">
<dt>Apple</dt>
<dd>A red fruit rich in vitamins</dd>
<dt>Orange</dt>
<dd>Both a fruit and a color. As a fruit it is sually squeezed for its juice.</dd>
<dt>Banana</dt>
<dd>Yellow long fruit rich in potasium. It is sweet and most popular.</dd>
</dl>
Theme comes comes in color combinations consisting of 2 colors. Background color and text color.
For each color there are classes started with color-* indicating which color is selected:
| Color | CSS Class | Background Color | Frontend Color | Change |
|---|---|---|---|---|
| Default | <none> | rgb(0,0,0) | rgb(220,217,217) | |
| Green | .color-green |
rgb(0,0,0) | hsl(120 56.1% 50.5%) | |
| Amber | .color-amber |
rgb(0,0,0) | hsl(40 70% 49.5%) | |
| Blue (DOS-Line, windows BSOD-like) | .color-dos |
hsl(240 100% 33%) | rgb(0,0,0) | |
| Paper | .color-paper |
hsl(40 70% 49.5%) | rgb(219,218,218) |
Use this to notify user about an important information
<div class="alert alert-info">
<i class="icon"></i>
Dear sir I am informing you about something....
</div>
Notify user about something serious.
<div class="alert alert-notice">
<i class="icon"></i>
You must pay attention on what you are doing....
</div>
Notify user about a prohibiting action.
<div class="alert alert-stop">
<i class="icon"></i>
Stop doing do this....
</div>
Ensure user pays attention.
<div class="alert alert-warning">
Oh snap this is serious!!
</div>
<div class="alert alert-danger">
Oh snap this is serious!!
</div>
<div class="alert alert-danger2">
Oh snap this is serious!!
</div>
If you want to place a piece of code into your documentation use:
<div class="code-wrapper">
<div>
<h5>HTML</h5>
<button class="copy">COPY</button>
</div>
<pre>
<code>
Piece of code here
</code>
</pre>
</div>
The component also need to initialize the copy buttons, both js and esm supported:
<script type=\"module\">
import { autoinit } from "/js/asciiart.esm.js";
document.addEventListener("DOMContentLoaded",function(){
autoinit.codewrapper()
})
</script>
<script type="application/javascript" src="/js/asciiart.min.js></script>
<script>
document.addEventListener("DOMContentLoaded",function(){
AsciiartTheme.autoinit.codewrapper()
})
</script>
Otherwise you can use the CodeWrapper class, ideal for a single element, both js and esm supported:
<script type=\"module\">
import { CodeWrapper } from "/js/asciiart.esm.js";
document.addEventListener("DOMContentLoaded",function(){
new CodeWrapper("#mycontainer")
})
</script>
<script type="application/javascript" src="/js/asciiart.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded",function(){
new AsciiartTheme.CodeWrapper("#mycontainer")
})
</script>
In case thay you need to show variations (eg. on how could a package be installed) codewrapper supports tabs as well:
<div class="code-wrapper">
<div>
<h5>Installation Instructions</h5>
<div class="tab-button-container">
<button class="btn-tab" role="tab" aria-selected="true" aria-controls="#windows">Windows</button>
<button class="btn-tab" role="tab" aria-controls="#linux">Linux</button>
</div>
<button class="copy">COPY</button>
</div>
<pre id="windows">
<code>
windows installation
</code>
</pre>
<pre id="linux">
<code>
linux installation
</code>
</pre>
</div>
Tabs can lead the title as well:
<div class="code-wrapper">
<div>
<div class="tab-button-container">
<button class="btn-tab" role="tab" aria-selected="true" aria-controls="#windows">Windows</button>
<button class="btn-tab" role="tab" aria-controls="#linux">Linux</button>
</div>
<h5>Installation Instructions</h5>
<button class="copy">COPY</button>
</div>
<pre id="windows">
<code>
windows installation
</code>
</pre>
<pre id="linux">
<code>
linux installation
</code>
</pre>
</div>
You can use the class button upon a link in case you want to add extra links eg. html preview links:
<div class="code-wrapper">
<div>
<h5>Demo</h5>
<a href="#">Preview<a>
<button class="copy">COPY</button>
</div>
<pre>
<code>
soime code here....
</code>
</pre>
</div>
In case you want to simply display a list in a form of tree use tree class instead. Javascript ignores this class:
<ul class="tree">
<li>Item</li>
<li>Item</li>
<li data-visible="true">
<span>Item with nested Items</span>
<ul>
<li><span>Nested Item 1</span></li>
<li><span>Nested Item with nested Items</span>
<ul>
<li>Nested Item 1</li>
<li>Nested Item 2</li>
</ul>
</li>
<li>Nested Item 3</li>
</ul>
</li>
</ul>