diff --git a/docs/css/screen.css b/docs/css/screen.css index 54506f25..13511e13 100644 --- a/docs/css/screen.css +++ b/docs/css/screen.css @@ -54,8 +54,9 @@ h1 a:hover, h1 a:focus { h2 { font-size: 1.8em; margin-top: 1.3em; + margin-bottom: 1em; font-weight: bold; - padding: 3px 12px 2px; + padding: 4px 12px 3px; margin-left: 0; margin-right: 0; background: #edeeef; @@ -76,7 +77,7 @@ h2 { -moz-border-radius: 5px; -webkit-border-radius: 5px; - text-shadow: -1px -1px 1px rgba(0,0,0,0.3); + text-shadow: 0 -1px 1px rgba(0,0,0,0.35); } .api-page h2 { margin-top: 2.5em; @@ -303,6 +304,7 @@ a.nodocs { height: 280px; border: 1px solid #ccc; margin-bottom: 20px; + margin-top: 30px; /*box-shadow: 0px 0px 10px #ccc; -moz-box-shadow: 0px 0px 10px #ccc; diff --git a/index.md b/index.md index 2e91f927..4066a160 100644 --- a/index.md +++ b/index.md @@ -2,16 +2,14 @@ layout: default --- -Leaflet is a modern open-source JavaScript library for mobile-friendly interactive maps. It is developed by [Vladimir Agafonkin][] of [CloudMade][] with a team of dedicated [contributors][]. Weighing just about 25 KB of gzipped JS code, it still has all the [features][] most developers ever need for online maps, while providing a smooth, pleasant user experience. +Leaflet is a modern open-source JavaScript library for mobile-friendly interactive maps. It is developed by [Vladimir Agafonkin][] of [CloudMade][] with a team of dedicated [contributors][]. Weighing just about 26 KB of gzipped JS code, it still has all the [features][] most developers ever need for online maps, while providing a smooth, pleasant user experience. It is built from the ground up to work efficiently on both desktop and mobile platforms like iOS and Android, taking advantage of HTML5 and CSS3 on modern browsers. The focus is on usability, performance, small size, [A-grade][] browser support and [a simple API][] with convention over configuration. The OOP-based [code of the library][] is designed to be modular, extensible and very easy to understand. -### Basic Usage Example -
-Here we create a map with tiles of our choice, add a marker and bind a popup with some text to it: +In this basic example, we create a map with tiles of our choice, add a marker and bind a popup with some text to it: