Skip to content

Instantly share code, notes, and snippets.

@jqtrde
Created April 10, 2014 19:47
Show Gist options
  • Save jqtrde/10416362 to your computer and use it in GitHub Desktop.
Save jqtrde/10416362 to your computer and use it in GitHub Desktop.
stylesheets for the mapbox project I'm tworking on
@blue: #a4c7d2;
@blue-dark: #69a6be;
#area {
line-color: @blue-dark;
polygon-fill: @blue;
}
#waterbody {
[zoom>=10] {
[AreaSqKm > 3] {
line-color: @blue-dark;
polygon-fill: @blue;
line-width: 1;
polygon-opacity: 1;
}
[AreaSqKm > 5] {
text-name: [GNIS_Name];
text-face-name: "Helvetica Neue Light";
text-character-spacing: 2;
text-opacity: 1;
text-fill: #444;
text-halo-fill: #fff;
text-halo-radius: 1;
}
}
}
#flowline {
line-color: @blue;
line-width: 0;
[zoom>=10] {
[FCode=55800] { line-width: 0.5; }
}
[zoom>=11] {
[FCode = 55800] { line-color: @blue; }
[FCode=46006] { line-width: 0.3; }
}
[zoom>=13] {
[FCode=46006] { line-width: 0.5; }
[FCode=46003] { line-width: 0.3; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment