From e590c206013bef0d991fa3e187b161f194323653 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Wed, 25 Mar 2015 22:05:10 +0100 Subject: Start with campus map --- style/campus.less | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 style/campus.less (limited to 'style/campus.less') 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: */ -- cgit v1.2.1