summaryrefslogtreecommitdiff
path: root/style/campus.less
diff options
context:
space:
mode:
Diffstat (limited to 'style/campus.less')
-rw-r--r--style/campus.less20
1 files changed, 20 insertions, 0 deletions
diff --git a/style/campus.less b/style/campus.less
new file mode 100644
index 0000000..e93f4fa
--- /dev/null
+++ b/style/campus.less
@@ -0,0 +1,20 @@
+@import "colors.less";
+
+body[data-page="campus"] #campus-map {
+ /* NOTE: you cannot use all CSS properties here on SVG elements.
+ * Things like border-radius and box-shadow do not work here. */
+ svg {
+ .building {
+ stroke: @color-campus-building-border;
+ stroke-width: 3;
+ fill: @color-campus-building-fill;
+ opacity: .3;
+
+ &:hover {
+ opacity: .7;
+ stroke-width: 6;
+ }
+ }
+ }
+}
+/* vim: set sw=4 et ts=4: */