@import "design/normalize"; @import "design/definitions"; @import "design/fonts/nunito"; @import "design/fonts/sauna_mono"; @import "design/typography"; @import "design/_scales"; @import "components/code"; :root { font-size: calc(clamp(0.875rem, 0.725rem + 0.6666vw, 1.125rem)); font-family: "Nunito", sans-serif; } body { padding-top: 3.625rem; font-size: calc(clamp(0.875rem, 0.725rem + 0.6666vw, 1.125rem)); font-family: "Nunito", sans-serif; font-weight: 400; } header.navbar { position: fixed; top: 0; left: 0; right: 0; background-color: var(--background-color, #ffffff); .identity { margin-right: 1rem; font-size: 1.375rem; padding: 0.325rem 0 0.325rem 0; font-weight: 700; white-space: nowrap; color: var(--text-color, #1f000d); text-decoration: none; } } article.text-article { max-width: 30em; } .container { padding-right: calc(clamp(0.5rem, -0.7rem + 5.3333vw, 2.5rem)); padding-left: calc(clamp(0.5rem, -0.7rem + 5.3333vw, 2.5rem)); margin-right: auto; margin-left: auto; } .topic-list { margin-top: 1.5rem; @media screen and (min-width: 541px) { margin-top: 3.5rem; } > h2 { text-align: center; } .topic-cards { margin-top: 1rem; @media screen and (min-width: 541px) { margin-top: 2rem; } display: flex; flex-direction: row; flex-wrap: wrap; flex-gap: 1rem; .topic-card { border-radius: 0.5rem; border: 1px solid var(--border-color, #dadce0); transition: all 0.18s ease; padding: 0.5rem; flex: 0 0 100%; > h3 { text-align: center; a { color: var(--primary-color, #520022); text-decoration: none; &:hover { color: var(--text-color, #1f000d); } } } @media screen and (min-width: 361px) { flex: 0 0 50%; } @media screen and (min-width: 541px) { flex: 0 0 33%; } @media screen and (min-width: 721px) { flex: 0 0 25%; } } } } dl { margin-left: var(--space-m); dt { font-weight: 500; } dd { margin-left: var(--space-m); } }