.markup { -webkit-font-smoothing: antialiased; p a { transition-property: color, padding, margin; transition-duration: 0.3s; transition-timing-function: ease; color: $primary; text-decoration: underline; &:hover { color: #e84992; } } img { max-width: 100%; } hr { overflow: hidden; } blockquote { font-family: $font-secondary; font-weight: 300; font-size: 0.94em; line-height: 1.4; background: $trans-blue-lightest; border: 1px solid $trans-blue; box-shadow: 0 1px 3px rgba($trans-blue,0.5); border-radius: 5px; padding: 15px; color: black; color-adjust: exact; -webkit-print-color-adjust: exact; print-color-adjust: exact; position: relative; overflow: hidden; strong { font-weight: 600; } &::before { font-family: cursive; font-weight: 700; display: block; padding-left: 10px; content: "\201C"; font-size: 50px; position: absolute; left: -10px; top: -16px; color: $trans-blue; text-shadow: 0 1px 3px rgba($trans-blue,0.5); opacity: 0.8; } p:last-child { margin-bottom: 0; } } h1, h2, h3, h4, h5 { clear: left; display: flex; a { text-decoration: inherit; } .header-link { flex: 1; font-size: 0.75em; text-decoration: none; align-self: center; text-align: right; opacity: 0.15; &:hover { opacity: 1; } img { height: 1em; } } + { h1, h2, h3, h4, h5 { .header-link { display: none; } } } &:first-child { .header-link { display: none; } } } h5 { font-weight: 600; font-family: $font-primary; margin-bottom: 0.2rem; font-size: 1.05em; } li p { margin-bottom: 0; margin-top: 0.5em; } li p + ul { margin-bottom: 0.5em; } ul { padding-left: 2em; } code { font-size: 87.5%; color: $gray-900; word-wrap: break-word; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background: $gray-300; padding: 2px; } .center { margin-left: auto; margin-right: auto; margin-bottom: 1em; } } .cw { $cwColor: darken($gray-100, 2%); margin: 0 -1rem 1em; &:first-child { margin-top: -1rem; } padding: 10px 20px; background-color: $cwColor; color-adjust: exact; -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 0.8rem; font-weight: 300; .cw-header { font-weight: 500; margin: 5px -10px; padding: 0px 10px 5px; font-size: 1.2rem; font-family: $font-secondary; p { margin: 0; } } > p:last-child { margin-bottom: 0; } } .two-column-list { @media (min-width: 500px) { h1, h2, h3, h4 { justify-content: center; } } ol, ul { @media (max-width: 400px) { padding-left: 1.5em; } @media (max-width: 500px) { padding-left: 2em; } @media (min-width: 500px) { columns: 2; padding-left: 3em; } @media (min-width: 1100px) { padding-left: 5em; } li { margin-bottom: 0.5em; } p { margin: 0; } } }