From 2da61bf098e2a72caa0881a6e30373b71e8fc3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Schl=C3=BCter?= Date: Mon, 9 Feb 2015 13:20:42 +0100 Subject: [PATCH] Position date headings fixed --- static/css/style.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 9ff6095..52c42e7 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -56,7 +56,20 @@ a { font-style: italic; font-size: 1.2em; color: #aaa; - margin-top: 3px; + position: fixed; + line-height: 2; + top: 0; + left: 0; + display: inline-block; + padding: 0 1.1em; + background: -webkit-linear-gradient(top, #222, #222 80%, transparent); + background: linear-gradient(to bottom, #222, #222 80%, transparent); + width: 330px; + padding-bottom: .6em; +} + +.leaflet-popup-content p { + margin: 48px 0 18px; } .leaflet-container a.leaflet-popup-close-button { @@ -66,6 +79,7 @@ a { font-family: 'Libre Baskerville', serif; font-size: 1.2em; padding: 1.3em; + z-index: 10; } .circle-marker {