Skip to content

Instantly share code, notes, and snippets.

@ajashton
Created March 7, 2011 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajashton/859095 to your computer and use it in GitHub Desktop.
Save ajashton/859095 to your computer and use it in GitHub Desktop.
@gothic_book: "Franklin Gothic FS Book","DejaVu Sans Book";
#country-label[zoom>1]{
text-face-name: @gothic_book;
text-fill:rgba(0,0,0,0.45);
text-size:9;
text-transform:uppercase;
text-halo-fill:rgba(255,255,255,0.5);
text-halo-radius:1;
text-character-spacing:1;
text-line-spacing:1;
text-wrap-width:20;
text-name:"''";
[zoom=3] {
text-size:10;
}
[zoom=4] {
text-size:11;
}
[zoom=5] {
text-size:12;
text-character-spacing:1;
text-line-spacing:1;
}
[zoom>5] {
text-size:14;
text-character-spacing:2;
text-line-spacing:2;
}
[zoom>=2][Z_ABBREV = 2],
[zoom>=3][Z_ABBREV = 3],
[zoom>=4][Z_ABBREV = 4],
[zoom>=5][Z_ABBREV = 5],
[zoom>=6][Z_ABBREV = 6] { text-name: "[ABBREV]"; }
[zoom>=2][Z_ABBREV = 2],
[zoom>=3][Z_ABBREV = 3],
[zoom>=4][Z_ABBREV = 4],
[zoom>=5][Z_ABBREV = 5],
[zoom>=6][Z_ABBREV = 6] { text-name: "[ABBREV]"; }
[zoom>=2][Z_NAME = 2],
[zoom>=3][Z_NAME = 3],
[zoom>=4][Z_NAME = 4],
[zoom>=5][Z_NAME = 5],
[zoom>=6][Z_NAME = 6] { text-name: "[NAME]"; }
[zoom>=2][Z_ADMIN = 2],
[zoom>=3][Z_ADMIN = 3],
[zoom>=4][Z_ADMIN = 4],
[zoom>=5][Z_ADMIN = 5],
[zoom>=6][Z_ADMIN = 6] { text-name: "[ADMIN]"; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment