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 10
/
roads.mss
79 lines (75 loc) · 2.66 KB
/
roads.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
74
75
76
77
78
79
// Road colors and patterns
@road-darkest:#4F301D;
@road-1: lighten(#683f26,10);
@road-2: lighten(#683f26,20);
#road [class='major_rail'],
#road [class='minor_rail'],
#tunnel [class='major_rail'],
#tunnel [class='minor_rail'],
#bridge [class='major_rail'],
#bridge [class='minor_rail']{
[zoom=12] { line-color:@road-2; line-width:0.4;}
[zoom=13] { line-color:@road-1; line-width:0.7; }
[zoom=14] { line-color:@road-1; line-width:0.5;}
[zoom=15] { line-color:@road-1; line-width:0.75; }
[zoom=16] { line-pattern-file:url(img/lines/lineL2.jpg); }
[zoom>=17] { line-pattern-file:url(img/lines/lineL3.jpg); }
}
#road [class='main'],
#tunnel [class='main'],
#bridge [class='main'],
#bridge [class='motorway'],
#bridge [class='motorway_link'],
#tunnel [class='motorway'],
#tunnel [class='motorway_link'] {
line-color:@road-2;
[zoom<=7] {line-width:0.2;}
[zoom>=8] {line-width:0.3;}
[zoom=14] {line-width:0.5;}
[zoom=15] {line-pattern-file:url(img/lines/lineL2.jpg); }
[zoom=16] {line-pattern-file:url(img/lines/lineL3.jpg); }
[zoom=17] {line-pattern-file:url(img/lines/lineL4.jpg); }
[zoom=18] {line-pattern-file:url(img/lines/lineL5.jpg); }
[zoom>=19] {line-pattern-file:url(img/lines/lineL6.jpg); }
#bridge [class='motorway'],
#bridge [class='motorway_link'],
#tunnel [class='motorway'],
#tunnel [class='motorway_link'] {
[zoom<=12]{ line-width:0.4; }
[zoom=13] { line-color:@road-darkest; line-width:0.7;}
[zoom=14] { line-color:@road-darkest; line-width:1;}
}
}
#road [class='street'],
#road [class='street_limited'],
#road [class='driveway'],
#road [class='path'],
#tunnel [class='street'],
#tunnel [class='street_limited'],
#tunnel [class='driveway'],
#tunnel [class='path'],
#bridge [class='street'],
#bridge [class='street_limited'],
#bridge [class='driveway'] {
line-color:@road-2;
[zoom<=12] {line-width:0}
[class='path'] {line-color:lighten(@road-1,5);}
[zoom>=13] { line-width:0.5; }
[zoom>=14] { line-width:0.75;}
[zoom>=15] { line-width:1;}
[zoom>=16] { line-width:1.25;}
[zoom>=17] { line-width:1.75;}
[zoom>=18] { line-width:2;}
}
#road [class='motorway'],
#road [class='motorway_link'] {
line-color:@road-darkest;
[zoom<=12]{ line-color:@road-2; line-width:0.4; }
[zoom>=13] { line-width:0.7;}
[zoom>=14] { line-width:1;}
[zoom=15] { line-pattern-file:url(img/lines/line2.jpg); }
[zoom=16] { line-pattern-file:url(img/lines/line3.jpg); }
[zoom=17] { line-pattern-file:url(img/lines/line4.jpg); }
[zoom=18] { line-pattern-file:url(img/lines/line5.jpg); }
[zoom>=19]{ line-pattern-file:url(img/lines/line6.jpg); }
}