Skip to content

Instantly share code, notes, and snippets.

@nhunzaker
Created October 31, 2011 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nhunzaker/1327424 to your computer and use it in GitHub Desktop.
Save nhunzaker/1327424 to your computer and use it in GitHub Desktop.
Article 1 - Twittermap Basic Construction
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Twitter Map</title>
<link rel="stylesheet" href="css/style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?sensor=true"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
</head>
<body>
<header>Twitter Map</header>
<div id="map_canvas"></div>
<footer></footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"></script>
<script src="js/map.js"></script>
</body>
</html>
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
@import url("reset.css");
@import url(http://fonts.googleapis.com/css?family=Lobster);
body {
font-family: sans-serif;
}
header {
background: #222;
box-shadow: inset 0 -3px 5px #000, 0 1px 0 rgba(255,255,255, 0.15);
color: #fff;
font: 400 16px/2.5em "Lobster", sans-serif;
text-shadow: 0 1px 3px #000;
text-indent: 15px;
}
#map_canvas {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment