forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 4
/
buildings.mss
42 lines (37 loc) · 887 Bytes
/
buildings.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
@building-fill: #d9d0c9; //Lch(84, 5, 70)
@building-line: darken(@building-fill, 15%);
@building-low-zoom: darken(@building-fill, 4%);
@building-major-fill: darken(@building-fill, 20%);
@building-major-line: darken(@building-major-fill, 25%);
#buildings {
[zoom >= 13] {
polygon-fill: @building-low-zoom;
polygon-clip: false;
[zoom >= 15] {
line-color: @building-line;
polygon-fill: @building-fill;
line-width: .75;
line-clip: false;
}
}
}
#buildings-major {
[zoom >= 13] {
[aeroway = 'terminal'],
[amenity = 'place_of_worship'],
[building = 'train_station'] {
polygon-fill: @building-major-fill;
polygon-clip: false;
[zoom >= 15] {
line-width: .75;
line-clip: false;
line-color: @building-major-line;
}
}
}
}
#bridge {
[zoom >= 12] {
polygon-fill: #B8B8B8;
}
}