body { font-family: var(--site-font); font-size: 1.1rem; line-height: 1.6; background-color: var(--dark-color); color: var(--light-color); } ::selection { background-color: var(--vermillion); color: var(--dark-color); } p { margin: 1.5em auto; line-height: 2rem; } strong { font-weight: 800; } h1, h2, h3, h4, h5, h6 { margin: 1.5em 0 0.8em; font-family: var(--site-font); font-weight: 600; line-height: 1.1em; } h1 { margin-top: 0; text-transform: uppercase; font-size: 2.9rem; } h1.primary-title { font-size: clamp(2.6rem, 4.5vw, 3.5rem); } h2 { font-size: 2.2rem; } h3 { font-size: 1.7rem; } h4 { font-size: 1.4rem; } h5 { font-size: 1.2rem; font-weight: 600; } h6 { font-size: 1rem; font-weight: 600; } ul, ol { padding-left: 1.5rem; } button { cursor: pointer; color: var(--light-color); background-color: var(--dark-color); border: 2px solid var(--vermillion); padding: 0.5rem 1rem; } details { display: flex; flex-direction: column; align-items: flex-start; background-color: var(--dark-color); padding: 10px 10px 0; margin: 1em 0; border: 2px solid var(--light-color); } summary { display: list-item; background-color: var(--dark-color); padding: 10px; margin: -10px -10px 0; cursor: pointer; outline: none; } hr { border: none; height: 1px; background-image: linear-gradient(to right, #242424ff, var(--vermillion), #242424ff); margin: 2.5rem 0; } .swatch { max-width: min-content; padding: 0.5rem 1rem; } .note { border: 1px solid var(--light-color); margin: 1rem 0; padding: 1rem; display: flex; flex-direction: column-reverse; } .note__reply { display: flex; justify-content: flex-end; } .note__reply a { display: flex; line-height: 1rem; align-items: center; } .note__reply svg { margin-left: 0.5rem; } .note__content:last-child { margin-bottom: 0; } .note__content img { max-width: 400px; width: 100%; margin: auto; } .note__time { font-style: italic; } .demo { margin: 2rem 0; position: relative; padding: 0.75rem; border: var(--demo-border-width) solid var(--vermillion); } .demo::after { content: "Demo"; position: absolute; right: 1rem; top: calc(-1 * var(--demo-border-width)); font-family: var(--site-font); font-weight: 600; font-size: 0.8rem; padding: 0 0.25rem; text-transform: uppercase; line-height: 1; background: var(--dark-color); color: var(--vermillion); } .demo[data-demo-label]::after { content: attr(data-demo-label); } .posts { margin: 1.5rem auto; list-style: none; padding-left: 0; } .posts .subhed { padding: 0; font-size: 1.5rem; border-bottom: 1px dotted var(--light-color); line-height: 140%; display: flex; justify-content: space-between; align-items: center; margin-top: 1em; margin-bottom: 4px; } .posts .subhed:first-child { margin-top: 0; } .posts .date { display: block; margin-right: 1rem; min-width: max-content; float: right; font-style: italic; } .posts .post { display: flex; justify-content: space-between; flex-direction: column-reverse; align-content: flex-start; } .posts li { position: relative; padding-top: 8px; padding-bottom: 8px; margin-bottom: 6px; } .posts .post-link { display: inline; padding: 0; margin-right: 6px; font-size: 1.4rem; line-height: 110%; } .inline { padding: 0; } .inline li { display: inline-block; padding: 0 0.2em; margin: 0.2em 0; } a, :visited, a:focus, a:active { text-decoration: underline; color: var(--vermillion); } a:hover { text-decoration: none; } a.button { line-height: 36px; min-width: 150px; display: inline-block; background-color: var(--dark-color); padding: 2px 4px; text-align: center; color: var(--vermillion); cursor: pointer; overflow-wrap: break-word; vertical-align: middle; border: 2px solid var(--vermillion); text-decoration: none; text-shadow: none; /* font-size: 1rem; */ } a.button:hover { border: 2px dashed var(--vermillion); } pre { overflow: auto; margin-left: -0.75rem; margin-right: -0.75rem; width: calc(100% + 1.5rem); border: 1px solid var(--muted-color); } :not(pre)>code, :not(pre)>code[class*="language-"] { background-color: color-mix(in srgb, var(--light-color), #000 15%); /* darken the light color */ color: var(--dark-color); font-size: 1rem; font-family: var(--mono-font); padding: 2px 5px; white-space: break-spaces; } /* Site Navigation */ header { width: 100%; display: flex; flex-direction: row; } table { border-collapse: collapse; } blockquote { font-size: 1.1em; color: var(--muted-color); margin: 1.5em 0; padding: 0 1em; max-width: 30em; border-left: 6px solid #ddd; font-style: italic; } table { border-collapse: collapse; min-width: 100%; } tr { border-bottom: 1px solid #ddd; } th { text-align: left; font-weight: 700; } caption { font-size: 1.3rem; margin-top: 1.5em; border-bottom: 3px solid #ddd; padding-bottom: 0.6em; } td, th { font-size: 1rem; padding: 0.3rem; vertical-align: top; } .site-nav { font-family: var(--site-font); display: flex; flex-direction: column; margin: 0 auto; padding: 0.5rem; max-width: 700px; width: 100%; color: white; justify-content: space-between; } .site-logo { display: flex; flex-direction: row; align-items: center; justify-content: center; } .site-nav>a { color: var(--light-color); text-decoration: none; } .site-nav>a:hover, .site-nav>a:active, .site-nav>a:focus { color: var(--light-color); } .site-logo img { display: inline-block; max-height: 30px; max-width: 30px; background-color: rgba(0, 0, 0, 0); } .site-logo span { margin-left: 0.3em; font-size: 1.5rem; text-transform: uppercase; } .nav-list { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; width: 100%; list-style: none; padding: 0; margin: 0.3em 0 0; } .nav-list li span, .nav-list li a { padding: 0.5rem 0.75rem; display: block; } .nav-list li a { color: var(--light-color); text-decoration: none; } .nav-list li a:hover { outline: 3px dashed var(--vermillion); } .nav-list li.active a { background-color: #444444; } /* Main Block */ main { width: 100%; padding: 0 0.5rem; max-width: 700px; margin: 2rem auto 0; min-height: 80vh; overflow: hidden; } /* Site Footer */ .site-footer { font-family: var(--site-font); padding: 0.5rem; margin-top: 2rem; color: var(--light-color); width: 100%; } .site-footer p { max-width: 700px; padding: 0; margin: 1rem auto; text-align: center; } .site-footer nav { max-width: 700px; margin: 0 auto; } .site-footer nav ul { max-width: 700px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; } .newsletter-form-container { margin: 4rem auto; padding: 1rem; background-color: var(--dark-color); border: var(--demo-border-width) solid var(--light-color); } .newsletter-form-container>* { margin: 1rem; line-height: 1.2; text-align: center; } .newsletter-form-container input, .newsletter-form-container button { width: 100%; padding: 0.5rem 1rem; } .newsletter-form-container button { background-color: var(--vermillion); color: var(--dark-color); border: none; } .newsletter-form-container form { margin: 0; } .visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; } .profile-pic { background-image: linear-gradient(0deg, var(--vermillion), #ffe16c); border-radius: 50%; margin: auto; max-width: 200px; min-width: 150px; width: 50%; height: 50%; box-shadow: 0 8px 24px rgba(17, 17, 26, 0.1), 0 16px 56px rgba(17, 17, 26, 0.1), 0 24px 80px rgba(17, 17, 26, 0.1); } .bounce-in { opacity: 0; animation: bounce-in 1.1s ease 0.5s 1 normal forwards; } /* Ko-fi button */ .kofitext img.kofiimg { height: 15px; width: 22px; display: initial; animation: kofi-wiggle 3s infinite; } img.kofiimg { display: initial; vertical-align: middle; padding-top: 0; padding-bottom: 0; border: none; margin-top: 0; margin-right: 5px; margin-left: 0; margin-bottom: 3px; } span.kofitext { color: var(--light-color); letter-spacing: -0.15px; text-wrap: none; vertical-align: middle; line-height: 33px; padding: 0; text-align: center; text-decoration: none; } a.kofi-button { line-height: 36px; min-width: 150px; display: inline-block; background-color: var(--dark-color); padding: 2px 12px; text-align: center; color: var(--vermillion); cursor: pointer; overflow-wrap: break-word; vertical-align: middle; border: 2px solid var(--vermillion); text-decoration: none; text-shadow: none; font-size: 1rem; } .feed-icon { fill: var(--light-color); } @keyframes kofi-wiggle { 0% { transform: rotate(0) scale(1); } 60% { transform: rotate(0) scale(1); } 75% { transform: rotate(0) scale(1.12); } 80% { transform: rotate(0) scale(1.1); } 84% { transform: rotate(-10deg) scale(1.1); } 88% { transform: rotate(10deg) scale(1.1); } 92% { transform: rotate(-10deg) scale(1.1); } 96% { transform: rotate(10deg) scale(1.1); } 100% { transform: rotate(0) scale(1); } } @keyframes bounce-in { 0% { animation-timing-function: ease-in; opacity: 0; transform: translateY(-55px); } 24% { opacity: 1; } 40% { animation-timing-function: ease-in; transform: translateY(-24px); } 65% { animation-timing-function: ease-in; transform: translateY(-12px); } 82% { animation-timing-function: ease-in; transform: translateY(-6px); } 93% { animation-timing-function: ease-in; transform: translateY(-3px); } 25%, 55%, 75%, 87% { animation-timing-function: ease-out; transform: translateY(0); } 100% { animation-timing-function: ease-in; opacity: 1; transform: translateY(0); } } @media screen and (min-width: 720px) { body { font-size: 1.2rem; } main { overflow: visible; } p { line-height: inherit; } .posts .post { flex-direction: row; } .demo { margin: 2rem -0.75rem; } .newsletter-form-container form { display: flex; flex-direction: row; } .newsletter-form-container button { max-width: max-content; } } @media screen and (min-width: 860px) { pre { margin-left: -5rem; margin-right: -5rem; width: calc(100% + 10rem); } } @media print { * { font-size: 12px; } }