Skip to content

Commit

Permalink
Nature reserve boundaries revision (#3574)
Browse files Browse the repository at this point in the history
  • Loading branch information
vholten authored and kocio-pl committed Dec 27, 2018
1 parent 06a7d12 commit 572df92
Showing 1 changed file with 36 additions and 22 deletions.
58 changes: 36 additions & 22 deletions admin.mss
Original file line number Diff line number Diff line change
Expand Up @@ -221,34 +221,48 @@ overlapping borders correctly.
}

#nature-reserve-boundaries {
[way_pixels > 3000][zoom >= 8] {
[zoom < 10] {
[way_pixels > 3000] {
[zoom >= 8][zoom < 10] {
::fill {
opacity: 0.05;
polygon-fill: green;
}
::outline {
opacity: 0.25;
line-width: 1.2;
line-color: green;
[zoom >= 9] {
line-width: 1.5;
}
}
}
a/line-width: 1;
a/line-offset: -0.5;
a/line-color: green;
a/line-opacity: 0.15;
a/line-join: round;
a/line-cap: round;
b/line-width: 2;
b/line-offset: -1;
b/line-color: green;
b/line-opacity: 0.15;
b/line-join: round;
b/line-cap: round;
[zoom >= 10] {
a/line-width: 2;
a/line-offset: -1;
b/line-width: 4;
b/line-offset: -2;
}
[zoom >= 14] {
b/line-width: 6;
b/line-offset: -3;
::wideline {
opacity: 0.15;
line-width: 3.6;
line-offset: -0.9;
line-color: green;
line-join: round;
line-cap: round;
[zoom >= 12] {
line-width: 4;
line-offset: -1;
}
[zoom >= 14] {
line-width: 6;
line-offset: -2;
}
}
::narrowline {
opacity: 0.15;
line-width: 1.8;
line-color: green;
line-join: round;
line-cap: round;
[zoom >= 12] {
line-width: 2;
}
}
}
}
}

0 comments on commit 572df92

Please sign in to comment.