Typography
It is possible with templates which have a typography page to show you how you can use e.g. headline tags in order to structure your content in a better way. Below, we present rebuilt and refreshed typographical aspects of Gavern Framework. In order to use it, you have to use a plug in which is delivered in a package with a template or use HTML code.
Warnings
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis orci non tortor accumsan at accumsan tortor congue.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis orci non tortor accumsan at accumsan tortor congue.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis orci non tortor accumsan at accumsan tortor congue.
Headings
This is heading 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer semper egestas nunc in volutpat. Fusce adipiscing velit ac eros tempor iaculis. Phasellus venenatis mollis augue, non posuere odio placerat in. Etiam volutpat ultrices lectus. Fusce eu felis erat.
This is heading 2
Cras diam justo, sodales quis lobortis sed, lobortis vel mauris. Sed a mollis nunc. Quisque semper condimentum lectus, eget laoreet ipsum auctor et. Quisque sagittis luctus augue, id fringilla enim euismod quis. Nullam blandit, elit at euismod rutrum, tortor nibh posuere mauris, in volutpat diam ante ac dui.
This is heading 3
Vivamus rhoncus arcu sit amet est tristique convallis nec vel eros. Vestibulum euismod luctus velit quis porta. Aliquam varius placerat mauris sed vehicula. Integer porta facilisis sapien, in tempus lorem mattis molestie. Suspendisse potenti.
This is heading 4
Proin urna erat, egestas vel consectetur at, accumsan at purus. Donec est risus, facilisis dignissim placerat nec, euismod lacinia nisi. Nam ac sem sed quam sollicitudin condimentum et eu neque. Nunc enim urna, ultricies ac mollis pretium, imperdiet hendrerit massa.
This is a headline.
This is a subheadline.
Use <p class="gkHeadling">for headline</p>.Use <p class="gkSubHeadline">for subheadline</p>.Proin urna erat, egestas vel consectetur at, accumsan at purus. Donec est risus, facilisis dignissim placerat nec, euismod lacinia nisi. Nam ac sem sed quam sollicitudin condimentum et eu neque.
This is a small headline
This is a large headline
Use <p class="gkHeadling">for headline</p>.Use <p class="gkSubHeadline">for subheadline</p>.Proin urna erat, egestas vel consectetur at, accumsan at purus. Donec est risus, facilisis dignissim placerat nec, euismod lacinia nisi. Nam ac sem sed quam sollicitudin condimentum et eu neque.
Icon set
gklink message
Use <p class="gklink">Txt...</p>.
gkinfo message
Use <p class="gkinfo">Txt...</p>.
gkpin message
Use <p class="gkpin">Txt...</p>.
file1 message
Use <p class="gkfile1">Txt...</p>.
kfile2 message
Use <p class="gkfile2">Txt...</p>.
gksettings message
Use <p class="gksettings">Txt...</p>.
gkmic message
Use <p class="gkmic">Txt...</p>.
gkvideo message
Use <p class="gkvideo">Txt...</p>.
gkvoice message
Use <p class="gkvoice">Txt...</p>.
gklocked message
Use <p class="gklocked">Txt...</p>.
gkunlocked message
Use <p class="gkunlocked">Txt...</p>.
stats message
Use <p class="gkstats">Txt...</p>.
location message
Use <p class="gklocation">Txt...</p>.
map message
Use <p class="gkmap">Txt...!</p>.
tag message
Use <p class="gktag">Txt...!</p>.
gkcomment message
Use <p class="gkcomment">Txt...</p>.
book message
Use <p class="gkbook">Txt...</p>.
gkalarm message
Use <p class="gkalarm">Txt...</p>.
Tooltips
Here are some examples of a ClassicThis is just an example of what you can do using a CSS tooltip, feel free to get creative and produce your own! , CriticalCriticalThis is just an example of what you can do using a CSS tooltip, feel free to get creative and produce your own! , HelpHelpThis is just an example of what you can do using a CSS tooltip, feel free to get creative and produce your own! , InformationInformationThis is just an example of what you can do using a CSS tooltip, feel free to get creative and produce your own! and WarningWarningThis is just an example of what you can do using a CSS tooltip, feel free to get creative and produce your own! CSS powered tooltip.
This is just an example of what you can do so feel free to get creative and produce your own!
Highlights
This is a highlight phrase.
Use <span class="gkHighlight1">Your highlight phrase goes here!</span>.
This is a highlight phrase.
Use <span class="gkHighlight2">Your highlight phrase goes here!</span>.
This is a highlight phrase.
Use <span class="gkHighlight3">Your highlight phrase goes here!</span>.
This is a highlight phrase.
Use <span class="gkHighlight4">Your highlight phrase goes here!</span>.
Code
#wrapper {
position: relative;
float: left;
display: block;
}
Use <pre> or <div class="gkCode1">Here goes your code</div>
position: relative;
float: left;
display: block;
}
Use <div class="gkCode2">Here goes your code</div>
File
#wrapper {position: relative;
float: left;
display: block;
}
Use <div class="gkCode3"><h4>Name of your file</h4>Here goes your code</div>
Unordered lists
<ul class="gkBullet1">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkBullet2">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkBullet3">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkBullet4">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkCircle1">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkCircle2">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkSquare1">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ul class="gkSquare2">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
Ordered lists
<ol class="gkRoman">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ol class="gkDec">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ol class="gkAlpha">
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
- Lorem ipsum dolor sit amet.
<ol class="gkDecimalLeadingZero">
- Lorem ipsum
- Lorem ipsum
- Lorem ipsum
- Lorem ipsum
numBlocks
<p class="numblocks num-1"><span>here goes a number</span>and here text of element</p>
01 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
02 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<p class="numblocks num-2"><span>here goes a number</span>and here text of element</p>
01 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
02 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<p class="numblocks num-3"><span>here goes a number</span>and here text of element</p>
01 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
02 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Blocks
Use <div class="gkblock-1">content here... </div>
Use <div class="gkblock-4">content here... </div>
Use <div class="gkblock-7">content here... </div>
Use <div class="gkblock-2">content here... </div>
Use <div class="gkblock-5">content here... </div>
Use <div class="gkblock-8">content here... </div>
Use <div class="gkblock-3">content here... </div>
Use <div class="gkblock-6">content here... </div>
Use <div class="gkblock-9">content here... </div>
Legends
Legend
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Use <div class="gkLegend1"> <h4> Title </h4> <p>and here text.</p> </div>
Legend
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Use <div class="gkLegend2"> <h4> Title </h4> <p>and here text.</p> </div>
Legend
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Use <div class="gkLegend3"> <h4> Title </h4> <p>and here text.</p> </div>
Legend
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Use <div class="gkLegend4"> <h4> Title </h4> <p>and here text.</p> </div>
Bubbles
Use <div class="bubble-1">content here... <cite>Author name</cite></div>
Robert GavickUse <div class="bubble-3">content here... <cite>Author name</cite></div>
Robert GavickUse <div class="bubble-5">content here... <cite>Author name</cite></div>
Robert GavickAbbrs and acronyms
This is a sample of an abbreviation Dr. Use <abbr title="Here goes full word or phrase">here goes an abbreviation</abbr>
This is a sample of an acronym NATO. Use <acronym title="Here goes full phrase">here goes an acronym</abbr>
Dropcaps
This is a sample text with Dropcap.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula...
Use <p> <span class="gkDropcap1">t</span>his is a sample text with Dropcap. </p>.
This is a sample text with Dropcap. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar...
Use <p class="gkDropcap2"> <span class="gkDropcap2">t</span>his is a sample text with Dropcap. </p>.
This is a sample text with Dropcap. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula
Use <p> <span class="gkDropcap3">t</span>his is a sample text with Dropcap. </p>.
Blockquotes
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam rutrum blandit purus, vitae pharetra odio interdum sit amet.Use < blockquote><div class="gkBlockquote1"><div> Your quoted text goes here!< /div>< /div>< /blockquote >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam rutrum blandit purus, vitae pharetra odio interdum sit amet.Use < blockquote><div class="gkBlockquote2"><div> Your quoted text goes here!< /div>< /div>< /blockquote >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam rutrum blandit purus, vitae pharetra odio interdum sit amet.Use < blockquote><div class="gkBlockquote3"><div> Your quoted text goes here!< /div>< /div>< /blockquote >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam rutrum blandit purus, vitae pharetra odio interdum sit amet.Use < blockquote><div class="gkBlockquote4"><div> Your quoted text goes here!< /div>< /div>< /blockquote >
Floated blocks
<p> Here goes main part of the text <span class="gkBlockTextLeft">Block of text</span>rest of the text</p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula feugiat ac. Morbi quis enim nulla, vel congue augue. Duis quis quam sed purus porta eleifend.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula feugiat ac. Morbi quis enim nulla, vel congue augue.Donec eget dignissim augue. Donec ante felis, aliquam ut consequat eget, lobortis dapibus risus. Aliquam laoreet enim et lectus ornare hendrerit. Aliquam rhoncus enim libero. Morbi aliquam, nibh mattis feugiat dapibus, nisi massa adipiscing justo, sit amet condimentum urna ipsum et lacus. Nam fermentum, eros quis ullamcorper convallis, libero mauris lacinia eros, sed tempus leo lorem vitae purus.
<p> Here goes main part of the text <span class="gkBlockTextRight">Block of text</span>rest of the text</p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula feugiat ac. Morbi quis enim nulla, vel congue augue. Duis quis quam sed purus porta eleifend.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula feugiat ac. Morbi quis enim nulla, vel congue augue.Donec eget dignissim augue. Donec ante felis, aliquam ut consequat eget, lobortis dapibus risus. Aliquam laoreet enim et lectus ornare hendrerit. Aliquam rhoncus enim libero. Morbi aliquam, nibh mattis feugiat dapibus, nisi massa adipiscing justo, sit amet condimentum urna ipsum et lacus. Nam fermentum, eros quis ullamcorper convallis, libero mauris lacinia eros, sed tempus leo lorem vitae purus.
<p> Here goes main part of the text <span class="gkBlockTextCenter">Block of text</span>rest of the text</p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula feugiat ac. Morbi quis enim nulla, vel congue augue. Duis quis quam sed purus porta eleifend.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum condimentum pulvinar justo, sed faucibus ligula feugiat ac. Morbi quis enim nulla, vel congue augue.Donec eget dignissim augue. Donec ante felis, aliquam ut consequat eget, lobortis dapibus risus. Aliquam laoreet enim et lectus ornare hendrerit. Aliquam rhoncus enim libero. Morbi aliquam, nibh mattis feugiat dapibus, nisi massa adipiscing justo, sit amet condimentum urna ipsum et lacus. Nam fermentum, eros quis ullamcorper convallis, libero mauris lacinia eros, sed tempus leo lorem vitae purus. Nunc a malesuada felis. Cras ultrices sapien eu nisi elementum non blandit urna sodales.
Special template typography elements
Social icons
<a class="gkFb" href="#">Facebook</a> <a class="gkTwitter" href="#">Twitter</a> <a class="gkGplus" href="#">Google+</a> <a class="gkPinterest" href="#">Pinterest</a>
Headers
The template contains few additional header elements:
- .gkBigHeader - it creates a big header used on the demo frontpage:
Everything you need to create a website
<h2 class="gkBigHeader">Everything you need to create a website</h2>
- .gkSmallHeader - it is combined with the .gkTimeIcon element on the demo frontpage:
Create a website quickly & easily
Quisque justo lorem, condimentum condimentum ornare vel, consectetur id justo? Phasellus leo lacus, rhoncus dictum auctor.
<h3 class="gkSmallHeader">Create a website quickly & easily</h3>
<p class="gkTimeIcon">Quisque justo lorem, condimentum condimentum ornare vel, consectetur id justo? Phasellus leo lacus, rhoncus dictum auctor.</p>
Columns layout
If you need to create a few columns of text as in the contact section of this demo at frontpage, please use the following structure:
<div class="vertical-column-WIDTH"> <h3>HEADER</h3> <p>CONTENT</p> </div>
Where WIDTH is a value: 10, 20, 30, 40, 50 or 60 and means a column of 10%, 20%, 30%... etc. width.
Other important elements
The below elements are defined in the css/gk.stuff.css file.
Features section
To create the features section, please use the following structure:
<div class="gkFeatures gkPerspective"> <a href="#" class="gkRocket"><span>Rocket</span>Innovative Design</a> <a href="#" class="gkBadge"><span>Badge</span>Award-winning Agency</a> <a href="#" class="gkMouse"><span>Mouse</span>Your ideas, imagination</a> <a href="#" class="gkPiggy"><span>Piggy</span>Save Your Time & Money</a> </div>
The gkPerspective CSS class is useful if you need to create a 3D transformation effect.
Team section
You can create a section with the list of your team members using the following structure:
<div class="gkTeam" data-count="7">
<figure>
<a href="#"><img src="/templates/2012_10/images/demo/team1.png" alt=""></a>
<figcaption><a href="#">Mark</a></figcaption>
</figure>
...
<figure>
<a href="#"><img src="/templates/2012_10/images/demo/team7.png" alt=""></a>
<figcaption><a href="#">Remzi</a></figcaption>
</figure>
<a href="#">More About Us</a>
</div>
The most important parameter in the above code is the data-count attribute, which specifies the amount of columns with the team members. It can be a number in range 1-10
Animations
The Startup template supports a simple animation engine activated on scrolling - you can specify one of the four animation types:
- flip - it is a 3D rotation with origin in the top edge of the element
- horizontal - simple horizontal animation
- scale - it is a CSS transform scaling animation
- vertical - simple vertical animation
When the user scrolls page to the proper place of the website then the loaded CSS class is added to the element and animation is activated. The animation for the specific element is defined by the two data-* attributes:
- data-animation - specifies the animation type (one of the four mentioned types or your own ones - if you define it in the CSS code)
- data-delay - specifies the animation start delay in miliseconds
So if you want to animate two containers with the flip and the horizontal animation type and the second container animation should be delayed by 500ms you should create the following code:
<div class="gkPerspective"><!-- gkPerspective class added for the better flip animation effect --> <div data-animation="flip" data-delay="0">Content</div> <div data-animation="horizontal" data-delay="500">Content</div> </div>