2015-10-26 14:52:42 +03:00
2015-10-14 18:52:04 +03:00
< / ul >
< / main >
< footer class = "footer" role = "contentinfo" >
2015-10-19 11:30:35 +03:00
< p > Contributions, corrections & requests can be left on < a href = "https://github.com/danleech/simple-icons" > GitHub< / a > . Company logos in icons are copyright of their respective owners. Distributed for free by < a href = "https://twitter.com/bathtype" > Dan Leech< / a > under the Free Art License.< / p >
2015-10-14 18:52:04 +03:00
< / footer >
2015-10-23 17:14:58 +03:00
< style > @ import url ( 'https://fonts.googleapis.com/css?family=Lato:400&text=ABCDEFGHIJKLMNOPQERSTUVWXYZ.!%20%23%2B%3F%26%2C1234567890' ) ; < / style >
2015-10-28 17:57:38 +03:00
< script >
var searchField = document.getElementById("search");
searchField.addEventListener('input', function (evt) {
search();
});
2015-10-28 18:47:31 +03:00
2015-10-28 18:53:06 +03:00
hashSearch();
window.addEventListener('hashchange', function (evt) {
hashSearch();
});
function hashSearch() {
var query = window.location.hash.substring(1);
document.getElementById("search").value = query;
search();
}
2015-10-28 18:47:31 +03:00
2015-10-28 17:57:38 +03:00
function search() {
var searchTerm = searchField.value.toLowerCase();
var icons = document.getElementsByClassName("tiles__item");
for (var i = 0; i < icons.length ; i + + ) {
icons[i].style.display = "inline-block";
var index = icons[i].dataset.search.indexOf(searchTerm);
if (index == -1) {
icons[i].style.display = "none";
}
}
}
< / script >
2015-10-18 21:23:16 +03:00
< script >
2015-10-20 16:05:55 +03:00
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
2015-10-18 21:23:16 +03:00
ga('create', 'UA-46210978-2', 'auto');
ga('send', 'pageview');
2015-10-20 16:05:55 +03:00
< / script >
< script async src = '//www.google-analytics.com/analytics.js' > < / script >
2015-10-14 18:52:04 +03:00
< / body >
< / html >