-
Notifications
You must be signed in to change notification settings - Fork 0
/
background.mss
61 lines (58 loc) · 1.19 KB
/
background.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
Map {
background-image: url(textures/background.png);
}
#boundary {
line-color: @color_dark;
line-width: 4;
line-dasharray: 10,8;
line-smooth: .3;
}
#boat[zoom>=8][zoom<=9] {
[boat="1"] {
point-file: url(textures/boat1.png);
}
[boat="2"] {
point-file: url(textures/boat2.png);
}
[boat="3"] {
point-file: url(textures/boat3.png);
}
[zoom=7] {
point-transform: "scale(.25, .25)";
}
[zoom=8] {
point-transform: "scale(.5, .5)";
}
[zoom=9] {
}
point-comp-op: darken;
}
::z #mers {
[type="1"][zoom>=8] {
text-size:30;
text-face-name: @goudy_italic;
text-transform: uppercase;
text-fill: @color_dark;
text-halo-fill: @color_light;
text-halo-radius:2;
text-label-position-tolerance: 20;
text-placement: line;
text-name: "[name].replace('(\w)','$1 ')";
}
[type="2"][zoom<8] {
[zoom<6] {
text-size:25;
}
[zoom>=7] {
text-size:30;
}
text-face-name: @goudy_italic;
text-transform:uppercase;
text-fill: @color_dark;
text-halo-fill: @color_light;
text-halo-radius:2;
text-label-position-tolerance: 20;
text-placement: line;
text-name: "[name].replace(' ',' ')";
}
}