style/style.mss

changeset 0
b0eb3af2f9ee
child 2
8d4148a8ded4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/style/style.mss	Mon Sep 14 22:55:45 2020 +0300
@@ -0,0 +1,121 @@
+/* This is from osm-carto */
+Map {
+  background-color: @land-color;
+}
+
+@regular-font: "Tahoma Regular", "Liberation Sans Regular";
+@bold-font: "Tahoma Bold", "Liberation Sans Bold";
+@natural-font: "Liberation Serif Italic";
+@railway-fonts-bold: "FreeSans Bold";
+@place-font: @regular-font;
+@place-font-bold: @bold-font;
+
+@water-color: #bfdbe8;
+@land-color: #f2efe9;
+
+@standard-halo-radius: 1;
+@standard-halo-fill: rgba(255,255,255,0.6);
+
+@residential-color: #d8d8e2;
+@commercial-color: #ebd0d0;
+@forest-color: #a1c8a7;
+@farmland-color: #e9dfc9;
+@grass-color: #dfebc6;
+@industrial-color: #e3d7e9;
+@religious-color: #c2cdb6;
+@construction-color: #ada9a0;
+@civic-services-color: #f0edcd;
+
+#railway-landuse
+{
+	polygon-fill: @industrial-color;
+	[zoom >= 17] {
+		line-width: 0.5;
+		line-color: saturate(darken(@industrial-color, 20%), 20%);
+	}
+}
+
+#landcover {
+	[feature = 'residential'] {
+		polygon-fill: @residential-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: darken(@residential-color, 20%);
+		}
+	}
+	[feature = 'commercial'] {
+		polygon-fill: @commercial-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: saturate(darken(@commercial-color, 20%), 20%);
+		}
+	}
+	[feature = 'forest'] {
+		polygon-fill: @forest-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: saturate(darken(@forest-color, 20%), 20%);
+		}
+	}
+	[feature = 'farmland'] {
+		polygon-fill: @farmland-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: saturate(darken(@farmland-color, 20%), 20%);
+		}
+	}
+	[feature = 'grass'] {
+		polygon-fill: @grass-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: saturate(darken(@grass-color, 20%), 20%);
+		}
+	}
+	[feature = 'industrial'] {
+		polygon-fill: @industrial-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: saturate(darken(@industrial-color, 20%), 20%);
+		}
+	}
+	[feature = 'religious'] {
+		polygon-fill: @religious-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: darken(@religious-color, 20%);
+		}
+	}
+	[feature = 'construction'] {
+		polygon-fill: @construction-color;
+		[zoom >= 17] {
+			line-width: 0.5;
+			line-color: darken(@construction-color, 20%);
+		}
+	}
+}
+
+#civic-services {
+	polygon-fill: @civic-services-color;
+	[zoom >= 17] {
+		line-width: 0.5;
+		line-color: darken(@civic-services-color, 20%);
+	}
+}
+
+#inland-water {
+	polygon-fill: @water-color;
+	[zoom >= 12] {
+		line-width: 0.5;
+		line-color: saturate(darken(@water-color, 20%), 20%);
+	}
+}
+
+#bridge-area {
+	polygon-fill: @land-color;
+}
+
+#coastline
+{
+	line-width: 0.5;
+	line-color: saturate(darken(@water-color, 20%), 20%);
+}

mercurial