-
Notifications
You must be signed in to change notification settings - Fork 4
/
index_template.html
109 lines (95 loc) · 2.01 KB
/
index_template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<title>country parrots</title>
<style>
body {
margin-top: 50px;
font-family: monospace;
}
button {
border: none;
text-transform: uppercase;
background: black;
color: white;
padding: 10px 10px;
cursor: pointer;
width: 100%;
max-width: 400px;
margin-top: 20px;
transition: 200ms;
border: 1px solid transparent;
}
button:hover {
background: white;
color: black;
border-color: black;
}
.api {
margin-top: 50px;
}
.parrots {
max-width: 800px;
margin: 50px auto;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.parrots span {
display: flex;
flex-direction: column;
margin: 10px;
font-size: 10px;
transition: 200ms;
opacity: 1;
cursor: pointer;
}
.enter .parrots span {
opacity: 0.2;
}
.parrots span:hover {
transform: scale(2);
opacity: 1;
}
.parrots span:hover {
transform: scale(2);
}
.parrots img {
image-rendering: pixelated;
}
iframe {
width: 75px;
position: relative;
top: 6px;
}
</style>
</head>
<body>
<center>
<h1>Country Parrots</h1>
<h2>One parrot for each country</h2>
<img style="display: block;" src="https://img.shields.io/github/stars/reimertz/countryparrots.svg?style=social&label=Stars" />
<a href="/parrots.zip">
<button>Download all parrots</button>
</a>
<h2 class="api">API</h2>
<p>http://countryparrots.com/parrots/<span style="color:red">[country]</span>-parrot.gif</p>
<section class="parrots">
{{parrots}}
</section>
<p>
by <a href="https://twitter.com/reimertz">@reimertz</a>
</p>
</center>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-79456165-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>