From e5acdb08d6a5d251ada74374a0bbfdda115b4c20 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 17 Apr 2014 14:15:25 +0100 Subject: Imported Upstream version 2.13.0 --- placenames.mss | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 placenames.mss (limited to 'placenames.mss') diff --git a/placenames.mss b/placenames.mss new file mode 100644 index 0000000..d98f2b9 --- /dev/null +++ b/placenames.mss @@ -0,0 +1,142 @@ +@placenames: #222; +@placenames-light: #777777; +.country { + [place = 'country'][zoom >= 2][zoom < 6] { + text-name: "[name]"; + text-size: 9; + text-fill: #9d6c9d; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-wrap-width: 20; + [zoom >= 4] { + text-size: 10; + } + } +} + +.state { + [place = 'state'][zoom >= 4][zoom < 9] { + text-name: "[ref]"; + text-size: 9; + text-fill: #9d6c9d; + text-face-name: @oblique-fonts; + text-halo-radius: 1.5; + text-wrap-width: 0; + [zoom >= 5] { + text-name: "[name]"; + } + [zoom >= 7] { + text-size: 11; + } + } +} + +#placenames-capital { + [zoom >= 5][zoom < 15] { + text-name: "[name]"; + text-size: 10; + text-fill: @placenames; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-min-distance: 10; + [zoom >= 6] { + text-size: 12; + } + [zoom >= 11] { + text-size: 15; + } + } +} + +#placenames-medium::city { + [place = 'city'] { + [zoom >= 6][zoom < 15] { + text-name: "[name]"; + text-size: 9; + text-fill: @placenames; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-min-distance: 10; + [zoom >= 9] { + text-size: 12; + } + [zoom >= 11] { + text-size: 15; + } + } + } +} + +#placenames-medium::town { + [place = 'town'] { + [zoom >= 9] { + text-name: "[name]"; + text-size: 9; + text-fill: @placenames; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-wrap-width: 20; + text-min-distance: 10; + } + [zoom >= 11] { + text-size: 11; + } + [zoom >= 14] { + text-size: 15; + text-fill: @placenames-light; + } + } +} + +#placenames-small::suburb { + [place = 'suburb'][zoom >= 12] { + text-name: "[name]"; + text-size: 11; + text-fill: @placenames; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-min-distance: 10; + [zoom >= 14] { + text-size: 14; + text-fill: @placenames-light; + } + } +} + +#placenames-small::village { + [place = 'village'] { + [zoom >=12] { + text-name: "[name]"; + text-size: 10; + text-fill: @placenames; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-min-distance: 10; + [zoom >= 15] { + text-size: 13; + text-fill: @placenames-light; + } + } + } +} + +#placenames-small::hamlet { + [place = 'hamlet'], + [place = 'locality'], + [place = 'neighbourhood'], + [place = 'isolated_dwelling'], + [place = 'farm'] { + [zoom >= 14] { + text-name: "[name]"; + text-size: 9; + text-fill: @placenames; + text-face-name: @book-fonts; + text-halo-radius: 1.5; + text-min-distance: 10; + } + [zoom >= 16] { + text-size: 12; + text-fill: @placenames-light; + } + } +} -- cgit v1.2.3