Skip to content

Commit 589bccf

Browse files
author
Julia Elman
committed
Adding some style and some class.
1 parent adc757f commit 589bccf

File tree

2 files changed

+49
-3
lines changed

2 files changed

+49
-3
lines changed

pythonkc_site/media/screen.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
RESET
2-
-----------
1+
html { height: 100% }
2+
body { height: 100%; margin: 0; padding: 0 }
3+
#map_canvas { position: absolute; height: 100% }

pythonkc_site/templates/index.html

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,46 @@
1-
Hello world!
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="description" content="PythonKC groups website. For all things Python in Kansas City." />
6+
<meta name="keywords" content="python, kansas city" />
7+
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
8+
<title>PythonKC || For all things Python in Kansas City.</title>
9+
<link rel="stylesheet" href="{{ STATIC_URL }}screen.css">
10+
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
11+
<script type="text/javascript">
12+
function initialize() {
13+
var latlng = new google.maps.LatLng(-34.397, 150.644);
14+
var myOptions = {
15+
zoom: 8,
16+
center: latlng,
17+
mapTypeId: google.maps.MapTypeId.ROADMAP
18+
};
19+
var map = new google.maps.Map(document.getElementById("map_canvas"),
20+
myOptions);
21+
}
22+
</script>
23+
</head>
24+
<body onload="initialize()">
25+
<header>
26+
</header>
27+
28+
<section>
29+
<article>
30+
<header>
31+
<time>
32+
<h1>[upcoming date]</h1>
33+
<p>[upcoming time]</p>
34+
</time>
35+
</header>
36+
<h2>[Event title]</h2>
37+
<p>[Event descriptiopn]</p>
38+
<p class="rsvp">RSVP at</p>
39+
</article>
40+
<div id="map_canvas" style="width:100%; height:100%"></div>
41+
</section>
42+
43+
<footer></footer>
44+
45+
</body>
46+
</html>

0 commit comments

Comments
 (0)