mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-25 21:11:32 +08:00
updating gh-pages to match master
This commit is contained in:
parent
09499b3d84
commit
ee1874ebc8
2
assets/css/font-awesome.css
vendored
2
assets/css/font-awesome.css
vendored
@ -107,7 +107,7 @@ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
|
||||
.icon-play-circle:before { content: "\f01d"; }
|
||||
.icon-repeat:before { content: "\f01e"; }
|
||||
|
||||
/* \f020 is not a valid unicode character. all shifted one down */
|
||||
/* \f020 doesn't work in Safari. all shifted one down */
|
||||
.icon-refresh:before { content: "\f021"; }
|
||||
.icon-list-alt:before { content: "\f022"; }
|
||||
.icon-lock:before { content: "\f023"; }
|
||||
|
@ -3933,7 +3933,7 @@ ul.icons li .icon-large:before {
|
||||
.icon-repeat:before {
|
||||
content: "\f01e";
|
||||
}
|
||||
/* \f020 is not a valid unicode character. all shifted one down */
|
||||
/* \f020 doesn't work in Safari. all shifted one down */
|
||||
.icon-refresh:before {
|
||||
content: "\f021";
|
||||
}
|
||||
|
@ -17,11 +17,11 @@ $(function() {
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: 'http://github.com/api/v2/json/repos/show/FortAwesome/Font-Awesome',
|
||||
url: 'https://api.github.com/repos/fortawesome/Font-Awesome',
|
||||
dataType: 'jsonp',
|
||||
success: function(data) {
|
||||
$('#watchers').html(data.repository.watchers);
|
||||
$('#forks').html(data.repository.forks);
|
||||
$('#watchers').html(data.data.watchers);
|
||||
$('#forks').html(data.data.forks);
|
||||
}
|
||||
});
|
||||
|
||||
@ -45,6 +45,7 @@ $(function() {
|
||||
|
||||
var $item = $(event.currentTarget);
|
||||
var $iconName = $item.find("i").attr("class");
|
||||
_gaq.push(['_trackEvent', 'iconClick', $iconName]);
|
||||
|
||||
mainRouter.navigate("icon/" + $iconName, {trigger: true});
|
||||
firstInHistory = false;
|
||||
|
2
assets/less/font-awesome.less
vendored
2
assets/less/font-awesome.less
vendored
@ -131,7 +131,7 @@ ul.icons {
|
||||
.icon-play-circle:before { content: "\f01d"; }
|
||||
.icon-repeat:before { content: "\f01e"; }
|
||||
|
||||
/* \f020 is not a valid unicode character. all shifted one down */
|
||||
/* \f020 doesn't work in Safari. all shifted one down */
|
||||
.icon-refresh:before { content: "\f021"; }
|
||||
.icon-list-alt:before { content: "\f022"; }
|
||||
.icon-lock:before { content: "\f023"; }
|
||||
|
38
index.html
38
index.html
@ -24,6 +24,18 @@
|
||||
<![endif]-->
|
||||
<!-- Le fav and touch icons -->
|
||||
<link rel="shortcut icon" href="assets/ico/favicon.ico">
|
||||
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-30136587-1']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -77,15 +89,23 @@
|
||||
<div class="item"><div><i class="icon-flag"></i></div></div>
|
||||
</div>
|
||||
<!-- Carousel nav -->
|
||||
<a class="carousel-control left" href="#iconCarousel" data-slide="prev"><i class="icon-arrow-left"></i></a>
|
||||
<a class="carousel-control right" href="#iconCarousel" data-slide="next"><i class="icon-arrow-right"></i></a>
|
||||
<a class="carousel-control left" href="#iconCarousel" data-slide="prev"
|
||||
onClick="_gaq.push(['_trackEvent', 'iconCarousel', 'Prev']);">
|
||||
<i class="icon-arrow-left"></i></a>
|
||||
<a class="carousel-control right" href="#iconCarousel" data-slide="next"
|
||||
onClick="_gaq.push(['_trackEvent', 'iconCarousel', 'Next']);">
|
||||
<i class="icon-arrow-right"></i></a>
|
||||
</div>
|
||||
<div class="hero-content">
|
||||
<h1>Font Awesome</h1>
|
||||
<p>The iconic font designed for use with Twitter Bootstrap</p>
|
||||
<div class="actions">
|
||||
<a class="btn btn-primary btn-large" href="https://github.com/FortAwesome/Font-Awesome/zipball/master"><i class="icon-download"></i>Download Font<br>Awesome v2.0</a>
|
||||
<a class="btn btn-large btn-github" href="https://github.com/FortAwesome/Font-Awesome" target="_blank"><i class="icon-github"></i>View Project<br>on GitHub</a>
|
||||
<a class="btn btn-primary btn-large" href="https://github.com/FortAwesome/Font-Awesome/zipball/master"
|
||||
onClick="_gaq.push(['_trackEvent', 'Outbound Link', 'Download on GitHub']);">
|
||||
<i class="icon-download"></i>Download Font<br>Awesome v2.0</a>
|
||||
<a class="btn btn-large btn-github" href="https://github.com/FortAwesome/Font-Awesome" target="_blank"
|
||||
onClick="_gaq.push(['_trackEvent', 'Outbound Link', 'View Project on GitHub']);">
|
||||
<i class="icon-github"></i>View Project<br>on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -871,11 +891,11 @@
|
||||
<p>Easily replace individual bullets.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="icons">
|
||||
<li><i class="icon-ok"><i> Lists</li>
|
||||
<li><i class="icon-ok"><i> Buttons</li>
|
||||
<li><i class="icon-ok"><i> Button groups</li>
|
||||
<li><i class="icon-ok"><i> Navigation</li>
|
||||
<li><i class="icon-ok"><i> Prepended form inputs</li>
|
||||
<li><i class="icon-ok"></i> Lists</li>
|
||||
<li><i class="icon-ok"></i> Buttons</li>
|
||||
<li><i class="icon-ok"></i> Button groups</li>
|
||||
<li><i class="icon-ok"></i> Navigation</li>
|
||||
<li><i class="icon-ok"></i> Prepended form inputs</li>
|
||||
</ul>
|
||||
</pre>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user