body { font-family: "Avenir Next", "Corbel", "Helvetica Neue", sans-serif; } header { position: relative; } .subscribe-form { position: absolute; right: 15px; top: 15px; } .subscribe-email { width: 100px; } .tcd-logo h1 { text-indent: -9999em; background-image: url(https://cldup.com/axmhgHyAxt.svg); background-repeat: no-repeat; display: block; width: 50px; height: 30px; margin: 0; padding: 0; } nav { text-align: center; font-size: 14px; margin: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; } nav form { display: inline-block } article { display: block; } main { max-width: 1200px; margin: 0 auto; } header img, section img { max-width: 100%; max-height: 250px; margin-bottom: 10px; } .guide .container-wide img { margin-bottom: 10px; } header img.mini-pic { width: 50%; float: left; margin: 0 10px 3px 0; } header h2, h2, h3 { margin-top: 0; } .headline { border-bottom: 1px solid #eee; margin-bottom: 30px; padding-bottom: 20px; } h1 { font-size: 36px; line-height: 1; margin: 10px; padding: 30px 0 10px 0; /* border-top: 1px solid #eee; */ } h2 { font-size: 22px; } h1, h2, h3, h4, p strong { font-weight: 600; } h4 { margin-top: 0; border-bottom: 1px solid #eee; padding-bottom: 5px; /* font-weight: normal; */ } @media screen and (max-width: 500px) { header img.mini-pic { width: 100%; height: inherit; float: none; display: block; margin: 0 0 10px 0; } h1 { font-size: 28px !important; line-height: 1.2em; } } p, section li, section dl, section a, .headline-container a { font-size: 15px; display: block; margin-bottom: 10px; line-height: 1.2em; } section dl { font-size: 13px; margin-top: 0; grid-template-columns: 40px 1fr; display: grid; margin-bottom: 10px; } dd, dt { display: grid; margin-bottom: 8px; } a { text-decoration: none; } p a, .headline-container p a { display: inline; } .container, .container-wide { display: grid; grid-gap: 20px; margin: 20px 10px 40px 10px; } .container { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); } .container-wide { grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); } .hide-item { float: right; display: inline-block; border: 1px solid #eee; background-color: #fafafa; padding: 0 4px; color: #aaa; } .hide-item:hover { color: #bb0000; border: 1px solid #ccc; cursor: pointer; } .day-over { opacity: 0.4; } .jumbo-emoji { font-size: 120px; text-align:center; margin-top: 0; } section h4:nth-of-type(2), section h4:nth-of-type(3), section h4:nth-of-type(4), section .suggestions { margin-top: 30px; } .crop-mid, .crop-long, .crop-full { width: 100%; object-fit: cover; } .crop-mid { max-height: 100px; } .crop-long { max-height: 150px; } .crop-full { max-height: 250px; } .crop-top { object-position: 100% 0%; } .crop-bottom { object-position: 0% 100%; } .crop-near-top { object-position: 0% 20%; } .crop-near-bottom { object-position: 0% 80%; } footer { margin-top: 30px; width: 100%; text-align: center; } article p, .people p { font-family: "Iowan Old Style", "Apple Garamond", "Palatino", "Georgia", "Times New Roman", serif; line-height: 1.4em; } .suggestions { background-color: #fafafa; padding: 10px; } .guide { margin-top: 10px; padding-bottom: 10px; background-color: #f7ffff; border-top: 1px solid #e4f5f5; border-bottom: 1px solid #e4f5f5; } .people img { width: 120px; height: 120px; border-radius: 100px; } .overview p { margin-top: 0; font-size: 18px; } .container-people { display: grid; width: 100%; } .container-people div { padding: 10px; } .people { display: grid; grid-template-columns: 200px 1fr; width: 100%; } .people img { width: 100%; border-radius: 100px; } .people .info { grid-column: 1; grid-row: 1; } .people img { width: 120px; height: 120px; border-radius: 1000px; object-fit: cover; object-position: 0% 10%; margin: 5px 15px 10px 5px; } .people .details { grid-column: 2; grid-row: 1; } .people h5 { margin-top: 10px; } .people h5 a { font-size: 20px; } .people p { margin-top: 0; margin-bottom: 10px; padding-top: 0; padding-bottom: 10px; } .people h2 { border-bottom: 1px solid #e4f5f5; padding: 10px; } .people h4 { margin-bottom: 5px; } .people ul { list-style: none; padding-left: 5px; } .people li { font-size: 13px; } .people blockquote { max-width: 500px; margin-left: auto; margin-right: auto; } .people blockquote p { font-size: 18px; } @media screen and (max-width: 500px) { .guide-people h1 { text-align: center; } .people { display: block; grid-template-columns: none; width: 100%; } .people img { width: 200px; height: 200px; display: block; margin: 0 auto 20px auto; } .people .info { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #e4f5f5; } .people .info a { display: inline-block; margin-right: 10px; } .container-people { display: block; grid-template-columns: none; } } @media screen and (min-width: 520px) { .people { display: grid; grid-template-columns: 180px 1fr; width: 100%; } .container-people { grid-template-columns: 1fr; } } @media screen and (min-width: 700px) { .container-people { grid-template-columns: 1fr 1fr; } } /* @media screen and (min-width: 920px) { .container-people { grid-template-columns: 1fr 1fr 1fr; } } */ @media screen and (min-width: 1200px) { .container-people { grid-template-columns: 1fr 1fr 1fr 1fr; } }