This repository has been archived by the owner on Jan 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
label.mss
67 lines (63 loc) · 1.84 KB
/
label.mss
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
55
56
57
58
59
60
61
62
63
64
65
66
67
/*@name: '[name_en]';
#place_label[type='city'][localrank=1] {
text-face-name: 'Schulschrift A OT Normal';
text-name: @name;
text-opacity: 0.75;
text-size: 20;
text-halo-fill: fadeout(#eee,90);
text-halo-rasterizer: fast;
text-halo-radius: 4;
text-character-spacing: -4;
[scalerank>=0][scalerank<=1] { text-size: 30; }
[scalerank>=2][scalerank<=3] { text-size: 28; }
[scalerank>=4][scalerank<=5] { text-size: 26; }
[scalerank>=6][scalerank<=7] { text-size: 24; }
[scalerank>=8][scalerank<=9] { text-size: 22; }
}
#place_label[type!='city'][localrank=1] {
text-face-name: 'Providence Sans Offc Pro Bold';
text-name: @name;
text-opacity: 0.75;
text-halo-fill: fadeout(#eee,90);
text-halo-rasterizer: fast;
text-halo-radius: 4;
text-character-spacing: -2;
[type='town'] { text-size: 20; }
[type='village'],[type='suburb'] { text-size: 18; }
[type='hamlet'],[type='neighbourhood'] { text-size: 16; }
}
#poi_label[maki='park'] {
[zoom>=15][scalerank<=2] {
text-face-name: 'Providence Sans Offc Pro Regular';
text-name: @name;
text-opacity: 0.80;
text-size: 14;
text-halo-fill: fadeout(#eee,85);
text-halo-rasterizer: fast;
text-halo-radius: 4;
text-character-spacing: -3;
[scalerank=3] { text-size: 16; }
[scalerank=2] { text-size: 18; }
[scalerank=1] { text-size: 20; }
[zoom>=17] {
text-size: 16;
[scalerank=3] { text-size: 18; }
[scalerank=2] { text-size: 20; }
[scalerank=1] { text-size: 22; }
}
}
}
#road_label {
[class='main'][zoom>=16] {
text-face-name: 'Providence Sans Offc Pro Regular';
text-name: @name;
text-opacity: 0.80;
text-size: 14;
text-halo-fill: fadeout(#eee,60);
text-halo-rasterizer: fast;
text-halo-radius: 2;
text-character-spacing: -2;
text-placement: line;
text-transform: uppercase;
}
}*/