From 46eb027c7602f2574ecd3826e9db5b7034de7001 Mon Sep 17 00:00:00 2001 From: mourner Date: Wed, 25 Jul 2012 01:09:31 +0300 Subject: [PATCH] news flash on frontpage --- docs/css/screen.css | 12 +++++++++++- index.md | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/css/screen.css b/docs/css/screen.css index 8620d750..ee1b1532 100644 --- a/docs/css/screen.css +++ b/docs/css/screen.css @@ -157,7 +157,7 @@ td { .nav { padding: 0; - margin: 28px 0 32px; + margin: 28px 0 28px; list-style: none; font-size: 1.2em; @@ -470,3 +470,13 @@ dl dd { border: 0; box-shadow: none; } + + +p.notice { + border: none; + border-radius: 10px; + color: #444; + background: #DBF8A7; + padding: 5px 10px; + margin-bottom: 1.5em; +} diff --git a/index.md b/index.md index 4066a160..493df17d 100644 --- a/index.md +++ b/index.md @@ -2,6 +2,8 @@ layout: default --- +

July 27, 2012 — Leaflet 0.4 released with lots of exciting improvements! — read more in the blog

+ 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.