-
Notifications
You must be signed in to change notification settings - Fork 2
/
admin.mss
73 lines (70 loc) · 1.72 KB
/
admin.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
68
69
70
71
72
73
/*
* This file is part of brighmed, a style for use with Meddo vector tiles
* @author Paul Norman <[email protected]>
* @copyright 2016 Paul Norman, MIT license
*/
#boundary {
[admin_level = 2][zoom >= 2] {
line-join: round;
line-color: #9b97a9;
line-width: .8;
[zoom >= 4] { line-width: 1.2; }
[zoom >= 6] { line-width: 2; }
[zoom >= 8] { line-width: 4; }
[disputed = true] {
line-dasharray: 4,4;
[zoom >= 8] {
line-dasharray: 7,7;
}
}
}
[admin_level = 3][zoom >= 3],
[admin_level = 4][zoom >= 3], {
line-join: round;
line-color: #9b97a9;
line-width: 0.3;
line-dasharray: 10,3,3,3;
[zoom>=6] { line-width: 1; }
[zoom>=8] { line-width: 1.5; }
[zoom>=12] { line-width: 2; }
}
}
#country_name[zoom >= 2][zoom < 16] {
text-name: '[name]';
text-face-name: @bold-fonts;
text-fill: black;
text-size: 10;
text-halo-fill: rgba(255, 255, 255, .5);
text-halo-radius: 1.5;
text-wrap-before: true;
text-wrap-width: 10*6;
text-line-spacing: 10*@line-spacing-adjust;
text-margin: 12;
[way_pixels > 3000] {
text-size: 12;
text-wrap-width: 12*6;
text-line-spacing: 12*@line-spacing-adjust;
}
[way_pixels > 12000] {
text-size: 14;
text-wrap-width: 14*6;
text-line-spacing: 14*@line-spacing-adjust;
}
[way_pixels > 48000] {
text-size: 18;
text-wrap-width: 18*6;
text-line-spacing: 12*@line-spacing-adjust;
}
}
#state_name[zoom >= 4] {
text-name: '[name]';
text-face-name: @book-fonts;
text-fill: #765;
text-size: 14;
text-halo-fill: rgba(255, 255, 255, .5);
text-halo-radius: 1.5;
text-wrap-width: 14*7;
text-wrap-before: true;
text-line-spacing: 14*@line-spacing-adjust;
text-margin: 20;
}