adding say thanks section

This commit is contained in:
davegandy 2012-12-31 10:25:55 -06:00
parent 28eed4572c
commit c5a579a913
9 changed files with 228 additions and 10403 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
padding-top: 3px;
margin-bottom: -4px;
padding-bottom: 3px;
vertical-align: -10%;
vertical-align: -25%;
}
.btn, .nav {
@ -22,7 +22,7 @@
padding-bottom: 3px;
line-height: .9em;
&.icon-large {
line-height: .8em;
vertical-align: -20%;
}
}
}

View File

@ -22,7 +22,9 @@
*/
@FontAwesomePath: "../font";
@FontAwesomePath: "../font";
@borderColor: #eeeeee;
.border-radius(@radius) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; }
@font-face {
font-family: 'FontAwesome';
@ -85,10 +87,7 @@ a {
[class*=" icon-"] {
display: inline;
/* keeps button heights with and without icons the same */
line-height: .9em;
&.icon-large {
line-height: .8em;
}
line-height: .6em;
}
}
@ -125,17 +124,15 @@ ul.icons {
}
}
/* Convenience functions */
// Icon Borders
// -------------------------
.icon-border {
border: solid 1px @grayLighter;
padding: .2em .35em .1em;
border: solid 1px @borderColor;
padding: .2em .25em .15em;
.border-radius(3px);
}
// Icon Sizes
// -------------------------
@ -161,7 +158,6 @@ ul.icons {
}
}
// Icon Floats
// -------------------------
@ -169,24 +165,13 @@ ul.icons {
[class*=" icon-"] {
&.pull-left {
margin-right: .35em;
&.icon-4x { margin-right: .25em; }
}
&.pull-right {
margin-left: .35em;
&.icon-4x { margin-left: .25em; }
}
}
.btn {
[class^="icon-"],
[class*=" icon-"] {
&.pull-left, &.pull-right {
&.icon-2x { margin-top: .25em; }
}
}
}
.btn.btn-small {
[class^="icon-"],
[class*=" icon-"] {
&.pull-left, &.pull-right {
@ -195,23 +180,44 @@ ul.icons {
}
}
.btn.btn-large {
.btn.btn-small {
[class^="icon-"],
[class*=" icon-"] {
&.pull-left, &.pull-right {
&.icon-2x { margin-top: .1em; }
&.icon-2x { margin-top: .45em; }
}
}
}
.btn.btn-large {
[class^="icon-"],
[class*=" icon-"] {
&.pull-left, &.pull-right {
&.icon-2x { margin-top: .2em; }
}
}
}
.icon-spin {
display: inline-block;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
-webkit-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
-moz-animation: spin 1.5s infinite linear;
-o-animation: spin 1.5s infinite linear;
-webkit-animation: spin 1.5s infinite linear;
animation: spin 1.5s infinite linear;
}
.btn, .nav {
[class^="icon-"],
[class*=" icon-"] {
&.icon-spin {
display: inline-block;
}
}
}
@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); }
@ -225,14 +231,15 @@ ul.icons {
100% { -o-transform: rotate(359deg); }
}
@-ms-keyframes spin {
0% { -ms-transform: rotate(0deg); }
100% { -ms-transform: rotate(359deg); }
}
0% { -ms-transform: rotate(0deg); }
100% { -ms-transform: rotate(359deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.icon-glass:before { content: "\f000"; }

View File

@ -221,10 +221,16 @@ section {
.row {
margin-bottom: 20px;
}
.icon-large {
vertical-align: -7%;
font-size: 22px;
padding-right: 5px;
h4 {
// line-height: 28px;
[class^="icon-"],
[class*=" icon-"] {
vertical-align: -10%;
font-size: 28px;
// width: 30px;
// height: 30px;
margin-right: 5px;
}
}
}

View File

@ -64,11 +64,12 @@
<li><a href="#icons-medical">Medical</a></li>
</ul>
</li>
<li><a href="#examples">Examples</a></li>
<li><a href="#integration">Integration</a></li>
<li><a href="#code">Code</a></li>
<li><a href="#whats-next">What's Next</a></li>
<li><a href="#examples">Examples</a></li>
<li><a href="#contribute">Contribute</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#kyruus">Kyruus</a></li>
<li><a href="#say-thanks">Say Thanks</a></li>
</ul>
<ul class="nav pull-right">
<li><a href="mailto:dave@davegandy.com"><i class="icon-envelope"></i> Me</a></li>
@ -159,40 +160,40 @@
<section id="why" class="clearfix">
<div class="row">
<div class="span4">
<h4><i class="icon-flag icon-large"></i> One font, 236 icons</h4>
<h4><i class="icon-flag"></i> One font, 246 icons</h4>
In a single collection, Font Awesome is a pictographic language of web-related actions.
</div>
<div class="span4">
<h4><i class="icon-pencil icon-large"></i> CSS control</h4>
<h4><i class="icon-pencil"></i> CSS control</h4>
Easily style icon color, size, shadow, and anything that's possible with CSS.
</div>
<div class="span4">
<h4><i class="icon-fullscreen icon-large"></i> Infinite scalability</h4>
<h4><i class="icon-fullscreen"></i> Infinite scalability</h4>
Scalable vector graphics means every icon looks awesome at any size.
</div>
</div>
<div class="row">
<div class="span4">
<h4><i class="icon-bullhorn icon-large"></i> Desktop Font + Vectors</h4>
<h4><i class="icon-bullhorn"></i> Desktop Font + Vectors</h4>
The full desktop font and a pdf of vectors are included. Happy designing.
</div>
<div class="span4">
<h4><i class="icon-ok icon-large"></i> IE7 Support</h4>
<h4><i class="icon-ok"></i> IE7 Support</h4>
Font Awesome supports IE7. If you need it, you have my condolences.
</div>
<div class="span4">
<h4><i class="icon-search icon-large"></i> Screen reader compatible</h4>
<h4><i class="icon-search"></i> Screen reader compatible</h4>
Font Awesome won't trip up screen readers, unlike most icon fonts.
</div>
</div>
<div class="row">
<div class="span4">
<h4><i class="icon-beer icon-large"></i> Free, as in Beer</h4>
<h4><i class="icon-beer"></i> Free, as in Beer</h4>
Font Awesome is completely free for commercial use.
</div>
<div class="span4">
<h4><i class="icon-thumbs-up icon-large"></i> Made for Twitter Bootstrap</h4>
Designed from scratch to be fully backwards compatible with <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap 2.0</a>.
<h4><i class="icon-thumbs-up"></i> Made for Twitter Bootstrap</h4>
Designed from scratch to be fully compatible with <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap 2.2.2</a>.
</div>
</div>
</section>
@ -201,34 +202,38 @@
<h2 class="page-header">What's new in Font Awesome 3.0</h2>
<div class="row">
<div class="span4">
<h4><i class="icon-magic icon-large"></i> Pixel Perfection at 14px</h4>
<h4><i class="icon-magic"></i> Pixel Perfection at 14px</h4>
Every icon re-created from the ground up to be optimized for Bootstrap's default 14px.
</div>
<div class="span4">
<h4><i class="icon-legal icon-large"></i> Better License</h4>
<h4><i class="icon-legal"></i> Better License</h4>
SIL open font license, Apache 2.0 for code. No more attribution required, but much appreciated.
</div>
<div class="span4">
<h4><i class="icon-circle-arrow-down icon-large"></i> 25% smaller size</h4>
<h4><i class="icon-circle-arrow-down"></i> 25% smaller size</h4>
Smaller, even with more icons. More compact file size for faster page loads.
</div>
</div>
<div class="row">
<div class="span4">
<h4><i class="icon-beaker icon-large"></i> 35 New Icons in 3.0.0</h4>
All requested by our active community on the <a href="https://github.com/FortAwesome/Font-Awesome" target="_blank">Font Awesome GitHub project</a>.
<h4><i class="icon-beaker"></i> 37 New Icons in 3.0.0</h4>
Requested by the active community on the <a href="https://github.com/FortAwesome/Font-Awesome" target="_blank">Font Awesome GitHub project</a>.
</div>
<div class="span4">
<h4><i class="icon-th-large icon-large"></i> Font Sub-setting</h4>
<h4><i class="icon-th-large"></i> Font Sub-setting</h4>
Thanks to <a target="_blank" href="https://twitter.com/grantgordon">@grantgordon</a> and <a target="_blank" href="https://twitter.com/johnsmclay">@johnsmclay</a>, <a href="#">sub-setting</a> is now possible, so you get just the icons you need.
</div>
<div class="span4">
<h4><i class="icon-spinner icon-spin"></i> <a href="#extras">Font Awesome Extras</a></h4>
<a href="#extras">New classes</a> for animated spinning icons, icons with 2x-4x size multipliers, icon borders, & more.
</div>
</div>
</section>
<section id="icons-new" class="row">
<div class="span12">
<h2 class="page-header">New Icons in 3.0</h2>
<p>You asked, Font Awesome delivers with 35 shiny new icons in version 3.0. This giant set of new icons was requested on the Font Awesome GitHub project and includes icon parity with Bootstrap 2.0.3.</p>
<p>You asked, Font Awesome delivers with 37 shiny new icons in version 3.0. This giant set of new icons was requested on the Font Awesome GitHub project and includes icon parity with Bootstrap 2.0.3.</p>
</div>
<div class="span3">
@ -608,7 +613,7 @@
<section id="icons-medical" class="row">
<div class="span12">
<h2 class="page-header">Medical Icons <small>Want to truly make healthcare better? Join me at <a href="#kyruus">Kyruus</a>.</small></h2>
<h2 class="page-header">Medical Icons <small>Want to change healthcare? Work with me at <a href="#kyruus">Kyruus</a>.</small></h2>
</div>
<div class="span3">
<ul class="the-icons">
@ -634,7 +639,77 @@
<li><i class="icon-user-md"></i> icon-user-md</li>
</ul>
</div>
</section>
<section id="integration">
<h2 class="page-header">Integration</h2>
<p>It's easy to integrate Font Awesome into Twitter Bootstrap, or even use it on its own.</p>
<div class="row">
<div class="span3">
<h4>Bootstrap using LESS</h4>
<p>Use this method if integrating with Twitter Bootstrap using LESS</p>
</div>
<div class="span9">
<ol>
<li>Copy the Font Awesome font directory into your project.</li>
<li>Copy font-awesome.less into your bootstrap/less directory.</li>
<li>Open bootstrap.less and replace <code>@import "sprites.less";</code> with <code>@import "font-awesome.less";</code></li>
<li>
Open your project's font-awesome.less and edit the font url to ensure it points to the right place.
<pre class="prettyprint linenums">
@font-face {
font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot');
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff') format('woff'),
url('../font/fontawesome-webfont.ttf') format('truetype'),
url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
font-weight: normal;
font-style: normal;
}
</pre>
</li>
<li>Re-compile your LESS if using a static compiler. Otherwise, you should be good to go.</li>
<li>Check out the examples to start using Font Awesome!</li>
</ol>
</div>
</div>
<div class="row">
<div class="span3">
<h4>Bootstrap using CSS</h4>
<p>Use this method if integrating with Twitter Bootstrap using CSS.</p>
</div>
<div class="span9">
<ol>
<li>Customize Twitter Bootstrap <a href="http://twitter.github.com/bootstrap/customize.html" target="_blank">here</a>. Make sure to uncheck the default "Icons" under "Base CSS."</li>
<li>Copy the Font Awesome font directory into your project.</li>
<li>Copy font-awesome.css into your project.</li>
<li>Open your project's font-awesome.css and edit the font url to ensure it points to the right place (see above example).</li>
<li>
In the <code>&lt;head&gt;</code> of your html, reference the location to your font-awesome.css.
<pre class="prettyprint linenums">
&lt;link rel="stylesheet" href="../css/bootstrap.css"&gt;
&lt;link rel="stylesheet" href="../css/font-awesome.css"&gt;
</pre>
</li>
<li>Check out the examples to start using Font Awesome!</li>
</ol>
</div>
</div>
<div class="row">
<div class="span3">
<h4>Not using Bootstrap?</h4>
<p>Font Awesome works just as well without Twitter Bootstrap.</p>
</div>
<div class="span9">
<ol>
<li>Copy the Font Awesome font directory into your project.</li>
<li>Copy font-awesome.less or font-awesome.css into your project.</li>
<li>Open your project's font-awesome.less or font-awesome.css and edit the font url to ensure it points to the right place (see above example).</li>
<li>Check out the examples to start using Font Awesome!</li>
</ol>
</div>
</div>
</section>
<section id="examples">
@ -719,81 +794,7 @@
</div>
</div>
</div>
</section>
<section id="integration">
<h2 class="page-header">Integration</h2>
<p>It's easy to integrate Font Awesome into Twitter Bootstrap, or even use it on its own.</p>
<div class="row">
<div class="span3">
<h4>Bootstrap using LESS</h4>
<p>Use this method if integrating with Twitter Bootstrap using LESS</p>
</div>
<div class="span9">
<ol>
<li>Copy the Font Awesome font directory into your project.</li>
<li>Copy font-awesome.less into your bootstrap/less directory.</li>
<li>Open bootstrap.less and replace <code>@import "sprites.less";</code> with <code>@import "font-awesome.less";</code></li>
<li>
Open your project's font-awesome.less and edit the font url to ensure it points to the right place.
<pre class="prettyprint linenums">
@font-face {
font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot');
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff') format('woff'),
url('../font/fontawesome-webfont.ttf') format('truetype'),
url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
font-weight: normal;
font-style: normal;
}
</pre>
</li>
<li>Re-compile your LESS if using a static compiler. Otherwise, you should be good to go.</li>
<li>Check out the examples to start using Font Awesome!</li>
</ol>
</div>
</div>
<div class="row">
<div class="span3">
<h4>Bootstrap using CSS</h4>
<p>Use this method if integrating with Twitter Bootstrap using CSS.</p>
</div>
<div class="span9">
<ol>
<li>Customize Twitter Bootstrap <a href="http://twitter.github.com/bootstrap/customize.html" target="_blank">here</a>. Make sure to uncheck the default "Icons" under "Base CSS."</li>
<li>Copy the Font Awesome font directory into your project.</li>
<li>Copy font-awesome.css into your project.</li>
<li>Open your project's font-awesome.css and edit the font url to ensure it points to the right place (see above example).</li>
<li>
In the <code>&lt;head&gt;</code> of your html, reference the location to your font-awesome.css.
<pre class="prettyprint linenums">
&lt;link rel="stylesheet" href="../css/bootstrap.css"&gt;
&lt;link rel="stylesheet" href="../css/font-awesome.css"&gt;
</pre>
</li>
<li>Check out the examples to start using Font Awesome!</li>
</ol>
</div>
</div>
<div class="row">
<div class="span3">
<h4>Not using Bootstrap?</h4>
<p>Font Awesome works just as well without Twitter Bootstrap.</p>
</div>
<div class="span9">
<ol>
<li>Copy the Font Awesome font directory into your project.</li>
<li>Copy font-awesome.less or font-awesome.css into your project.</li>
<li>Open your project's font-awesome.less or font-awesome.css and edit the font url to ensure it points to the right place (see above example).</li>
<li>Check out the examples to start using Font Awesome!</li>
</ol>
</div>
</div>
</section>
<section id="code">
<h2 class="page-header">Code</h2>
<div class="row">
<div class="span3">
<h4>Inline Icon</h4>
@ -1019,12 +1020,11 @@
</div>
</section>
<section id="whats-next">
<h2 class="page-header">What's next</h2>
<section id="roadmap">
<h2 class="page-header">Roadmap</h2>
<p>Here's the plan for future updates.</p>
<ul class="icons">
<li><i class="icon-plus"></i> Font sub-setting. Keep your font file sizes small by only using the icons you need.</li>
<li><i class="icon-plus"></i> Better hinting for smaller font sizes.</li>
<li><i class="icon-plus"></i> Easier sub-setting with icon packs.</li>
<li><i class="icon-plus"></i> More icons. Have any requests? <a href="https://github.com/FortAwesome/Font-Awesome/issues" target="_blank">Open an issue</a> in the Font Awesome GitHub project.</li>
<li><i class="icon-plus"></i> Tricks and tips for super-awesome creative CSS methods, like the star example above.</li>
</ul>
@ -1052,7 +1052,7 @@
</ul>
<p>
Kyruus needs good people. Designers, app developers, big data masters, & interns that get real responsibility.
<strong>Kyruus needs good people.</strong> Designers, app developers, big data masters, & interns that get real responsibility. Come work with me.
</p>
Interested? <a href="mailto:dave@davegandy.com">Email me.</a>
@ -1068,6 +1068,41 @@
</div>
</section>
<section id="say-thanks">
<h2 class="page-header">Say Thanks <small></small></h2>
<div class="row">
<div class="span12">
<p class="lead">
<i class="icon-gift icon-4x pull-left"></i>
Hopefully you think Font Awesome <em>is</em> awesome. I've put hundreds of hours into the project to give back to the
open source community. If you'd like, here are some ways you can tell me thanks for all my hard work.
</p>
</div>
</div>
<div class="row">
<div class="span4">
<h4><a href="#contribute">Contribute Icons</a></h4>
<p>
<a href="#contribute">Contribute icons</a> to make Font Awesome even awesome-er.
</p>
</div>
<div class="span4">
<h4><a href="http://www.shareagift.com/pages/giftpage.aspx?giftid=2472" target="_blank">Help me buy an iMac</a></h4>
<p>
<a href="http://www.shareagift.com/pages/giftpage.aspx?giftid=2472" target="_blank">Contribute</a> to a shiny
new iMac for me to keep making great icons.
</p>
</div>
<div class="span4">
<h4><a href="http://amzn.com/w/G64X58AY416W" target="_blank">My Amazon Wish List</a></h4>
<p>
Or pick something straight
from <a href="http://amzn.com/w/G64X58AY416W" target="_blank">my wish list</a>. Gift cards are great.
</p>
</div>
</div>
</section>
<!--<section id="fort-awesome">-->
<!--<h2 class="page-header">Fort Awesome? Font Awesome?</h2>-->
<!--<div class="row">-->
@ -1118,6 +1153,7 @@
</div>
<script type="text/template" id="modal-template">
<div class="modal hide fade in">
<div class="modal-header">

View File

@ -33,12 +33,6 @@
<div class="container">
<h1>Visual tests</h1>
<h3>Spinning icons</h3>
<i class="icon-refresh icon-spin"></i> Loading...
<button class="btn"><i class="icon-refresh icon-spin"></i> Loading...</button>
<i class="icon-spinner icon-spin"></i> Loading...
<button class="btn btn-large"><i class="icon-spinner icon-spin"></i> Loading...</button>
<h3>Icons <small>Icons should not be clipped</small></h3>
<div class="row">
<div class="span3">
@ -110,7 +104,7 @@
<h3>Plain buttons next to icon buttons <small>should be same height</small></h3>
<h4>Buttons</h4>
<div class="row">
<div class="span4">
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<div>
<button class="btn btn-mini">Button</button>
@ -134,7 +128,7 @@
</div>
</div>
</div>
<div class="span4">
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<div>
<button class="btn btn-mini">Button</button>
@ -162,7 +156,7 @@
<h4>Anchors</h4>
<div class="row">
<div class="span4">
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<div>
<a class="btn btn-mini">Button</a>
@ -186,7 +180,7 @@
</div>
</div>
</div>
<div class="span4">
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<div>
<a class="btn btn-mini">Button</a>
@ -244,7 +238,7 @@
</div>
</div>
<h3>Nav pills & nav tabs <small>should be same height</small></h3>
<h3>Nav pills & nav tabs <small>should be same height</small></h3>
<div class="row">
<span class="span6">
<ul class="nav nav-pills">
@ -260,6 +254,7 @@
</ul>
</li>
<li class="active"><a href="#examples"><i class="icon-building icon-large"></i> Nav Item 3</a></li>
<li class="active"><a href="#examples"><i class="icon-spinner icon-spin"></i> Nav Item 4</a></li>
</ul>
</span>
<span class="span6">
@ -276,6 +271,7 @@
</ul>
</li>
<li class="active"><a href="#examples"><i class="icon-building icon-large"></i> Nav Item 3</a></li>
<li class="active"><a href="#examples"><i class="icon-spinner icon-spin"></i> Nav Item 4</a></li>
</ul>
</span>
</div>
@ -311,6 +307,40 @@
</div>
</div>
<h3>Spinning icons</h3>
<div class="row">
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<i class="icon-refresh icon-spin"></i> Loading...
<button class="btn"><i class="icon-refresh icon-spin"></i> Loading...</button>
<button class="btn">Loading...</button>
</div>
</div>
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<i class="icon-spinner icon-spin"></i> Loading...
<button class="btn btn-large"><i class="icon-spinner icon-spin"></i> Loading...</button>
<button class="btn btn-large">Loading...</button>
</div>
</div>
</div>
<div class="row">
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<i class="icon-refresh icon-large icon-spin"></i> Loading...
<button class="btn"><i class="icon-refresh icon-large icon-spin"></i> Loading...</button>
<button class="btn">Loading...</button>
</div>
</div>
<div class="span6">
<div style="border: solid 1px #d3d3d3; text-align: center;">
<i class="icon-spinner icon-large icon-spin"></i> Loading...
<button class="btn btn-large"><i class="icon-spinner icon-large icon-spin"></i> Loading...</button>
<button class="btn btn-large">Loading...</button>
</div>
</div>
</div>
</div>
<script src="assets/js/jquery-1.7.1.min.js"></script>