diff options
author | Christopher Baines <cbaines8@gmail.com> | 2013-08-07 20:50:08 +0100 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2013-08-07 20:50:08 +0100 |
commit | b20d088379c15719b1738dcbe1dcbf0e9d13d262 (patch) | |
tree | b51952265cb922d685b3a42705d6466f777ab189 /placenames.mss | |
download | sum-carto-b20d088379c15719b1738dcbe1dcbf0e9d13d262.tar sum-carto-b20d088379c15719b1738dcbe1dcbf0e9d13d262.tar.gz |
Initial commit
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 |