Shanty
is a responsive, minimalist, static home page template. It includes:
- A masthead title
- A masthead subtile
- A 3x2 grid, each unit has
- An icon
- A link
- Descriptive text
- Footer
That's all ya get.
Shanty
should autosize to desktop, tablet, and mobile resolutions.
Shanty
has been tested with latest Firefox
, Chrome
, and Safari
on OSX, as well as Internet Explorer 9
.
Make sure you change:
<title>Shanty Home</title>
<footer><p>© J. Random 2012</p></footer>
<h1>J. Random</h1>
<p>I make stuff. Details enclosed.</p>
Shanty comes default with two rows. Here a row:
<div class="row-fluid sites"><!-- Start Row -->
...
</div><!-- End row -->
You can add more rows, just copy and paste away.
Each div inside a row has an icon, a title, and descriptive text. You get three divs per row. I wouldn't add or delete any if I were you, it totally hasn't been tested.
<div class="span4">
<a href="http://twitter.com/"><i class="icon-twitter-sign"></i></a>
<h3><a href="http://twitter.com/">@username</a></h3>
<p>I do the Twitters.</p>
</div>
To change the icon, change the following class:
<i class="icon-twitter-sign"></i>
...to a different class you pick from the Font Awesome library, eg:
<i class="icon-bullhorn"></i>
To change an icon's color, either edit assets/css/style.css
and add:
/* Icon Colors (You may actaully need to edit these) */
.icon-bullhorn {
color: #46a546;
}
Or edit assets/less/style.less
and add:
/* Icon Colors (You may actaully need to edit these) */
.icon-bullhorn {
color: @red;
}
To add color variables, edit assets/less/custom-vars.less
.
I've included several excellent background images from Subtle Patterns.
If you are using CSS
, just change the background-image
in assets/css/stye.css
to one of the images in assets/images/bg/
.
If you are using LESS
, uncomment your preferred background image in assets/less/custom-vars.less
.
assets/bootstrap/less/bootstrap.less
must compile toassets/css/botstrap.css
assets/less/style.less
must compile toassets/css/style.css
- Ian Fitzpatrick
- http://ianfitzpatrick.com
- Github
- @ianfizpat
Shanty is licensed under CC BY 3.0: http://creativecommons.org/licenses/by/3.0/ A mention of 'Shanty - http://github.com/ianfitzpatrick/shanty' in human-readable source code is considered acceptable attribution (most common on the web). If human readable source code is not available to the end user, a mention in an 'About' or 'Credits' screen is considered acceptable (most common in desktop or mobile software).