summaryrefslogtreecommitdiff
path: root/stylesheets/contact.css
blob: fd75a7c43869e97322dbdb688fc7dcba2e781a09 (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
main h1 {
    color: #377d1f;
}

#contact-us dd {
    margin-left: 0;
}

#partners ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-left: 0;
}
#partners ul li {
    list-style: none;
    padding: 0 2em;
}

@media (min-width: 50em) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    main h1 {
        margin-top: 0;
    }

    #contact-us {
        border-right: solid 1px #e05a00;
        /* Try to set this so that border does not go too far below photo. */
        height: 28em;
        padding-right: 1em;
    }
    #partners {
        padding-left: 3em;
    }

    #contact-us dl:not(:first) {
        margin-top: 0.2em;
    }
    #contact-us dl:not(:last) {
        margin-bottom: 0.2em;
    }
    #contact-us dt, #contact-us dd {
        display: inline;
    }

    #contact-us figure {
        margin-left: 0;
        max-width: 80%;
    }

    #contact-us figure img {
        max-width: 100%;
    }

    #partners ul {
        margin-top: 3em;
    }
}

@media (max-width: 50em) {
    main dl, main ul {
        text-align: center;
    }

    #contact-us figure {
        margin: auto;
        max-width: 80%:
    }

    #contact-us figure img {
        max-width: 100%;
    }
}