Skip to content

Commit

Permalink
Merge pull request #2920 from sommerluk/fontsize02
Browse files Browse the repository at this point in the history
station typography
  • Loading branch information
kocio-pl authored Nov 4, 2017
2 parents 0a2e9b4 + 6ecf1ce commit 83c5cd0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions stations.mss
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@
text-dy: 9;
text-halo-radius: @standard-halo-radius * 1.5;
text-halo-fill: @standard-halo-fill;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-wrap-width: 30; // 3 em
text-line-spacing: -1.5; // -0.15 em
text-placement: interior;
}
[zoom >= 15] {
marker-width: 9;
text-size: 11;
text-wrap-width: 33; // 3 em
text-line-spacing: -1.65; // -0.15 em
text-dy: 10;
}
}
Expand All @@ -62,7 +64,7 @@
[zoom >= 15] {
text-name: "[name]";
text-face-name: @bold-fonts;
text-size: 10;
text-size: @standard-font-size;
text-fill: @station-text;
text-dy: 10;
text-halo-radius: @standard-halo-radius * 1.5;
Expand All @@ -87,7 +89,7 @@
[zoom >= 14] {
text-name: "[name]";
text-face-name: @book-fonts;
text-size: 10;
text-size: @standard-font-size;
text-fill: @station-text;
text-dy: 10;
text-halo-radius: @standard-halo-radius * 1.5;
Expand All @@ -112,7 +114,7 @@
[zoom >= 16] {
text-name: "[name]";
text-face-name: @book-fonts;
text-size: 10;
text-size: @standard-font-size;
text-fill: @station-text;
text-dy: 10;
text-halo-radius: @standard-halo-radius * 1.5;
Expand Down

0 comments on commit 83c5cd0

Please sign in to comment.