From 3d66db2c473c9c43edc0c1163a1fc3670889c170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kom=D1=8Fpa?= Date: Wed, 1 Jun 2011 16:24:39 +0300 Subject: [PATCH] Style cleanup --- src/styles/gisrussa.mapcss | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/styles/gisrussa.mapcss b/src/styles/gisrussa.mapcss index 066fe43..1645448 100644 --- a/src/styles/gisrussa.mapcss +++ b/src/styles/gisrussa.mapcss @@ -15,59 +15,60 @@ way { text-color: black; font-weight: normal; font-size: 8; } node { text-color: black; font-weight: normal; font-size: 6; text-position: center; text-offset: 10; z-index: 1; } /* Places on small zoomlevels */ -way|z8-10[place] +area|z8-10[place] { fill-color : #FFFACD; text-position: center; text: name; } /* Places on large zoomlevels */ -way|z11-12[landuse=residential] +area|z11-12[landuse=residential] { fill-color : #FFE4C4; text-position: center; text: name; } /* Parkings */ -way|z12-[amenity=parking] +area|z12-[amenity=parking] { fill-color : #F0F0F0; text-position: center; text: name; } /* Retail area */ -way|z12-[landuse=retail] +area|z12-[landuse=retail] { fill-color : #F8B880; text-position: center; text: name; } /* Schools, colleges, universities */ -way|z12-[amenity=school],way[amenity=university] +area|z12-[amenity=school], +area|z12-[amenity=university] { fill-color : #F8B880; text-position: center; text: name; } /* Hospitals */ -way[amenity=doctors],way[amenity=hospital] +area[amenity=doctors],area[amenity=hospital] { fill-color : #F8B880; text-position: center; text: name; } /* Industrial area */ -way|z11-[landuse=industrial] +area|z11-[landuse=industrial] { fill-color : #E8E8E8; text-position: center; text: name; } /* Buildings */ -way|z13-[building][building!=garages] +area|z13-[building][building!=garages] { fill-color : #969696; text-position: center; text: addr:housenumber; } /* Garages */ -way|z13-[building=garages] +area|z13-[building=garages] { fill-color : #E2E2E2; text-position: center; text: name; } /* Parks */ -way|z12-[leisure=park] +area|z12-[leisure=park] { fill-color : #90BE00; text-position: center; text: name; } /* Stadiums, leisures */ -way|z12-:closed[leisure] +area|z12-[leisure] { fill-color : #F8B880; text-position: center; text: name; } /* Water */ -way|z9-[natural=water],way[waterway=riverbank] +area|z9-[natural=water],way[waterway=riverbank] { fill-color : #0080FF; text-position: center; text: name; } /* Forests and woods */ -way|z9-[natural=wood],way[landuse=forest] +area|z9-[natural=wood],way[landuse=forest] { fill-color : #B7E999; text-position: center; text: name; } /* Wetlands */ -way|z10-[natural=wetland] +area|z10-[natural=wetland] { fill-color : #4ACA4A; text-position: center; text: name; } /* =============== Ways =============== */