From 43ed0cf8de3fdac31e23f51598fbcd5a6ab387d6 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Jun 2011 11:44:03 +0100 Subject: [PATCH] Fix railways to have a separate dashes layer --- resources/stylesheets/opencyclemap.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/stylesheets/opencyclemap.css b/resources/stylesheets/opencyclemap.css index 1a1e80fe..ae0ac977 100644 --- a/resources/stylesheets/opencyclemap.css +++ b/resources/stylesheets/opencyclemap.css @@ -107,13 +107,11 @@ node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; }*/ /* We can stack styles at different z-index (depth) */ -way[railway=rail] - { z-index: 6; color: #444444; width: 5; } - { z-index: 7; color: white; width: 3; dashes: 12,12; } +way[railway=rail] { z-index: 6; color: #444444; width: 5; } +way[railway=rail]::dashes { z-index: 7; color: white; width: 3; dashes: 12,12; } way[railway=platform] { color:black; width: 2; } -way[railway=subway] - { z-index: 6; color: #444444; width: 5; } - { z-index: 7; color: white; width: 3; dashes: 8,8; } +way[railway=subway] { z-index: 6; color: #444444; width: 5; } +way[railway=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 8,8; } /* Bridge */ way[bridge=yes], way[bridge=viaduct], way[bridge=suspension] -- 2.30.0