“CSS3_photo” Template Documentation

Template version: 2.0
Created: March 19th 2012

Thank you for downloading this template.

This template is released under a Creative Commons Attribution 3.0 Licence. This means you are free to download and use it for personal and commercial projects. However, you must leave the 'design from css3templates.co.uk' link in the footer of the template.

If you have any questions that are beyond the scope of this help file, please feel free to contact me via my website. Thank you!


Table of Contents

  1. HTML Structure
  2. CSS Files and Structure
  3. Fonts
  4. JavaScript
  5. Sources and Credits

A) HTML Structure - top

Here is the HTML structure for this template.

<!DOCTYPE html>
<html lang="en">
<head>
  <!-- Header Metatags -->
  <!-- Main Stylesheet -->
  <!-- Modernizr JS Enables HTML5 Elements -->
</head>
<body>
  <div id="main">
    <!-- begin header -->
    <header>
      <div id="logo"</div>
      <nav>
        <!-- menu -->
      </nav>
    </header>
    <!-- end header -->
    <!-- begin content -->
    <div id="site_content">
      <ul id="images">
        <li><img src="images/1.jpg" width="600" height="300" alt="photo_one" /></li>
        <li><img src="images/2.jpg" width="600" height="300" alt="photo_two" /></li>
        <li><img src="images/3.jpg" width="600" height="300" alt="photo_three" /></li>
        <li><img src="images/4.jpg" width="600" height="300" alt="photo_four" /></li>
        <li><img src="images/5.jpg" width="600" height="300" alt="photo_five" /></li>
        <li><img src="images/6.jpg" width="600" height="300" alt="photo_six" /></li>
      </ul>
      <div id="sidebar_container">
        <div class="sidebar"></div>
      </div>
      <div class="content"></div>
    </div>
    <!-- end content -->
    <!-- begin footer -->
    <footer></footer>
    <!-- end footer -->
  </div>
  <p>&nbsp;</p>
  <!-- jQuery with plugins -->
  <script type="text/javascript">
    $(document).ready(function(){
      <!-- initialise image transition -->
      $('#images').kwicks({
        max : 600,
        spacing : 2
      });
      <!-- initialise sooperfish menu -->
      $('ul.sf-menu').sooperfish();
    });
  </script>
</html>
</body>
    

B) CSS Files and Structure - top

There is one stylesheet used in this theme:

  1. css/style.css
  1. style.css is the main stylesheet and is included in all pages. It contains all the structural stylings for the template.

C) Fonts - top

There are 2 fonts used in this theme. The fonts are Yanone Kaffeesatz and News Cycle. The font files are

  1. fonts/YanoneKaffeesatz-Regular.ttf
  2. fonts/YanoneKaffeesatz-Regular.eot (IE Specific)
  3. fonts/NewsCycle-Regular.ttf
  4. fonts/NewsCycle-Regular.eot (IE Specific)

D) JavaScript - top

This theme imports several Javascript files.

  1. js/modernizr-1.5.min.js
  2. js/jquery.min.js
  3. js/jquery.easing-sooper.js
  4. js/jquery.sooperfish.js
  5. js/jquery.kwicks-1.5.1.js
  1. modernizr is a Javascript library that enables HTML5 elements and feature detects.
  2. jQuery is a Javascript library containing lots of commonly used Javascript functions.
  3. Easing sooper is a jQuery plugin for easing transitions, optimised for the Sooperfish drop-down menu.
  4. Sooperfish is a jQuery plugin for the drop-down menu.
  5. Kwicks is a jQuery plugin for the image transitions.

E) Sources and Credits - top

I've used the following images, icons or other files as listed.


Once again, thank you for downloading this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist.

Go To Table of Contents