style/style.mss

changeset 0
b0eb3af2f9ee
child 2
8d4148a8ded4
equal deleted inserted replaced
-1:000000000000 0:b0eb3af2f9ee
1 /* This is from osm-carto */
2 Map {
3 background-color: @land-color;
4 }
5
6 @regular-font: "Tahoma Regular", "Liberation Sans Regular";
7 @bold-font: "Tahoma Bold", "Liberation Sans Bold";
8 @natural-font: "Liberation Serif Italic";
9 @railway-fonts-bold: "FreeSans Bold";
10 @place-font: @regular-font;
11 @place-font-bold: @bold-font;
12
13 @water-color: #bfdbe8;
14 @land-color: #f2efe9;
15
16 @standard-halo-radius: 1;
17 @standard-halo-fill: rgba(255,255,255,0.6);
18
19 @residential-color: #d8d8e2;
20 @commercial-color: #ebd0d0;
21 @forest-color: #a1c8a7;
22 @farmland-color: #e9dfc9;
23 @grass-color: #dfebc6;
24 @industrial-color: #e3d7e9;
25 @religious-color: #c2cdb6;
26 @construction-color: #ada9a0;
27 @civic-services-color: #f0edcd;
28
29 #railway-landuse
30 {
31 polygon-fill: @industrial-color;
32 [zoom >= 17] {
33 line-width: 0.5;
34 line-color: saturate(darken(@industrial-color, 20%), 20%);
35 }
36 }
37
38 #landcover {
39 [feature = 'residential'] {
40 polygon-fill: @residential-color;
41 [zoom >= 17] {
42 line-width: 0.5;
43 line-color: darken(@residential-color, 20%);
44 }
45 }
46 [feature = 'commercial'] {
47 polygon-fill: @commercial-color;
48 [zoom >= 17] {
49 line-width: 0.5;
50 line-color: saturate(darken(@commercial-color, 20%), 20%);
51 }
52 }
53 [feature = 'forest'] {
54 polygon-fill: @forest-color;
55 [zoom >= 17] {
56 line-width: 0.5;
57 line-color: saturate(darken(@forest-color, 20%), 20%);
58 }
59 }
60 [feature = 'farmland'] {
61 polygon-fill: @farmland-color;
62 [zoom >= 17] {
63 line-width: 0.5;
64 line-color: saturate(darken(@farmland-color, 20%), 20%);
65 }
66 }
67 [feature = 'grass'] {
68 polygon-fill: @grass-color;
69 [zoom >= 17] {
70 line-width: 0.5;
71 line-color: saturate(darken(@grass-color, 20%), 20%);
72 }
73 }
74 [feature = 'industrial'] {
75 polygon-fill: @industrial-color;
76 [zoom >= 17] {
77 line-width: 0.5;
78 line-color: saturate(darken(@industrial-color, 20%), 20%);
79 }
80 }
81 [feature = 'religious'] {
82 polygon-fill: @religious-color;
83 [zoom >= 17] {
84 line-width: 0.5;
85 line-color: darken(@religious-color, 20%);
86 }
87 }
88 [feature = 'construction'] {
89 polygon-fill: @construction-color;
90 [zoom >= 17] {
91 line-width: 0.5;
92 line-color: darken(@construction-color, 20%);
93 }
94 }
95 }
96
97 #civic-services {
98 polygon-fill: @civic-services-color;
99 [zoom >= 17] {
100 line-width: 0.5;
101 line-color: darken(@civic-services-color, 20%);
102 }
103 }
104
105 #inland-water {
106 polygon-fill: @water-color;
107 [zoom >= 12] {
108 line-width: 0.5;
109 line-color: saturate(darken(@water-color, 20%), 20%);
110 }
111 }
112
113 #bridge-area {
114 polygon-fill: @land-color;
115 }
116
117 #coastline
118 {
119 line-width: 0.5;
120 line-color: saturate(darken(@water-color, 20%), 20%);
121 }

mercurial