Typography
You can create some beautiful content by using some simple HTML elements. The Warp theme framework offers some neat styles for all HTML elements and a great set of CSS classes to style your content. Basic HTML is very easy to learn and this small guide shows you how to use all styles provided by the Warp framework.
Basic HTML Elements From Warp
Here is a short demonstration of text-level semanticts. The <p> element creates a new paragraph. It will have some space before and after itself. To turn your text into hypertext just use the <a> element.
H1 Normal Heading
H2 Normal Heading
H3 Normal Heading
H4 Normal Heading
H5 Normal Heading
H6 Normal Heading
<h1>Sample Text</h1>
H1 Color Heading
H2 Color Heading
H3 Color Heading
H4 Color Heading
H5 Color Heading
H6 Color Heading
<h1><span class="color">Sample
Text</span></h1>
H1 2-Color Heading
H2 2-Color Heading
H3 2-Color Heading
H4 2-Color Heading
H5 2-Color Heading
H6 2-Color Heading
<h1><span
class="color">Sample</span>Text</h1>
H1 with Border Line
H2 with Border Line
H3 with Border Line
H4 with Border Line
H5 with Border Line
H6 with Border Line
<h1 class="module-title">Sample Text</h1>
Text-Level Semantics From Warp
You can emphasize text using the <em> element or to
imply any extra importance the <strong> element.
Highlight text with no semantic meaning using the
<mark> element
. Markup document changes like inserted or deleted text with the
<del> element
or
<ins> element
. To define an abbreviation use the <abbr> element and to
define a definition term use the
<dfn> element
.
Unordered List
- Lorem ipsum dolor
unordered-1
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-2
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-3
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-4
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-5
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-6
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-7
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-8
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-9
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-10
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-11
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-12
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-13
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-14
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-15
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-16
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-17
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-18
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-19
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-20
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-21
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-22
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-23
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-24
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-25
- Sed ut perspiciatis unde
- At vero eos et accusamus
- Lorem ipsum dolor
unordered-26
- Sed ut perspiciatis unde
- At vero eos et accusamus
Short List with Links From Warp
- YOOtheme - Premium Joomla Templates and WordPress Themes
- Warp Framework - Fast and Slick Theme Framework
- ZOO - Content Application Builder
- Stock Icons - For Web and Print Projects
Quotations and Code From Warp
Inline quotations can be defined by using the <q> element
.
The <blockquote> element defines a long quotation which also creates a new block by inserting white space before and after the blockquote element.
To define a short inline computer code use the
<code> element
. For a larger code snippet use the <pre> element which
defines preformatted text. It creates a new text block which
preserves both spaces and line breaks.
pre { margin: 15px 0; padding: 10px; font-family: "Courier New", Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre-wrap; }Use the <small> element for side comments and small print.
Useful CSS Classes From Warp
Here is a short demonstration of all style related CSS classes provided by the Warp framework.
Highlight Content From Warp
Drop caps are the first letter of a paragraph which are displayed
bigger than the rest of the text. You can create a drop cap using
the CSS class
dropcap
. To emphasize text with some small boxes use <em>
element with the CSS class
box
.
box-content
.
box-note
.
box-info
.
box-warning
.
box-hint
.
box-download
.
Use the CSS class
dotted
to create a dotted horizontal rule.
Tables From Warp
Create a zebra stripped table using using the CSS class
zebra
.
Table Heading | Table Heading | Table Heading |
---|---|---|
Table Footer | Table Footer | Table Footer |
Table Data | Table Data | Data Centered |
Data Bold | Table Data | Data Centered |
Table Data | Table Data | Data Centered |
Definition Lists From Warp
Create a nice looking definition list separated with a line by
using the CSS class
separator
.
- Definition List
- A definition list is a list of terms and corresponding definitions. To create a definition list use the <dl> element in conjunction with <dt> to define the definition term and <dd> to define the definition description.
- Definition Term
- This is a definition description.
- Definition Term
- This is a definition description.
- This is another definition description.
Normal Button
<a class="button-more">Sample Text</a>
Color Button
<a class="button-color">Sample Text</a>
Highlight Button
Hightlight Highlighted Expandable Link
<a class="button-highlight">Sample Text</a>
Styled Blocks
Declare different events with styled blocks using the following css codes
Date Block
Cras tempor leo sit amet tellus imperdiet a lobortis mauris vehicula.Sed ut erat neque. Mauris rutrum pretium gravida.
<div class="grid-box width100">
<div>
<div class="circle-block" >
<span class="day" >10</span>
<span class="month" >Nov</span>
</div>
<div class="bfc-o">
<h4 class="remove-margin">Date Block</h4>
<p class="margin-top-5">Cras tempor leo sit amet tellus imperdiet a lobortis mauris vehicula.Sed ut erat neque. Mauris rutrum pretium gravida. </p>
</div>
</div>
</div>
Number Block
Cras tempor leo sit amet tellus imperdiet a lobortis mauris vehicula.Sed ut erat neque. Mauris rutrum pretium gravida.
<div class="grid-box width100">
<div>
<div class="circle-block" >
<span class="number" >21</span>
</div>
<div class="bfc-o">
<h4 class="remove-margin">Number Block</h4>
<p class="margin-top-5">Cras tempor leo sit amet tellus imperdiet a lobortis mauris vehicula.Sed ut erat neque. Mauris rutrum pretium gravida. </p>
</div>
</div>
</div>
Other Block
Cras tempor leo sit amet tellus imperdiet a lobortis mauris vehicula.Sed ut erat neque. Mauris rutrum pretium gravida.
<div class="grid-box width100">
<div>
<div class="circle-block" >
<span class="other" >Other</span>
</div>
<div class="bfc-o">
<h4 class="remove-margin">Other Block</h4>
<p class="margin-top-5">Cras tempor leo sit amet tellus imperdiet a lobortis mauris vehicula.Sed ut erat neque. Mauris rutrum pretium gravida. </p>
</div>
</div>
</div>
Forms From Warp
Create a clearly arranged form layout with fieldset boxes using
the CSS class
box
.