Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Update example styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
aemkei committed Mar 23, 2012
1 parent 907ba83 commit 6c3aa96
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 27 deletions.
5 changes: 2 additions & 3 deletions examples/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<style type="text/css">
.map_canvas { width: 600px; height: 400px; }
</style>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>

Expand All @@ -16,6 +14,7 @@

<div class="map_canvas"></div>

Call:
<button id="search">.geocomplete("find", "NYC")</button>
<button id="center">.geocomplete("map").setCenter()</button>

Expand Down
4 changes: 1 addition & 3 deletions examples/bounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<style type="text/css">
.map_canvas { width: 600px; height: 400px; }
</style>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>

Expand Down
5 changes: 2 additions & 3 deletions examples/custom_attribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css" />
<style type="text/css" media="screen">
.map_canvas { width: 600px; height: 400px; float: left;}
form { width: 300px; float: left; margin-left: 20px}
#geocomplete { width: 200px}
form { width: 300px; float: left; }
fieldset { width: 320px; margin-top: 20px}
fieldset strong { display: block; margin: 0.5em 0 0em; }
fieldset input { width: 95%; }
Expand Down
4 changes: 2 additions & 2 deletions examples/draggable.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css" />
<style type="text/css" media="screen">
.map_canvas { width: 600px; height: 400px; float: left;}
form { width: 300px; float: left; margin-left: 20px}
#geocomplete { width: 200px}

fieldset { width: 320px; margin-top: 20px}
fieldset strong { display: block; margin: 0.5em 0 0em; }
fieldset input { width: 95%; }
Expand Down
6 changes: 3 additions & 3 deletions examples/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css" />
<style type="text/css" media="screen">
.map_canvas { width: 600px; height: 400px; float: left;}
form { width: 300px; float: left; margin-left: 20px}
#geocomplete { width: 200px}
.map_canvas { float: left; }
form { width: 300px; float: left; }
fieldset { width: 320px; margin-top: 20px}
fieldset label { display: block; margin: 0.5em 0 0em; }
fieldset input { width: 95%; }
Expand Down
4 changes: 1 addition & 3 deletions examples/location.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<head>
<title>GeoComplete</title>
<meta charset="UTF-8">
<style type="text/css">
.map_canvas { width: 600px; height: 400px; }
</style>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>

Expand Down
5 changes: 2 additions & 3 deletions examples/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<head>
<title>GeoComplete</title>
<meta charset="UTF-8">
<style type="text/css">
.map_canvas { width: 600px; height: 400px; }
</style>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>

Expand All @@ -15,6 +13,7 @@
</form>

<div id="examples">
Examples:
<a href="#">Hamburg, Germany</a>
<a href="#">Juliusstraße 25, Germany</a>
<a href="#">3rr0r</a>
Expand Down
5 changes: 1 addition & 4 deletions examples/multiple_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<style type="text/css">
.map_canvas { width: 600px; height: 400px; }
li { cursor: pointer; text-decoration: underline; }
</style>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>

Expand Down
5 changes: 2 additions & 3 deletions examples/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<head>
<title>$.geocomplete()</title>
<meta charset="UTF-8">
<style type="text/css">
.map_canvas { width: 600px; height: 400px; }
</style>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>

Expand All @@ -15,6 +13,7 @@
</form>

<div id="examples">
Examples:
<a href="#">Hamburg, Germany</a>
<a href="#">3rr0r</a>
<a href="#">Hauptstraße</a>
Expand Down
31 changes: 31 additions & 0 deletions examples/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
body {
color: #333;
}

body, input, button {
line-height: 1.4;
font: 13px Helvetica,arial,freesans,clean,sans-serif;
}


a {
color: #4183C4;
text-decoration: none;
}

#examples a {
text-decoration: underline;
}

#geocomplete { width: 200px}

.map_canvas {
width: 600px;
height: 400px;
margin: 10px 20px 10px 0;
}

#multiple li {
cursor: pointer;
text-decoration: underline;
}

0 comments on commit 6c3aa96

Please sign in to comment.