mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-26 13:31:31 +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-play-circle:before { content: "\f01d"; }
|
||||||
.icon-repeat:before { content: "\f01e"; }
|
.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-refresh:before { content: "\f021"; }
|
||||||
.icon-list-alt:before { content: "\f022"; }
|
.icon-list-alt:before { content: "\f022"; }
|
||||||
.icon-lock:before { content: "\f023"; }
|
.icon-lock:before { content: "\f023"; }
|
||||||
|
@ -3933,7 +3933,7 @@ ul.icons li .icon-large:before {
|
|||||||
.icon-repeat:before {
|
.icon-repeat:before {
|
||||||
content: "\f01e";
|
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 {
|
.icon-refresh:before {
|
||||||
content: "\f021";
|
content: "\f021";
|
||||||
}
|
}
|
||||||
|
@ -17,11 +17,11 @@ $(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'http://github.com/api/v2/json/repos/show/FortAwesome/Font-Awesome',
|
url: 'https://api.github.com/repos/fortawesome/Font-Awesome',
|
||||||
dataType: 'jsonp',
|
dataType: 'jsonp',
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
$('#watchers').html(data.repository.watchers);
|
$('#watchers').html(data.data.watchers);
|
||||||
$('#forks').html(data.repository.forks);
|
$('#forks').html(data.data.forks);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -45,6 +45,7 @@ $(function() {
|
|||||||
|
|
||||||
var $item = $(event.currentTarget);
|
var $item = $(event.currentTarget);
|
||||||
var $iconName = $item.find("i").attr("class");
|
var $iconName = $item.find("i").attr("class");
|
||||||
|
_gaq.push(['_trackEvent', 'iconClick', $iconName]);
|
||||||
|
|
||||||
mainRouter.navigate("icon/" + $iconName, {trigger: true});
|
mainRouter.navigate("icon/" + $iconName, {trigger: true});
|
||||||
firstInHistory = false;
|
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-play-circle:before { content: "\f01d"; }
|
||||||
.icon-repeat:before { content: "\f01e"; }
|
.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-refresh:before { content: "\f021"; }
|
||||||
.icon-list-alt:before { content: "\f022"; }
|
.icon-list-alt:before { content: "\f022"; }
|
||||||
.icon-lock:before { content: "\f023"; }
|
.icon-lock:before { content: "\f023"; }
|
||||||
|
38
index.html
38
index.html
@ -24,6 +24,18 @@
|
|||||||
<![endif]-->
|
<![endif]-->
|
||||||
<!-- Le fav and touch icons -->
|
<!-- Le fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="assets/ico/favicon.ico">
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -77,15 +89,23 @@
|
|||||||
<div class="item"><div><i class="icon-flag"></i></div></div>
|
<div class="item"><div><i class="icon-flag"></i></div></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Carousel nav -->
|
<!-- Carousel nav -->
|
||||||
<a class="carousel-control left" href="#iconCarousel" data-slide="prev"><i class="icon-arrow-left"></i></a>
|
<a class="carousel-control left" href="#iconCarousel" data-slide="prev"
|
||||||
<a class="carousel-control right" href="#iconCarousel" data-slide="next"><i class="icon-arrow-right"></i></a>
|
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>
|
||||||
<div class="hero-content">
|
<div class="hero-content">
|
||||||
<h1>Font Awesome</h1>
|
<h1>Font Awesome</h1>
|
||||||
<p>The iconic font designed for use with Twitter Bootstrap</p>
|
<p>The iconic font designed for use with Twitter Bootstrap</p>
|
||||||
<div class="actions">
|
<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-primary btn-large" href="https://github.com/FortAwesome/Font-Awesome/zipball/master"
|
||||||
<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>
|
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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -871,11 +891,11 @@
|
|||||||
<p>Easily replace individual bullets.</p>
|
<p>Easily replace individual bullets.</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="icons">
|
<ul class="icons">
|
||||||
<li><i class="icon-ok"><i> Lists</li>
|
<li><i class="icon-ok"></i> Lists</li>
|
||||||
<li><i class="icon-ok"><i> Buttons</li>
|
<li><i class="icon-ok"></i> Buttons</li>
|
||||||
<li><i class="icon-ok"><i> Button groups</li>
|
<li><i class="icon-ok"></i> Button groups</li>
|
||||||
<li><i class="icon-ok"><i> Navigation</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> Prepended form inputs</li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user