diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-03-25 22:05:10 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-03-25 22:05:10 +0100 |
commit | e590c206013bef0d991fa3e187b161f194323653 (patch) | |
tree | 274252f58b695d109b8c113ecc97a7d434836735 /style/campus.less | |
parent | 1e05ce0dd20a627183b7fa0db95d8b74e600ee63 (diff) | |
download | site-e590c206013bef0d991fa3e187b161f194323653.tar.gz |
Start with campus map
Diffstat (limited to 'style/campus.less')
-rw-r--r-- | style/campus.less | 20 |
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: */ |