-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
74 lines (70 loc) · 2.67 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<title>Dude, it's Python. Not something else.</title>
<style>
body {
font-family: Helvetica, Arial, sans-serif;
color: #434343;
background-color: #fdfdfd;
margin: 200px 0;
}
h1 {
text-align: center;
letter-spacing: -3px;
font-size: 60px;
}
h1 s {
text-decoration: none;
color: #234c7a;
text-shadow: none;
}
.share {
padding-top: 30px;
text-align: center;
}
.widget {
padding-top: 75px;
text-align: center;
}
#python {
color: #fec115;
text-shadow: 1px 1px #838383;
}
#github-ribbon {
left: 0; position: absolute; top: 0;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36021524-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>
<h1>It's <s id="python">Python</s>, not <s id="word">phyton</s></h1>
<div class="share">
<a href="https://twitter.com/share" class="twitter-share-button"
data-text="Dude, it's Python. Not something else."
data-url="http://itspython.com/" data-size="large"
data-hashtags="itspython" data-lang="en">Tweet</a>
</div>
<script>
window.onload = function () {
var words = ["phyton", "pyhton", "pytohn"];
var active_word = 1;
setInterval(function () {
if (words.length == active_word)
active_word = 0;
document.getElementById("word").innerHTML = words[active_word++];
}, 1000);
}
</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</body>
</html>