summaryrefslogtreecommitdiff
path: root/design/sass/_birds.scss
blob: d491f1dac32eb4f73c352b316ca35a89f9688a8f (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
.iframe-wrapper {
    @include constrain_wide()
}

.taxon {
    display: none !important;
}

#birds, .birds {
    .post--title {
        @include fontsize(18);
        a {
            font-style: normal;
            @include fontsize(22);
        }
    }
    .audio-figure {
        audio {
            display: block;
            width: 100%;
        }
        small { display: block;}
    }
    .post--image {
        position: relative;
        width: 100%;
        figcaption {
            opacity: 0;
            @include fancy-sans;
            @include fontsize(13);
            position: absolute;
            bottom: 0;
            text-align: left;
            width: 99%;
            background: rgba(0, 0, 0, 0.75);
            padding: .5em 0 .5em .5em;
            margin-bottom: .5em;
            color: #ccc;

            a {
                color: #ccc;
            }
        }
        img {
            max-width: 100%;
            width: 100%;
            padding: 0;
            background: none;
        }
        .picfull {
            margin: 0;
        }
    }
    .post--image:hover figcaption {
        -webkit-transition: opacity .25s ease-in;
        -moz-transition: opacity .25s ease-in;
        transition: opacity .25s ease-in;
        opacity: 1;
    }
}

.sci {
    font-style: italic;
}
.birds {
    article {
        @include constrain_narrow;
    }
    audio { width: 100%;}
    .audio-figure { 
        margin-top: 2em;
        margin-bottom: 2em;
    }
    article h2, h3 { font-weight: 400;}
    article h2 { margin-bottom: 0;}
    h3 {
        margin-top: 0;
    }
    .map { 
        margin: 0 auto;
        width: 99%; 
        height: 400px; 
        @include breakpoint(beta) {
            @include constrain_narrow;
        }
    }
    #endnode {
        @include breakpoint(beta) {
            text-align: left;
        }
        @include fancy-sans;
        @include fontsize(14);
        margin-top: 4rem;
        h5 {
            @include fontsize(14);
            @include smcaps;
            @include fancy_sans;
            margin-bottom: 1rem;
            margin-top: 2rem;
        }
        ul {
            margin-bottom: 2em;
            li {
            color: lighten($body_font, 30);
            &:before {
              content: "\2022";
              color: lighten($body_font, 30);
              margin-right: .35rem;
          }
        }
        }
        a {
            text-decoration: none;
            color: lighten($body_font, 10);
        }
        &:before {
            @include faded_line_after;
        }
    }
    #detail-map-canvas {
        width: 100vw;
        @include constrain_wide;
        position: relative;
        @include breakpoint(gamma) {
            left: calc(-20%);
        }
        @include breakpoint(delta) {
            left: calc(-38%);
        }
        @include breakpoint(epsilon) {
            left: calc(-45%);
        }
    }
}