blob: 60b28d7d0fa8cde32b9621b510c55bb5fbade440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
@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: 6;
fill: @color-campus-building-fill;
opacity: .5;
&:hover {
opacity: .7;
stroke-width: 9;
}
}
}
}
body[data-page="campus"] {
img.description-picture {
float: right;
margin-left: 1em;
}
}
@media (max-width: 800px) {
/* do not bother showing large elements */
body[data-page="campus"] {
#campus-map {
display: none;
}
img.description-picture {
&.large {
display: none;
}
}
}
}
/* vim: set sw=4 et ts=4: */
|