summaryrefslogtreecommitdiff
path: root/buildings.mss
diff options
context:
space:
mode:
Diffstat (limited to 'buildings.mss')
-rwxr-xr-xbuildings.mss68
1 files changed, 68 insertions, 0 deletions
diff --git a/buildings.mss b/buildings.mss
new file mode 100755
index 0000000..7462537
--- /dev/null
+++ b/buildings.mss
@@ -0,0 +1,68 @@
+#uni-building {
+ polygon-fill: #a9ceeb;
+ polygon-opacity: 0.9;
+ polygon-clip: false;
+ [zoom >= 16] {
+ line-color: #330066;
+ line-width: 0.2;
+ }
+}
+
+#uni-building-names {
+ [zoom >= 16] {
+ text-name: "[loc_ref]";
+ text-placement: interior;
+ text-wrap-width: 20;
+ text-face-name: @book-fonts;
+ text-size: 8;
+ text-fill: #444;
+ text-halo-fill: fadeout(white, 10%);
+ text-halo-radius: 1.5;
+ [zoom >= 17] {
+ [loc_ref = "42"] {
+ point-file: url('symbols/susu2.png');
+ [zoom >= 20] {
+ point-file: url('symbols/susu.png');
+ }
+ text-dy: -12;
+ }
+ [loc_ref = "57"] {
+ point-file: url('symbols/susu-shop2.png');
+ [zoom >= 20] {
+ point-file: url('symbols/susu-shop.png');
+ }
+ //text-dy: -12;
+ }
+ text-name: "[name]";
+ [loc_ref != ''] {
+ text-name: "[name] + ' (' + [loc_ref] + ')'";
+ [name = ''] {
+ text-name: "[loc_ref]";
+ }
+ }
+
+ text-size: 8;
+ [zoom >= 18] {
+ text-size: 9;
+ [zoom >= 20] {
+ text-size: 14;
+ }
+ }
+ }
+ [name != ''] {
+ text-size: 14;
+ [zoom >= 18] {
+ text-size: 15;
+ [zoom >= 20] {
+ text-size: 18;
+ }
+ }
+ }
+ }
+}
+
+#building {
+ polygon-fill: #a9ceeb;
+ polygon-opacity: 0.5;
+ polygon-clip: false;
+}