Skip to content
Browse files

Added interesting neighborhoods

  • Loading branch information...
1 parent fcaa7ef commit 192b3cbb25aeddae597d9aa0be961b9ac73543e2 @mmarcon committed Sep 30, 2012
Showing with 42 additions and 9 deletions.
  1. +33 −5 css/style.css
  2. +9 −0 index.html
  3. +0 −4 js/main.js
View
38 css/style.css
@@ -1,6 +1,18 @@
-/* * Copyright 2012 Massimiliano Marcon (http://marcon.me)
+/*
+ * Copyright 2012 Massimiliano Marcon (http://marcon.me)
*
- * Licensed under the Apache License, Version 2.0 (the "License"); */
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
@import url(http://fonts.googleapis.com/css?family=Graduate);
@@ -37,6 +49,14 @@ h2 {
line-height: 1.5;
}
+h4 {
+ background-color: #222;
+ color: #afeeee;
+ padding: 10px;
+ width: 33%;
+ margin-top: 20px;
+}
+
a:link,
a:visited,
a:active {
@@ -58,12 +78,20 @@ a:hover {
z-index: 9;
}
-dl {
+dl, ul {
width: 33%;
font-size: 20px;
padding: 10px;
}
+ul {
+ font-size: 16px;
+}
+
+li {
+ padding: 3px;
+}
+
dt {
margin-top: 50px;
}
@@ -89,7 +117,7 @@ dd {
top: -3px;
color: #fff;
background-color: #222;
- font-size: 18px;
+ font-size: 16px;
padding: 10px;
margin: 0 20px 0 0;
border-radius: 10px;
@@ -101,7 +129,7 @@ a.hm:visited {
background-color: #ff6347;
color: #222;
text-align: left;
- font-size: 18px;
+ font-size: 20px;
opacity: 0.7;
/*border: 1px solid #999;*/
box-shadow: inset -1px -1px 8px #dc143c;
View
9 index.html
@@ -38,6 +38,15 @@
<dd>Display on the map the spots that people like the most in your neighborhood.</dd>
</dl>
+ <section class="interesting">
+ <h4>Interesting Neighborhoods</h4>
+ <ul>
+ <li><a href="?p=52.516417,13.379478">Berlin</a></li>
+ <li><a href="?p=36.116999,-115.173892">Las Vegas</a></li>
+ <li><a href="?p=41.890002,12.49464">Rome</a></li>
+ </ul>
+ <section>
+
<section id="map"></section>
<script type="text/javascript" src="http://api.maps.nokia.com/2.2.3/jsl.js?with=all"></script>
View
4 js/main.js
@@ -96,10 +96,6 @@
return o1.value - o2.value;
});
- console.log(normalizedData);
-
- // console.log(data);
-
fav = normalizedData[normalizedData.length - 1];
favMarker = new nokia.maps.map.Marker([fav.latitude, fav.longitude], {
icon: "../img/heart-mini.png",

0 comments on commit 192b3cb

Please sign in to comment.
Something went wrong with that request. Please try again.