Created
November 4, 2012 15:38
-
-
Save turban/4012331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@serif: "Times New Roman Regular","FreeSerif Medium","DejaVu Serif Book"; | |
@serif-italic: "Times New Roman Italic","FreeSerif Italic","DejaVu Serif Italic"; | |
@sans: "Arial Regular","Liberation Sans Regular","DejaVu Sans Book"; | |
@sans-bold: "Arial Bold","Liberation Sans Bold","DejaVu Sans Bold"; | |
#labels[zoom > 4][zoom < 8][desc_code = "METR"] { | |
text-name: "''"; | |
text-face-name: @sans-bold; | |
text-halo-radius: 1; | |
text-halo-fill: rgba(255,255,255,0.75); | |
text-horizontal-alignment: right; | |
text-vertical-alignment: top; | |
text-dx: 5; | |
[zoom = 6] { text-size: 11; } | |
[zoom = 7] { text-size: 12; } | |
[name = "AUCKLAND"] { | |
text-name: "[name]"; | |
text-horizontal-alignment: left; | |
text-dx: -5; | |
} | |
[name = "DUNEDIN"] { | |
text-name: "[name]"; | |
} | |
[name = "WELLINGTON"] { | |
text-name: "[name]"; | |
text-vertical-alignment: bottom; | |
} | |
[name = "CHRISTCHURCH"] { | |
text-name: "[name]"; | |
} | |
} | |
#labels[zoom > 5][zoom < 8][desc_code = "TOWN"] { | |
text-face-name: @sans; | |
text-min-distance: 30; | |
text-name: "[name]"; | |
text-wrap-width: 40; | |
text-halo-radius: 1; | |
text-halo-fill: rgba(255,255,255,0.75); | |
[zoom = 7] { text-face-name: @sans-bold; } | |
} | |
#labels[zoom = 7][desc_code = "POPL"] { | |
text-face-name: @sans; | |
text-min-distance: 30; | |
text-name: "[name]"; | |
text-wrap-width: 40; | |
text-halo-radius: 1; | |
text-halo-fill: rgba(255,255,255,0.75); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment