@use 'constants' as *; @use 'theme'; @use 'shortcodes/callout'; @use 'parts/anchor'; @use 'parts/articles'; @use 'parts/code'; @use 'parts/footnote'; @use 'parts/misc'; @use 'parts/navbar'; @use 'parts/page_title'; @use 'parts/table'; *, *::before, *::after { box-sizing: border-box; } html { font-family: var(--text-font); scroll-behavior: smooth; } body { color: var(--text); background-color: var(--base); font-size: 1rem; line-height: 1.75; margin: 0; } main { max-width: calc(var(--main-width) - 12rem); margin-left: auto; margin-right: auto; } @media only screen and (max-width: $smartphone) { main { max-width: var(--main-width); } } h1 { font-size: 2rem; font-weight: medium; margin-top: 2rem; margin-bottom: 1rem; &.section-title { font-size: 3rem; } } h2 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: medium; } h3 { font-size: 1.2rem; margin-bottom: .6rem; font-weight: medium; } h4 { font-size: 1.1rem; font-weight: medium; } h5 { font-size: 1rem; font-weight: medium; } h6 { font-size: .9rem; font-weight: medium; } p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; } @media only screen and (max-width: $smartphone) { h1 { font-size: 1.5rem; margin-top: 1.3rem; &.section-title { font-size: 2.2rem; } } h2 { font-size: 1.3rem; margin-bottom: 1rem; font-weight: medium; } h3 { font-size: 1.1rem; margin-bottom: .6rem; font-weight: medium; } h4 { font-size: 1rem; font-weight: medium; } h5 { font-size: .9rem; font-weight: 700; } h6 { font-size: .9rem; font-weight: 300; } } p { margin-top: 1.25rem; margin-bottom: 1.25rem; } a { color: var(--blue); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue), transparent 40%); text-decoration-thickness: 0.01rem; text-underline-offset: 0.3rem; &:visited { color: var(--lavender); } &:hover { color: var(--sky); } } li { &::marker { color: var(--overlay1); } } img, video { max-width: 100%; height: auto; margin-left: auto; margin-right: auto; display: block; border-radius: var(--standard-border-radius); }