Update Check out http://page.cat
Gitter https://bit.ly/2phaXjV
#Landy
A flexible one-page fully responsive HTML template for your app
This documentation will guide you through the basic functions of the template. Although the template is designed for a maximum ease of use, this guide it is not intended to teach HTML or CSS and you will require basic knowledge of both in order to customize the template to your liking.
##Features
- Built on Bootstrap 3
- Fully Responsive
- Retina Ready
- Parallax Scroll
- CSS3 Animations
- Google Web Fonts
##Contents
- HTML files
- CSS files
- Javascript files
- Adding your screens
- Using the icon set
##1. HTML files
The template has one HTML page where all the content for the site is housed:
index.html
The template is built upon the Bootstrap 3 framework (getbootstrap.com) and you have access to all the features of it. This means that you can use the 12 column grid like so:
<div class=”row”>
<div class=”col-md-6”>
...
</div>
<div class=”col-md-6”>
...
</div>
</div>
The above code would give you 2 columns that sit side-byside on the page, each taking up half the page.
##2. CSS files
The theme has various CSS files, many of which you probably wont touch, but here is an overview of each one:
iconfont.css - This file controls the styling for the icon pack,donʼt worry about editing this, you will style your icons individually in the style.css file
bootstrap.min.css - This is the css framework provided by Bootstrap and includes the basic styling for the page (grid etc) and all the styles related to the framework itself. You probably wont need to touch this.
animate.min.css - This includes the styling of the Daniel Edenʼs CSS3 animation library Animate.css. Animations are triggered via Javascript in the scripts.js file.
style.css - This is the main style file that includes the styling for all the visual elements in the template. This is the one you will likely edit when you want to make adjustments (remember to use the Chrome inspector, it will tell you which line of css to edit and in which file!)
##3. Javascript Files As with the CSS files, you probably wont edit most of the Javascript files. Here is an overview:
jquery.js - The most famous and widespread Javascript library. You wont need to make adjustments to this file
retina.min.js - The javascript to serve high-resolution images to devices with retina displays. To provide the retina version of a an image, create an image twice the size of the original, and then just add @2x to the same file name as shown below:
logo.png
[email protected]
bootstrap.min.js - The javascript provided by Bootstrap as part of the framework.
animatescroll.js - Provides smooth scrolling, to smooth-scroll to an element inside the page just use
<a onclick="$('[id-or-class-of-element]').animatescroll();">Go to Element</a>
scripts.js - This file is the main scripts file that controls all the pretty features of the template such as the the CSS3 animations. It also controls the mobile menu toggle and slider initializations.
##4. Adding your screens
Adding your app screenshots to the template is as easy as so: just replace the images in the img/screenshots folder with yours, keep the same file name and youʼre done! Images will appear in all the templateʼs carousels.
##5. Using the Icon Set
This is a relatively simple process but you must be sure to include a few important things:
- Open icons-reference.html inside the icon-font folder
- You will see a list of available icons, followed by their character mapping
Use this code:
<div class="icon-x" ></div>
(where X is the iconʼs name)
For example, for the facebook icon, you would do this:
<div class="icon-facebook"></div>
##Copyright and Licensing
Code and documentation © Paolo Tripodi, 2014. Code released under MIT