.content { flex: 1; display: flex; margin-top: 1.6rem; margin-bottom: 3.2rem; article { header { margin-top: 6.4rem; margin-bottom: 3.2rem; text-align: center; h1 { font-size: 4.2rem; line-height: 4.6rem; margin: 0; @media only screen and (max-width: 768px) { font-size: 4rem; line-height: 4.4rem; } } } footer { margin-top: 4rem; .see-also { margin: 3.2rem 0; h3 { margin: 3.2rem 0 1.6rem; } .see-also-list { list-style: none; padding-left: 0; text-align: center; } } } } .post { .post-title { margin-bottom: 0.75em; } .post-meta { i { text-align: center; width: 1.6rem; margin-left: 0; margin-right: 0.5rem; } .date { .posted-on { margin-left: 0; margin-right: 1.5rem; } } } } img { display: block; margin-left: auto; margin-right: auto; } figure { margin: 0; padding: 0; } figcaption p { text-align: center; font-style: italic; font-size: 1.6rem; margin: 0; } .featured-image { display: block; margin-left: auto; margin-right: auto; } } .avatar img { width: 20rem; height: auto; border-radius: 50%; @media only screen and (max-width: 768px) { width: 10rem; } } .list { ul { position: relative; width: 100%; margin: 3.2rem 0 3.2rem 0; list-style: none; padding: 0; @media only screen and (max-width: 768px) { text-align: center; } li { font-size: 1.8rem; @media only screen and (max-width: 768px) { margin: 1.6rem 0 1.6rem 0; } @media only screen and (min-width: 768px) { display: flex; margin-bottom: 0.8rem; } .date { display: inline-block; width: 50%; text-align: right; padding-right: 1.5rem; @media only screen and (max-width: 768px) { width: 100%; text-align: center; font-size: 0.9em; display: block; padding-right: 0; } @media only screen and (min-width: 768px) { display: flex; align-items: start; justify-content: flex-end; } } .title { font-size: 1.8rem; color: $fg-color; font-family: $heading-font-family; font-weight: $heading-font-weight--bold; @media only screen and (min-width: 768px) { padding-left: 1.5rem; max-width: 20ch; } &:hover, &:focus { color: $link-color; } } } } } .centered { display: flex; align-items: center; justify-content: center; .about { text-align: center; h1 { margin-top: 2rem; margin-bottom: 0.5rem; } h2 { margin-top: 1rem; margin-bottom: 0.5rem; font-size: 2.4rem; @media only screen and (max-width: 768px) { font-size: 2rem; } } ul { list-style: none; margin: 3rem 0 1rem 0; padding: 0; li { display: inline-block; position: relative; a { color: $fg-color; text-transform: uppercase; margin-left: 1rem; margin-right: 1rem; font-size: 1.6rem; &:hover, &:focus { color: $link-color; } @media only screen and (max-width: 768px) { font-size: 1.4rem; } i { font-size: 3.2rem; } } } } } .error { text-align: center; h1 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 4.6rem; @media only screen and (max-width: 768px) { font-size: 3.2rem; } } h2 { margin-top: 2rem; margin-bottom: 3.2rem; font-size: 3.2rem; @media only screen and (max-width: 768px) { font-size: 2.8rem; } } } }