summaryrefslogtreecommitdiff
path: root/design/old/v8/_map.scss
blob: f7d958bf123750759c336726b6d81c6d1a703a9e (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.map--wrapper {
    @include constrain_wide;
    max-width: 99%;
    margin-top: 2em;
}
#map-canvas {
    height: 300px;
    img { max-width: 100%; padding: 0; margin: 0; background: none;}
    @include breakpoint(alpha) {
        height: 400px;
    }
    @include breakpoint(beta) {
        height: 500px;
    }
    @include breakpoint(gamma) {
        border: 10px $brown solid;
        width: 80%;
        float: right;
    }
    @include breakpoint(delta) {
        height: 600px;
        width: 84%;
    }
}

.map-legend {
    @include constrain_wide;
    text-align: left;
    &:after {
        content: " ";
        display: table;
        clear: both;
    }
    h4 {
        font-family: sans-serif;
        @include fontsize(14);
        @include smcaps;
        font-weight: bold;
        margin: 1em 0 0.25em;
        @include breakpoint(gamma) {
            @include fontsize(13);
        }
    }
    a { color: $body_font;}
    li {
        display: inline;
        &:after {
            content: ",";
        }
        @include breakpoint(gamma) {
            display: block;
            @include fontsize(13);
            &:after {
                content: "";
            }
        }
    }
}

.infowin {
  h4 {
    margin: 0 0 5px 0;
    font-weight: normal;
  }
  .date {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
  }
  p {
    font-size: 1em;
  }
}