summaryrefslogtreecommitdiff
path: root/placenames.mss
blob: b906427f4860d3822b64a1d176dc7f8eb6a7ef24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#placenames-medium::city {
  [place = 'city'],
  [place = 'metropolis'] {
    [zoom >= 6][zoom < 15] {
      text-name: "[name]";
      text-size: 8;
      text-fill: #000;
      text-face-name: @book-fonts;
      text-halo-radius: 1;
      [zoom >= 9] {
        text-size: 11;
      }
      [zoom >= 11] {
        text-size: 14;
      }
    }
  }
}

#placenames-medium::town {
  [place = 'town'],
  [place = 'large_town'],
  [place = 'small_town'] {
    [zoom >= 9] {
      text-name: "[name]";
      text-size: 8;
      text-fill: #000;
      text-face-name: @book-fonts;
      text-halo-radius: 1;
      text-wrap-width: 20;
    }
    [zoom >= 11] {
      text-size: 10;
    }
    [zoom >= 14] {
      text-size: 14;
      text-fill: #777777;
    }
  }
}

#placenames-small::suburb {
  [place = 'suburb'][zoom >= 12] {
    text-name: "[name]";
    text-size: 10;
    text-fill: #000;
    text-face-name: @book-fonts;
    text-halo-radius: 1;
    [zoom >= 14] {
      text-size: 13;
      text-fill: #777777;
    }
  }
}