Post trek update: recentering map + style minor changes
This commit is contained in:
@@ -38,15 +38,17 @@ oSpot.pageInit = function(asHash)
|
||||
});
|
||||
|
||||
//Centering map on last message
|
||||
var oLastMsg = oMessages[oMessages.length-1];
|
||||
//var oLastMsg = oMessages[oMessages.length-1];
|
||||
var $Map = $("#map").gmap3(
|
||||
{
|
||||
map:
|
||||
{
|
||||
options:
|
||||
{
|
||||
center:{lat:oLastMsg.latitude, lng:oLastMsg.longitude},
|
||||
zoom:12,
|
||||
//center:{lat:oLastMsg.latitude, lng:oLastMsg.longitude},
|
||||
//zoom:12,
|
||||
center:{lat:-43.5, lng:171.5},
|
||||
zoom:6,
|
||||
mapTypeId:google.maps.MapTypeId.HYBRID,
|
||||
scaleControl:true
|
||||
}
|
||||
|
||||
3085
style/spot.css
3085
style/spot.css
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -74,54 +74,55 @@
|
||||
.signature {
|
||||
margin:0.5em 0 0 0;
|
||||
text-align: right;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 0.5em 1em;
|
||||
font-style: italic;
|
||||
font-size:0.8em;
|
||||
text-align:right;
|
||||
.header {
|
||||
padding: 0.5em 1em;
|
||||
font-style: italic;
|
||||
font-size:0.8em;
|
||||
text-align:right;
|
||||
|
||||
.index {
|
||||
float:left;
|
||||
font-style: normal;
|
||||
.index {
|
||||
float:left;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.time {
|
||||
cursor:default;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
padding: 0em 1em 0.5em;
|
||||
}
|
||||
|
||||
.post.picture {
|
||||
background:#F3EC9F;
|
||||
color:#635C28;
|
||||
|
||||
a {
|
||||
display:inline-block;
|
||||
line-height:0;
|
||||
margin:0;
|
||||
.body {
|
||||
padding: 0em 1em 0.5em;
|
||||
}
|
||||
|
||||
img {
|
||||
width:100%;
|
||||
image-orientation:from-image;
|
||||
border: 1px solid white;
|
||||
outline:none;
|
||||
&.picture {
|
||||
background:#F3EC9F;
|
||||
color:#635C28;
|
||||
|
||||
a {
|
||||
display:inline-block;
|
||||
line-height:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
img {
|
||||
width:100%;
|
||||
image-orientation:from-image;
|
||||
border: 1px solid white;
|
||||
outline:none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.post.message {
|
||||
background: #6DFF58;
|
||||
color:#326526;
|
||||
|
||||
p {
|
||||
font-size:0.9em;
|
||||
margin:0.5em 0;
|
||||
}
|
||||
|
||||
p:first-child {
|
||||
margin-top:1em;
|
||||
&.message {
|
||||
background: #6DFF58;
|
||||
color:#326526;
|
||||
|
||||
p {
|
||||
font-size:0.9em;
|
||||
margin:0.5em 0;
|
||||
}
|
||||
|
||||
p:first-child {
|
||||
margin-top:1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user