Skip to content

Instantly share code, notes, and snippets.

@samanpwbb samanpwbb/water.scss
Created Aug 29, 2014

Embed
What would you like to do?
#bathymetry[DEPTH<3000] {
text-face-name: 'hillshade Regular';
text-avoid-edges: true;
text-min-distance: 5;
text-placement:interior;
text-fill: mix(@lightblue,@blue,80);
text-allow-overlap: false;
text-name: "'a'";
[DEPTH>=0][DEPTH<500] {
text-size:30;
[zoom>=5] { text-size: 35;}
[zoom>=6] { text-size: 40;}
[zoom>=8] { text-size: 45;}
text-fill: mix(@lightblue,@purple,80);
}
[DEPTH>=500][DEPTH<1250] {
text-name: "'c'";
text-min-distance: 20;
text-size:25;
[zoom>=5] { text-size: 30;}
[zoom>=7] { text-size: 35;}
[zoom>=8] { text-size: 40;}
text-fill: mix(@lightblue,@blue,70);
}
[DEPTH>=1250][DEPTH<3000] {
text-name: "'b'";
text-min-distance: 30;
text-size:25;
[zoom>=5] { text-size: 30;}
[zoom>=7] { text-size: 35;}
[zoom>=8] { text-size: 40;}
text-fill: mix(@lightblue,@purple,70);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.