style/amenity.mss

changeset 6
0575190fa5fc
parent 0
b0eb3af2f9ee
--- a/style/amenity.mss	Sat Sep 26 00:55:58 2020 +0300
+++ b/style/amenity.mss	Sat Sep 26 01:30:17 2020 +0300
@@ -35,10 +35,26 @@
 
 #train-stations
 {
-	[zoom >= 12]
+	[zoom >= 9][zoom < 11][subway = 0][network = 'FI:national'],
+	[zoom >= 10][zoom < 12][subway = 0][network = 'FI:regional'],
+	[zoom >= 13][zoom < 15][subway = 1],
+	[zoom >= 13][zoom < 15][network = 'FI:local'],
+	{
+		marker-file: url('symbols/square.svg');
+		marker-fill: #354ba3;
+		[subway = 1]
+		{
+			marker-fill: #a36c35;
+		}
+		marker-width: 6;
+		marker-clip: false;
+	}
+	[zoom >= 11][subway = 0][network = 'FI:national'],
+	[zoom >= 12][subway = 0][network = 'FI:regional'],
+	[zoom >= 15]
 	{
 		text-name: "[ref]";
-		[zoom >= 14]
+		[zoom >= 13]
 		{
 			text-name: "[bilingual_name]";
 		}
@@ -54,7 +70,11 @@
 		[zoom >= 18] { text-size: 13; }
 		text-face-name: "FreeSans Bold";
 		text-halo-radius: 1.5 * @standard-halo-radius;
-		text-halo-fill: blue;
+		text-halo-fill: #354ba3;
+		[subway = 1]
+		{
+			text-halo-fill: #a36c35;
+		}
 		/*
 		[zoom >= 16]
 		{
@@ -84,8 +104,8 @@
 		[zoom >= 17] { text-size: 12; }
 		[zoom >= 18] { text-size: 13; }
 		text-face-name: "FreeSans Bold";
-		text-halo-radius: 0.75 * @standard-halo-radius;
-		text-halo-fill: @standard-halo-fill;
+		text-halo-radius: @standard-halo-radius;
+		text-halo-fill: white;
 	}
 }
 
@@ -105,8 +125,8 @@
 		[zoom >= 18] { text-size: 12; }
 		[zoom >= 19] { text-size: 13; }
 		text-face-name: "FreeSans Bold";
-		text-halo-radius: @standard-halo-radius;
-		text-halo-fill: @standard-halo-fill;
+		text-halo-radius: 1.25 * @standard-halo-radius;
+		text-halo-fill: white;
 	}
 }
 

mercurial