Typography
Typography
Here are ways and practices to wrap the typography of an interface into a unified appearance.
Headers
Here is Header 1 <h1></h1>.
Here is Header 2 <h2></h2>
Here is Header 3 <h3></h3>
Here is Header 4 <h4></h4>
Here is Header 5 <h5></h5>
Here is Header 6 <h6></h6>
Paragraph
Here is paragraph between <p></p>.
You can add class .__wo-notice or element <blockquote> to convert paragraph to notice or blockquote.
Notice example
Blockquote example
<p class="__wo-notice">Notice example</p>
<blockquote>Blockquote example</blockquote>
Also you can change color of notice by adding color modificatiors. Example:
Danger notice example
Warning notice example
Info notice example
Success notice example
Primary notice example
<p class="__wo-notice --danger">Danger notice example</p>
<p class="__wo-notice --warning">Warning notice example</p>
<p class="__wo-notice --info">Info notice example</p>
<p class="__wo-notice --success">Success notice example</p>
<p class="__wo-notice --primary">Primary notice example</p>
Inline elements
I'm using semantic tags to markup, here is examples:
This is strong element to make it bold, using <strong>...</strong>
This is em element to make it italic, using <em>...</em>
This is del element to meant is text deleted, using <del>...</del>
This is s element to meant is no longer accurate, using <s>...</s>
This is u element to make text underlined, using <u>...</u>
This is ins element to meant is an addition to the above text, using <ins>...</ins>
This is small element to meant text is fine print, using <small>...</small>
This is mark element to highlight something, using <mark>...</mark>
Holders
I'm using holder-elements for markup, this is breakers after floating divs and white spaces there they needed. I call them .__wo-holder-* where * is a number of margin (in rem dividen into ten). For example:
<div class="__wo-holder-0"></div>
Is a breaker with no margin
<div class="__wo-holder-1"></div>
Is a holder with .1rem height.
<div class="__wo-holder-5"></div>
Is a holder with .5rem height.
<div class="__wo-holder-10"></div>
Is a holder with 1rem height.
<div class="__wo-holder-20"></div>
Is a holder with 2rem height.
You can use them in a row.
Alignment
Simple text utilities for alignment, it can be <p> or <div>.
This text aligned to left.
This text aligned to right.
<p class="--wo-text-left">This text aligned to left.</p>
<p class="--wo-text-right">This text aligned to right.</p>
<div class="--wo-text-center">This text aligned to center.</div>