]> mj.ucw.cz Git - leo.git/blob - pruvodce.css
Průvodce: Hacks for rendering roads
[leo.git] / pruvodce.css
1 /*** General settings ***/
2
3 way::* {
4         linejoin: round;
5         linecap: round;
6         casing-linejoin: round;
7         casing-linecap: round;
8 }
9
10 /*
11  * Assignment of z-indices:
12  *
13  *      0       default
14  *      0.1     subtypes of landuse
15  *      1.x     highways
16  *      2.x     railways
17  *      4       tourist routes
18  *      5       icons
19  *      9       hack:front
20  *      10      power lines and similar overhead objects
21  *
22  * Assignment of major-z-indices:
23  *
24  *      1       (default for areas}
25  *      1.1     water way casing
26  *      1.2     water ways
27  *      1.3     water areas
28  *      2       (default for casing)
29  *      2.9     (default for line patterns)
30  *      3       (default for lines)
31  *      4       (default for points)
32  *      4.9     (default for line text)
33  *      5       (default for point text)
34  */
35
36 /*** Highways ***/
37
38 /*
39 way[highway][area?!] {
40         color: #f00;
41         width: 0.3;
42 }
43 */
44
45 area[highway=residential],
46 area[highway=unclassified],
47 area[highway=service] {
48         fill-color: #fff;
49 }
50
51 area[highway=pedestrian],
52 area[highway=footway],
53 area[highway=path] {
54         fill-color: #ededed;
55 }
56
57 area[highway=track] {
58         fill-color: #dfcc66;
59 }
60
61 area[highway=platform],
62 area[railway=platform] {
63         fill-color: #bbbbbb;
64 }
65
66 area[aeroway=runway],
67 area[aeroway=taxiway],
68 area[aeroway=helipad] {
69         fill-color: #bbc;
70         z-index: 1;
71 }
72
73 way[highway=motorway_link] {
74         color: #809bc0;
75         width: 0.5;
76         casing-color: #506077;
77         casing-width: 0.1;
78         z-index: 1.9;
79 }
80
81 way[highway=trunk_link] {
82         color: #a9dba9;
83         width: 0.25;
84         casing-color: #477147;
85         casing-width: 0.08;
86         z-index: 1.8;
87 }
88
89 way[highway=primary_link] {
90         color: #ec989a;
91         width: 0.15;
92         casing-color: #8d4346;
93         casing-width: 0.05;
94         z-index: 1.7;
95 }
96
97 way[highway=secondary_link] {
98         color: #fed7a5;
99         width: 0.1;
100         casing-color: #a37b48;
101         casing-width: 0.05;
102         z-index: 1.6;
103 }
104
105 way[highway=tertiary_link] {
106         color: #ffffb3;
107         width: 0.07;
108         casing-color: #bbb;
109         casing-width: 0.05;
110         z-index: 1.5;
111 }
112
113 way[highway=motorway] {
114         color: #809bc0;
115         width: 0.5;
116         casing-color: #506077;
117         casing-width: 0.1;
118         z-index: 1.9;
119 }
120
121 way[highway=trunk] {
122         color: #a9dba9;
123         width: 0.25;
124         casing-color: #477147;
125         casing-width: 0.08;
126         z-index: 1.8;
127 }
128
129 way[highway=primary] {
130         color: #ec989a;
131         width: 0.15;
132         casing-color: #8d4346;
133         casing-width: 0.05;
134         z-index: 1.7;
135 }
136
137 way[highway=secondary] {
138         color: #fed7a5;
139         width: 0.1;
140         casing-color: #a37b48;
141         casing-width: 0.05;
142         z-index: 1.6;
143 }
144
145 way[highway=tertiary] {
146         color: #ffffb3;
147         width: 0.07;
148         casing-color: #bbb;
149         casing-width: 0.05;
150         z-index: 1.5;
151 }
152
153 way[highway=road] {
154         color: #ddd;
155         width: 0.07;
156         casing-color: #999;
157         casing-width: 0.05;
158         z-index: 1;
159 }
160
161 way[highway=residential],
162 way[highway=unclassified],
163 way[highway=road],
164 way[highway=living_street] {
165         color: #fff;
166         width: 0.07;
167         casing-color: #999;
168         casing-width: 0.05;
169         z-index: 1;
170 }
171
172 way[highway=service] {
173         color: #fff;
174         width: 0.05;
175         casing-color: #999;
176         casing-width: 0.03;
177         z-index: 1;
178 }
179
180 way[highway=proposed] {
181         width: 0;
182 }