@charset "UTF-8"; @import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap"); *, *:before, *:after { -webkit-box-sizing: border-box; box-sizing: border-box; } html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; -ms-text-size-adjust: none; text-size-adjust: none; } footer, header, nav, section, main { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; } table { border-collapse: collapse; border-spacing: 0; } input { -webkit-appearance: none; border-radius: 0; } /* // __ __ _ _ _ // \ \ / / (_) | | | | // \ \ / /__ _ _ __ _ __ _ | |__ | | ___ ___ // \ \/ // _` || '__|| | / _` || '_ \ | | / _ \/ __| // \ /| (_| || | | || (_| || |_) || || __/\__ \ // \/ \__,_||_| |_| \__,_||_.__/ |_| \___||___/ */ :root { --unit: $unit; --primary: #000; --body: rgba(41, 41, 41, 1); --secondary: rgba(41, 41, 41, 1); --background: white; --border: #333; --hover: #f2f2f2; --pressed: #d9d9d9; --highlight: #00ffff; --highlight-soft: rgba(0, 255, 255, 0.3); } /* || Typography */ :root { --body-copy: "Lora", Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; --headlines: "Raleway", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Helvetica Neue", Helvetica, Arial, sans-serif; } html { color: var(--body); } html { font-size: 15px; } @media screen and (min-width: 320px) { html { font-size: calc( 15px + 5 * ((100vw - 320px) / 880)); } } @media screen and (min-width: 1200px) { html { font-size: 20px; } } html { font-family: var(--body-copy); } /* Headlines */ @-webkit-keyframes float { 0% { -webkit-transform: scale3d(1, 1.05, 1) rotateZ(0.8deg) skewX(-6deg) translateY(3px); transform: scale3d(1, 1.05, 1) rotateZ(0.8deg) skewX(-6deg) translateY(3px); } 100% { -webkit-transform: scale3d(1, 1.1, 1) rotateZ(-2deg) skewX(-2deg) translateY(-3px); transform: scale3d(1, 1.1, 1) rotateZ(-2deg) skewX(-2deg) translateY(-3px); } } @keyframes float { 0% { -webkit-transform: scale3d(1, 1.05, 1) rotateZ(0.8deg) skewX(-6deg) translateY(3px); transform: scale3d(1, 1.05, 1) rotateZ(0.8deg) skewX(-6deg) translateY(3px); } 100% { -webkit-transform: scale3d(1, 1.1, 1) rotateZ(-2deg) skewX(-2deg) translateY(-3px); transform: scale3d(1, 1.1, 1) rotateZ(-2deg) skewX(-2deg) translateY(-3px); } } h1, h2, h3, h4, h5 { font-family: var(--body-copy); } h1:not(.link) a, h2:not(.link) a, h3:not(.link) a, h4:not(.link) a, h5:not(.link) a { text-decoration: none; } h1 { font-size: 2.8561em; line-height: 1.4em; text-decoration: none; letter-spacing: -0.5px; font-weight: 700; margin-bottom: 20px; -webkit-transition: all 0.1s ease-out; transition: all 0.1s ease-out; text-shadow: 10px 10px 0px var(--highlight-soft); -webkit-transform-origin: center; transform-origin: center; -webkit-transform: scale3d(1, 1.1, 1) rotateZ(0.8deg) skewX(-5deg); transform: scale3d(1, 1.1, 1) rotateZ(0.8deg) skewX(-5deg); letter-spacing: 4px; position: relative; } h1 { font-size: 42.8415px; } @media screen and (min-width: 320px) { h1 { font-size: calc( 42.8415px + -6.22041 * ((100vw - 320px) / 880)); } } @media screen and (min-width: 1200px) { h1 { font-size: 36.62109px; } } h1:hover { -webkit-transition: 0.1s ease-in; transition: 0.1s ease-in; -webkit-transform: scale3d(1, 1.1, 1) rotateZ(2deg) skewX(-5deg); transform: scale3d(1, 1.1, 1) rotateZ(2deg) skewX(-5deg); text-shadow: 10px 10px 0px var(--highlight); letter-spacing: 6px; } h1.float { -webkit-animation: float 4s ease alternate infinite; animation: float 4s ease alternate infinite; } h2 { font-size: 2.197em; line-height: 1.3em; text-decoration: none; letter-spacing: -0.4px; font-weight: 600; margin-bottom: 10px; } h2 { font-size: 29.6595px; } @media screen and (min-width: 320px) { h2 { font-size: calc( 29.6595px + -3.29231 * ((100vw - 320px) / 880)); } } @media screen and (min-width: 1200px) { h2 { font-size: 26.36719px; } } h3 { font-size: 1.69em; line-height: 1.4em; text-decoration: none; letter-spacing: 0px; font-weight: 400; font-style: italic; font-family: var(--body-copy); } h3 { font-size: 20.28px; } @media screen and (min-width: 320px) { h3 { font-size: calc( 20.28px + -1.53 * ((100vw - 320px) / 880)); } } @media screen and (min-width: 1200px) { h3 { font-size: 18.75px; } } /* Body Elements */ p { font-size: 1rem; line-height: 1.5; } p:not(:last-child) { margin-bottom: 10px; } code { display: block; padding: 8px 16px; background: rgba(0, 0, 0, 0.05); font-family: Fira Code, monospace; font-style: normal; font-weight: 300; font-size: 13; line-height: 20px; } /* Links */ a[href], a[href]:visited { color: var(--primary); text-underline-offset: 2px; line-height: 1.5; -webkit-transition: all 0.2s; transition: all 0.2s; } a[href]:hover, a[href]:visited:hover { -webkit-transition: all 0.2s; transition: all 0.2s; background-color: var(--highlight-soft); } .text-link, .layout-list a, .post-rich-text p a { opacity: 0.99; } /* Typography Helpers */ .text-uppercase { text-transform: uppercase; } .text-capitalize { text-transform: capitalize; } .text-lowercase { text-transform: lowercase; } /* |x End Typography */ /* ======================== // // _____ _ _ // / ____| (_) | | // | | __ _ __ _ __| | // | | |_ | '__| |/ _` | // | |__| | | | | (_| | // \_____|_| |_|\__,_| // ======================== */ /* Standard grid */ .card-grid, .featured-post-grid { display: -ms-grid; display: grid; background-color: var(--border); -ms-grid-rows: (1fr)[auto-fill]; grid-template-rows: repeat(auto-fill, 1fr); grid-column-gap: 1px; grid-row-gap: 1px; } @media all and (max-width: 700px) { .card-grid, .featured-post-grid { -ms-grid-columns: (minmax(300px, 1fr))[1]; grid-template-columns: repeat(1, minmax(300px, 1fr)); } } @media all and (min-width: 701px) and (max-width: 900px) { .card-grid, .featured-post-grid { -ms-grid-columns: (minmax(300px, 1fr))[2]; grid-template-columns: repeat(2, minmax(300px, 1fr)); } } @media all and (min-width: 901px) and (max-width: 1200px) { .card-grid, .featured-post-grid { -ms-grid-columns: (minmax(300px, 1fr))[3]; grid-template-columns: repeat(3, minmax(300px, 1fr)); } } @media all and (min-width: 1201px) and (max-width: 1500px) { .card-grid, .featured-post-grid { -ms-grid-columns: (minmax(300px, 1fr))[4]; grid-template-columns: repeat(4, minmax(300px, 1fr)); } } @media all and (min-width: 1501px) { .card-grid, .featured-post-grid { -ms-grid-columns: (minmax(300px, 1fr))[auto-fill]; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } } .card-grid > article, .featured-post-grid > article, .card-grid > div, .featured-post-grid > div { background-color: var(--background); width: 100%; overflow: hidden; } .card-grid > article.double-wide, .featured-post-grid > article.double-wide, .card-grid > div.double-wide, .featured-post-grid > div.double-wide { -ms-grid-column-span: 4; grid-column-end: span 4; } .grid-card { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } /* Standard grid card */ .card { display: -webkit-box; display: -ms-flexbox; display: flex; background-color: var(--background); } .card:not(.horizontal) { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .card.horizontal { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; } .card.justified { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } .card:not(.e2e) { padding: 20px; } .card:not(.e2e) > footer { margin-top: 20px; } .card.e2e .content { padding: 20px; padding-bottom: 0; } .card.e2e > footer { padding: 20px; padding-top: 0; } .card .content { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; } .card > footer { -webkit-box-flex: 0; -ms-flex-positive: 0; flex-grow: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; } .card.grid-spacer { display: block; } @media all and (max-width: 700px) { .card.grid-spacer { display: none; } } @media all and (min-width: 701px) and (max-width: 900px) { .card.grid-spacer { display: block; } } @media all and (min-width: 901px) and (max-width: 1200px) { .card.grid-spacer { display: block; } } @media all and (min-width: 1201px) and (max-width: 1500px) { .card.grid-spacer { display: block; } } @media all and (min-width: 1501px) { .card.grid-spacer { display: block; } } /* || Helpers */ .border-all, body, .skip-nav, #post .hero-image-wrapper, #post .hero-image figcaption, #post .edit { border: 1px solid var(--border); } .border-top, #main-content > footer { border-top: 1px solid var(--border); } .border-bottom { border-bottom: 1px solid var(--border); } .border-right, #main-nav { border-right: 1px solid var(--border); } .border-left { border-left: 1px solid var(--border); } /* Icons */ i.icon { display: block; } i.icon-20 { width: 20px; height: 20px; } i.icon-40 { width: 40px; height: 40px; } i.icon.frame { -webkit-box-shadow: inset 0px 0px 0px 1px #333; box-shadow: inset 0px 0px 0px 1px #333; background-color: var(--background); } /* || Layout */ article img { max-width: 100%; } /* Layout Helpers */ .list .list-item { margin-bottom: 20px; } .list .list-item .title { -webkit-box-flex: 2; -ms-flex-positive: 2; flex-grow: 2; -ms-flex-negative: 0; flex-shrink: 0; -ms-flex-preferred-size: 55%; flex-basis: 55%; margin-right: 5%; } .list .list-item .meta { -ms-flex-preferred-size: 40%; flex-basis: 40%; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; -ms-flex-negative: 0; flex-shrink: 0; font-size: 0.8em; } .list .list-item .context { max-width: 80%; } .list .list-item .content { margin-top: 10px; } .layout-frame, #post .hero-image figcaption, #post .edit { padding: 10px 10px; } .layout-frame.large, .layout-card, .skip-nav, .home-header > div, #post header, #post .hero-image figcaption.large, #post .large.edit, #post .post-content { padding: 20px 20px; } .layout-frame-large { padding: 20px 20px; } .layout-card { background-color: var(--background); } .flex-row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } .flex-space-between, .list .list-item header, .list .list-item .meta, .list .list-item .context, .layout-list .list-item header, .layout-list .list-meta, .collapsible-card-list .card-header, .main-nav-link, #main-content > footer { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } .layout-space, ul li, .list .list-item header, .list .list-item .context, .layout-list .list-item:not(:last-child), .layout-list .list-context:not(:last-child), .layout-list .list-header:not(:last-child), .collapsible-card-list .list-item:not(:last-child), .nav-toc li, .post-rich-text h5 { margin-bottom: 10px; } .layout-space-large, .collapsible-card-list .card-header, .nav-top, .nav-search, #post .hero-image-wrapper, #post .edit { margin-bottom: 20px; } .layout-text-columns.two { -webkit-columns: auto 2; columns: auto 2; } .layout-text-columns.three { -webkit-columns: auto 2; columns: auto 2; } .layout-width { display: block; } .layout-width.sixty { max-width: 60%; } .interactable:hover, .collapsible-card-list .card-header .collapse-control .icon:hover { background-color: var(--hover); } .interactable:pressed, .collapsible-card-list .card-header .collapse-control .icon:pressed { background-color: var(--pressed); } /* Layout Lists */ .layout-list .list-item, .layout-list .list-context, .layout-list .list-header { list-style: none; } .layout-list .list-title { -webkit-box-flex: 2; -ms-flex-positive: 2; flex-grow: 2; -ms-flex-negative: 0; flex-shrink: 0; -ms-flex-preferred-size: 55%; flex-basis: 55%; margin-right: 5%; } .layout-list .list-meta { -ms-flex-preferred-size: 40%; flex-basis: 40%; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; -ms-flex-negative: 0; flex-shrink: 0; } .layout-list .list-context { max-width: 500px; } .layout-list .list-content { margin-top: 10px; } .layout-list .list-description { max-width: 80%; } .layout-list p { margin: 0; } .collapsible-card-list { display: -ms-grid; display: grid; position: relative; min-height: 0; -ms-grid-rows: 0.1fr; grid-template-rows: 0.1fr; -ms-grid-columns: auto; grid-template-columns: auto; gap: 1px; background-color: var(--border); } .collapsible-card-list *:not(.bullet-list), .collapsible-card-list *:not(.numbered-list) { list-style: none; } .collapsible-card-list .card-header .collapse-control.active .minus { display: none; } .collapsible-card-list .card-header .collapse-control:not(.active) .plus { display: none; } .collapsible-card-list .list-item[aria-current="section"], .collapsible-card-list .list-item[aria-current="page"] { text-shadow: 2px 4px 2px rgba(0, 255, 255, 0.5); } /* ================================ */ /* Layout Sections */ /* ============================== */ /* Base Layout */ body { min-height: 100vh; background-color: var(--background); } .site-grid { display: -webkit-box; display: -ms-flexbox; display: flex; height: 100%; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } @media all and (min-width: 1677px) { .site-grid { border-right: 1px solid #333; } } @media all and (max-width: 900px) { .site-grid { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } } /* Skip navigation for accessibility */ .skip-nav { position: absolute; margin: 20px; background-color: var(--background); -webkit-transform: translateY(-150%); transform: translateY(-150%); -webkit-transition: -webkit-transform 0.2s; transition: -webkit-transform 0.2s; transition: transform 0.2s; transition: transform 0.2s, -webkit-transform 0.2s; z-index: 99; } .skip-nav:active, .skip-nav:focus-within { -webkit-transform: translateY(0%); transform: translateY(0%); } main { display: -webkit-box; display: -ms-flexbox; display: flex; min-height: 100%; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; } /* ================================ */ /* Main Nav */ /* ============================== */ .brand-link { -webkit-transform: rotateZ(-3deg); transform: rotateZ(-3deg); bottom: 6px; position: relative; } .site-nav nav ul { margin-top: 20px; padding-bottom: 20px; } .site-nav nav li { margin-left: 40px; position: relative; } .site-nav nav li ::before { position: absolute; top: 2px; left: -36px; } .site-nav .posts::before { content: "✏️ "; } .site-nav .work::before { content: "🎒 "; } .site-nav .tips::before { content: "🍎 "; } .site-nav .lists::before { content: "📒 "; } .site-nav .about::before { content: "🌱 "; } #main-nav { display: -webkit-box; display: -ms-flexbox; display: flex; position: relative; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 0; background-color: var(--border); -webkit-box-flex: 0; -ms-flex-positive: 0; flex-grow: 0; -ms-flex-negative: 0; flex-shrink: 0; min-height: 80px; } @media all and (min-width: 900px) { #main-nav { width: 300px; } } #main-nav > *:not(:last-child) { border-bottom: 1px solid var(--border); } #main-nav .footer { background-color: var(--background); -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; } #main-nav .brand-link[aria-current="page"] svg { -webkit-filter: drop-shadow(4px 4px 0px #00ffff); filter: drop-shadow(4px 4px 0px #00ffff); } .nav-top { height: 20px; } .nav-top .brand svg { margin: 2px; } #system-theme-toggle { -webkit-transition: -webkit-transform 0.8s ease-in-out; transition: -webkit-transform 0.8s ease-in-out; transition: transform 0.8s ease-in-out; transition: transform 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out; } #system-theme-toggle:hover { -webkit-transform: rotateZ(90deg); transform: rotateZ(90deg); -webkit-transition: -webkit-transform 0.8s ease-in-out; transition: -webkit-transform 0.8s ease-in-out; transition: transform 0.8s ease-in-out; transition: transform 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out; } .nav-search form { position: relative; padding: 0; border: 1px solid var(--border); } .nav-search form:focus .input[type="submit"] { display: block; } .nav-search form label { display: none; } .nav-search form input { border: 0; background-color: transparent; } .nav-search form input[type="text"] { width: 100%; height: 40px; padding: 10px 10px 10px 40px; border-radius: 0; font-family: var(--body-copy); } .nav-search form input[type="submit"] { display: none; position: absolute; top: 0; right: 0; width: 40px; height: 40px; } .nav-search form .icon { position: absolute; top: 10px; left: 10px; } .nav-toc li > ol { margin-top: 10px; } .nav-toc li li { margin-left: 20px; } .main-nav-link .icon { margin-right: 20px; } /* ================================ */ /* Footer */ /* ============================== */ #main-content > footer { background-color: var(--background); } /* ================================ */ /* Page Layouts */ /* ============================== */ /* --- Home --- */ .featured-post-grid { min-height: 100vh; grid-auto-flow: dense; } .featured-post-grid .card .thumbnail { height: 0; overflow: hidden; position: relative; } .featured-post-grid .card:not(.wide) .thumbnail { padding-top: 100%; } .featured-post-grid .card .thumbnail-1x1, .featured-post-grid .card .thumbnail-2x1 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } @media all and (min-width: 700px) { .featured-post-grid .card.wide { -ms-grid-column-span: 2; grid-column-end: span 2; } .featured-post-grid .card.wide .thumbnail { padding-top: 50%; } .featured-post-grid .card.wide .thumbnail-2x1 { display: block; } .featured-post-grid .card.wide .thumbnail-1x1 { display: none; } } .featured-post-grid .card p { width: 100%; } .featured-post-grid .card img { display: block; } .featured-post-grid .card .content p { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; } .featured-post-grid .card .thumbnail img { width: 100%; height: auto; } .featured-post-grid .card .thumbnail-2x1 { display: none; } .featured-post-grid .card:not(.has-thumbnail) .content p { line-clamp: 15; /* number of lines to show */ -webkit-line-clamp: 15; /* number of lines to show */ } .featured-post-grid .card.has-thumbnail .content p { line-clamp: 6; /* number of lines to show */ -webkit-line-clamp: 6; /* number of lines to show */ } .home-header { display: -ms-grid; display: grid; -ms-grid-columns: (minmax(250px, 1fr))[auto-fit]; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-column-gap: 1px; grid-row-gap: 1px; background-color: var(--border); width: 100%; -ms-grid-column-span: 4; grid-column-end: span 4; } .home-header > div { background-color: var(--background); } .nate-avatar { position: relative; margin-top: 10px; width: 32px; height: 32px; border-radius: 50%; -webkit-transition: all 0.2s ease-in; transition: all 0.2s ease-in; cursor: -webkit-grab; cursor: grab; } .nate-avatar:hover { -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; -webkit-transform: skew(30deg, 12deg) scale(1.4, 2.8) rotateX(30deg); transform: skew(30deg, 12deg) scale(1.4, 2.8) rotateX(30deg); -webkit-box-shadow: 2px 2px 0px var(--highlight); box-shadow: 2px 2px 0px var(--highlight); } /* --- Blog & Post --- */ #blog, #post { -ms-grid-column: 2; grid-column-start: 2; grid-column-end: 4; max-width: 910px; } #post header { border-bottom: 1px solid var(--border); } #post header .inner { max-width: 540px; margin: 0 auto; } #post header h1, #post header h2 { margin-bottom: 10px; } #post .hero-image { position: relative; margin: 0; } #post .hero-image img { display: block; -o-object-fit: cover; object-fit: cover; } #post .hero-image figcaption { position: absolute; right: 20px; bottom: 20px; background-color: var(--background); } #post .edit { display: inline-block; border-left-width: 5px; } #post .post-content { border-bottom: 1px solid var(--border); } #post .post-content .inner { max-width: 540px; margin: 0 auto; } .post-rich-text p:not(:last-child) { margin-bottom: 10px; } .post-rich-text h1, .post-rich-text h2 { margin: 50px 0 10px 0; widows: 2; } .post-rich-text h3, .post-rich-text h4 { margin: 20px 0 10px 0; } /* |x End Layout */ /* Site BG */ .site-bg { position: fixed; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; } /*# sourceMappingURL=inline.css.map */