diff options
Diffstat (limited to 'placenames.mss')
-rwxr-xr-x | placenames.mss | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/placenames.mss b/placenames.mss new file mode 100755 index 0000000..b906427 --- /dev/null +++ b/placenames.mss @@ -0,0 +1,54 @@ +#placenames-medium::city { + [place = 'city'], + [place = 'metropolis'] { + [zoom >= 6][zoom < 15] { + text-name: "[name]"; + text-size: 8; + text-fill: #000; + text-face-name: @book-fonts; + text-halo-radius: 1; + [zoom >= 9] { + text-size: 11; + } + [zoom >= 11] { + text-size: 14; + } + } + } +} + +#placenames-medium::town { + [place = 'town'], + [place = 'large_town'], + [place = 'small_town'] { + [zoom >= 9] { + text-name: "[name]"; + text-size: 8; + text-fill: #000; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + } + [zoom >= 11] { + text-size: 10; + } + [zoom >= 14] { + text-size: 14; + text-fill: #777777; + } + } +} + +#placenames-small::suburb { + [place = 'suburb'][zoom >= 12] { + text-name: "[name]"; + text-size: 10; + text-fill: #000; + text-face-name: @book-fonts; + text-halo-radius: 1; + [zoom >= 14] { + text-size: 13; + text-fill: #777777; + } + } +}
\ No newline at end of file |