contact.css (1297B)
1 main h1 { 2 color: #377d1f; 3 } 4 5 #contact-us dd { 6 margin-left: 0; 7 } 8 9 #partners ul { 10 display: flex; 11 flex-wrap: wrap; 12 align-items: center; 13 justify-content: center; 14 padding-left: 0; 15 } 16 #partners ul li { 17 list-style: none; 18 padding: 0 2em; 19 } 20 21 @media (min-width: 50em) { 22 main { 23 display: grid; 24 grid-template-columns: 1fr 1fr; 25 } 26 27 main h1 { 28 margin-top: 0; 29 } 30 31 #contact-us { 32 border-right: solid 1px #e05a00; 33 /* Try to set this so that border does not go too far below photo. */ 34 height: 28em; 35 padding-right: 1em; 36 } 37 #partners { 38 padding-left: 3em; 39 } 40 41 #contact-us dl:not(:first) { 42 margin-top: 0.2em; 43 } 44 #contact-us dl:not(:last) { 45 margin-bottom: 0.2em; 46 } 47 #contact-us dt, #contact-us dd { 48 display: inline; 49 } 50 51 #contact-us figure { 52 margin-left: 0; 53 max-width: 80%; 54 } 55 56 #contact-us figure img { 57 max-width: 100%; 58 } 59 60 #partners ul { 61 margin-top: 3em; 62 } 63 } 64 65 @media not all and (min-width: 50em) { 66 main dl, main ul { 67 text-align: center; 68 } 69 70 #contact-us figure { 71 margin: auto; 72 max-width: 80%: 73 } 74 75 #contact-us figure img { 76 max-width: 100%; 77 } 78 }