-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
125 lines (112 loc) · 4.28 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<html itemscope itemtype="http://schema.org/Game">
<head>
<title>POLARITY</title>
<meta itemprop="name" content="POLARITY">
<meta itemprop="description" content="POLARITY is my entry for Ludum Dare #23, made in 48 hours. Change your polarity, solve puzzles!">
<meta itemprop="image" content="http://nornagon.net/games/polarity/polarity.png">
<meta property="og:title" content="POLARITY" />
<meta property="og:type" content="game" />
<meta property="og:url" content="http://nornagon.net/games/polarity" />
<meta property="og:image" content="http://nornagon.net/games/polarity/polarity.png" />
<meta property="og:site_name" content="nornagon.net" />
<meta property="fb:admins" content="10150576905228708" />
<style>
.centerbox {
/* flexbox, por favor */
display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
-webkit-box-align: center;
display: -moz-box;
-moz-box-orient: horizontal;
-moz-box-pack: center;
-moz-box-align: center;
width: 100%;
height: 100%;
margin: 0; padding: 0;
text-align: center;
}
html {
font: 12px 'Helvetica Neue', 'Helvetica', sans-serif;
}
body, html { width: 100%; height: 100%; padding: 0; margin: 0; }
canvas {
box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
width: 400px;
height: 200px;
}
body {
font: 12px 'Helvetica Neue', 'Helvetica', sans-serif;
background-color: #6A86A4;
color: #83A7CA;
}
@font-face {
font-family: '04b19Regular';
src: url('04b_19__-webfont.eot');
src: url('04b_19__-webfont.eot?#iefix') format('embedded-opentype'),
url('04b_19__-webfont.woff') format('woff'),
url('04b_19__-webfont.ttf') format('truetype'),
url('04b_19__-webfont.svg#04b19Regular') format('svg');
font-weight: normal;
font-style: normal;
}
a:link, a:visited {
color: #9BAABF;
}
.social {
margin-top: 10px;
position: relative;
left: 24px;
}
.fb-like { top: -2px }
</style>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class='centerbox'><div><canvas></canvas><div style='margin-top:
4em; text-shadow: 1px 1px rgba(0,0,0,0.3)'>(I'm <a href='http://nornagon.net'>nornagon</a>, and this is just one
of <a href='http://nornagon.net/games'>my games</a>.<br/>This is
an entry for <a href='http://ludumdare.com/compo'>Ludum Dare</a> #23. If
you like it, <a
href='http://www.ludumdare.com/compo/ludum-dare-23/?action=rate&uid=11649'>rate
it</a>!)</div>
<div class='social'>
<g:plusone size="medium" annotation="none"></g:plusone>
<a href="https://twitter.com/share" class="twitter-share-button"
data-size="small" data-count="none" data-via="nornagon">Tweet</a>
<div class="fb-like" data-href="http://nornagon.net/games/polarity" data-send="false" data-layout="button_count" data-width="90" data-show-faces="false" data-font="arial"></div>
</div>
</div>
<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="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<script src='atom.js'></script>
<script src='cp.js'></script>
<script src='levels.js'></script>
<script src='main.js'></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29586905-1']);
_gaq.push(['_setDomainName', 'nornagon.net']);
_gaq.push(['_setAllowLinker', true]);
_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>
</body>
</html>