1 | /*
|
---|
2 | Humanatirian Data Model, derived from Potlatch2 style.
|
---|
3 | */
|
---|
4 | meta {
|
---|
5 | title: "HDM";
|
---|
6 | icon: "icons/hot_small.png";
|
---|
7 | description: "Humanitarian Data Model focused style.";
|
---|
8 | version: "0.0.1";
|
---|
9 | author: "HOT (Humanitarian OpenStreetMap Team)";
|
---|
10 | link: "https://github.com/hotosm/HDM-JOSM-style";
|
---|
11 |
|
---|
12 | }
|
---|
13 |
|
---|
14 | canvas {
|
---|
15 | background-color: #f7f6f1;
|
---|
16 | }
|
---|
17 | node, area {
|
---|
18 | text-color: black;
|
---|
19 | }
|
---|
20 |
|
---|
21 |
|
---|
22 | area[amenity=school]:closed {
|
---|
23 | color: yellow;
|
---|
24 | fill-color: yellow;
|
---|
25 | fill-opacity: 0.1;
|
---|
26 | small_area : true;
|
---|
27 | }
|
---|
28 |
|
---|
29 | area[power=station]:closed {
|
---|
30 | color: black;
|
---|
31 | width: 2;
|
---|
32 | fill-color: #666666;
|
---|
33 | fill-opacity: 0.6;
|
---|
34 | small_area : true;}
|
---|
35 |
|
---|
36 | area[power=generator]:closed {
|
---|
37 | color: black;
|
---|
38 | width: 2;
|
---|
39 | fill-color: #444444;
|
---|
40 | fill-opacity: 0.6;
|
---|
41 | small_area : true;}
|
---|
42 |
|
---|
43 | area[eval(prop(small_area))]:closed {
|
---|
44 | text-color: black;
|
---|
45 | font-size: 100;
|
---|
46 | text: name;
|
---|
47 | text-halo-color: white;
|
---|
48 | text-halo-radius: 20;
|
---|
49 | text-position: right;
|
---|
50 | }
|
---|