1 // dummy styles to set ordering (case below fill)
7 // consistent case size
10 // Road & Railway Fills //
11 #transportation[brunnel='tunnel'] { opacity: 0.5; }
13 #transportation[zoom<11] {
16 [class='motorway'] { line-width: 1;}
19 #transportation::fill[zoom>=11] {
20 ['mapnik::geometry_type'=2] {
23 [zoom>=15] { line-width: 1; }
24 [class='path'] { line-dasharray: 2,2;}
26 [class='minor_rail'] { line-dasharray: 3,3; }
28 [zoom>=11] { line-width: 2; }
29 [zoom>=12] { line-width: 3; }
30 [zoom>=14] { line-width: 4; }
31 [zoom>=16] { line-width: 7; }
32 [zoom>=18] { line-width: 10; }
34 [class='motorway'][ramp=1],
35 [class='trunk'], [class='primary'], [class='secondary'], [class='tertiary'] {
36 [zoom>=11] { line-width: 1; }
37 [zoom>=12] { line-width: 2; }
38 [zoom>=14] { line-width: 3; }
39 [zoom>=16] { line-width: 5; }
40 [zoom>=18] { line-width: 7; }
44 [zoom>=14] { line-width: 1; }
45 [zoom>=16] { line-width: 2; }
46 [zoom>=18] { line-width: 4; }
48 [class='service'] { line-dasharray: 4,2; }
52 // Casing for high-zoom roads //
53 #transportation::case[zoom>=11] {
54 ['mapnik::geometry_type'=2] {
58 [zoom>=11] { line-width: 2 + @case; }
59 [zoom>=12] { line-width: 3 + @case; }
60 [zoom>=14] { line-width: 4 + @case; }
61 [zoom>=16] { line-width: 7 + @case; }
62 [zoom>=18] { line-width: 10 + @case; }
64 [class='motorway'][ramp=1],
65 [class='trunk'], [class='primary'], [class='secondary'], [class='tertiary'] {
66 [zoom>=11] { line-width: 1 + @case; }
67 [zoom>=12] { line-width: 2 + @case; }
68 [zoom>=14] { line-width: 3 + @case; }
69 [zoom>=16] { line-width: 5 + @case; }
70 [zoom>=18] { line-width: 7 + @case; }
74 [zoom>=14] { line-width: 1 + @case; }
75 [zoom>=16] { line-width: 2 + @case; }
76 [zoom>=18] { line-width: 4 + @case; }
78 [class='service'] { line-dasharray: 4,2; }