summaryrefslogtreecommitdiff
path: root/design/sass/_birds.scss
blob: 81149ff27d2888fae3d3c06f7c220f761370a34c (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
.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: 200px; 
        @include constrain_wide;
        @include breakpoint(beta) {
            @include constrain_narrow;
        }
    }
    #endnode {
        @include fancy-sans;
        @include fontsize(14);
        margin-top: 2em;
    }
}