From 726213e701af368fd23b9b52932cafdec932ea1b Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Thu, 19 Jul 2012 11:32:09 +0300 Subject: [PATCH] minor tweaks --- _layouts/default.html | 8 ++++---- docs/css/screen.css | 11 ++++++----- plugins.md | 8 ++++---- reference.html | 1 + 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index fa0b40c8..27c30111 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,11 +6,11 @@ {{ title }}Leaflet - a JavaScript library for mobile-friendly maps - + - + @@ -36,7 +36,7 @@ - +

Leaflet

An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps by CloudMade

@@ -49,7 +49,7 @@ - + diff --git a/docs/css/screen.css b/docs/css/screen.css index 25a40657..0efca4c6 100644 --- a/docs/css/screen.css +++ b/docs/css/screen.css @@ -53,8 +53,8 @@ h1 a:hover, h1 a:focus { h2 { font-size: 1.8em; + margin-top: 1em; font-weight: bold; - margin-top: 2.5em; padding: 4px 12px 3px; margin-left: 0; margin-right: 0; @@ -78,9 +78,9 @@ h2 { text-shadow: -1px -1px 0 #999; } -h2.less-margin { - margin-top: 1em; -} +.api-page h2 { + margin-top: 2.5em; + } h3 { margin-top: 1.5em; } @@ -94,6 +94,7 @@ h4 { font-weight: bold; color: #555; } + h3.alt { color: #999; font-family: Georgia, serif; @@ -145,7 +146,7 @@ td { .nav { padding: 0; - margin: 28px 0 2.5em; + margin: 28px 0 32px; list-style: none; font-size: 1.2em; diff --git a/plugins.md b/plugins.md index 719eb19e..c0a92100 100644 --- a/plugins.md +++ b/plugins.md @@ -8,7 +8,7 @@ title: Plugins While Leaflet is meant to be as lightweight as possible, and focuses on a core set of features, an easy way to extend its functionality is to use third-party plugins. Thanks to the awesome community behind Leaflet, there are lots of nice plugins to choose from. -

Layers and Overlays

+## Layers and Overlays @@ -64,7 +64,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s
-

Services, Providers and Formats

+## Services, Providers and Formats @@ -147,7 +147,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s
-

Controls

+## Controls @@ -212,7 +212,7 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s
-

Other Plugins

+## Other Plugins diff --git a/reference.html b/reference.html index a8de4524..5e33d17c 100644 --- a/reference.html +++ b/reference.html @@ -1,6 +1,7 @@ --- layout: default title: Documentation +bodyclass: api-page ---