Dulmage
-UX Developer
+ +UX Developer
+Ottawa, ON
+Background image photographed by: Curtis Dulmage
-+
Curtis Dulmage. Front end web developer. Ottawa, Canada. Here are a few of my most recent projects. Please @@ -35,6 +39,10 @@ const {id, thumbnail} = Astro.props; diff --git a/src/styles/global.css b/src/styles/global.css index 021808a..c988c20 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -37,7 +37,6 @@ --speed-slower: 960ms; --speed-slowest: 1920ms; - /* Consider: `--ease: cubic-bezier(0.6, 0, 0.2, 1)` */ --ease: cubic-bezier(0.64, 0, 0.32, 1); --ease-excite: cubic-bezier(0.18, 0.66, 0.6, 1.22); --ease-bungie: cubic-bezier(0.32, 1.46, 0.54, 1.28); @@ -46,10 +45,12 @@ --focus-offset: -0.6rem; --icon-size: 2rem; + /* Typography */ + --p-size: 1.4rem; --subhead-size: 2.2rem; - --h1-size: 3.2rem; + --h1-size: 3.6rem; --h2-size: 2rem; --h3-size: 1.2rem; --h4-size: 1.8rem; @@ -63,8 +64,13 @@ } @media (--min-desktop) { + --h1-size: 10rem; --p-size: 1.6rem; } + + /* Components */ + --hamburger-height: 2rem; + --hamburger-padding: var(--space-tightest); } ::selection { @@ -77,7 +83,8 @@ html { } body { - cursor: url('../assets/img/cursor-auto.png'), auto; + font-family: 'Outfit Variable', var(--font-stack-sans-serif); + cursor: url('../assets/svg/cursors/CursorAuto.svg'), auto; } /* --- Page load --- */ @@ -189,8 +196,8 @@ main { .heading--1 { font-size: var(--h1-size); - font-weight: 900; - letter-spacing: 0.8rem; + font-weight: 800; + letter-spacing: 1rem; @media (--min-tablet) { letter-spacing: 3rem; @@ -209,10 +216,10 @@ main { .heading--3 { font-size: var(--h3-size); font-weight: 900; - letter-spacing: 0.1rem; + letter-spacing: 0.2rem; @media (--min-tablet) { - letter-spacing: 0.2rem; + letter-spacing: 0.4rem; } } @@ -283,32 +290,18 @@ code, cite, blockquote, figcaption { - cursor: url('../assets/img/cursor-text.png'), text; + cursor: url('../assets/svg/cursors/CursorText.svg'), text; } a, button { &, & * { - cursor: url('../assets/img/cursor-pointer.png'), pointer; + cursor: url('../assets/svg/cursors/CursorPointer.svg'), pointer; } &:active, &:active * { - cursor: url('../assets/img/cursor-pointer-clicked.png'), pointer; + cursor: url('../assets/svg/cursors/CursorPointerClicked.svg'), pointer; } } - -/* -.preload-cursors b { - cursor: url('../assets/img/cursor-drag-clicked.png'), auto; -} -*/ - -.preload-cursors u { - cursor: url('../assets/img/cursor-pointer-clicked.png'), pointer; -} - -.preload-cursors i { - cursor: url('../assets/img/cursor-rock-clicked.png'), pointer; -} diff --git a/src/styles/reset.css b/src/styles/reset.css index 57e2f97..1072498 100644 --- a/src/styles/reset.css +++ b/src/styles/reset.css @@ -84,9 +84,15 @@ meter { /* --- Custom resets --- */ +:root { + --font-stack-sans-serif: Avenir, 'Avenir Next LT Pro', Montserrat, Corbel, + 'URW Gothic', source-sans-pro, sans-serif; + --font-stack-monospace: ui-monospace, 'Cascadia Code', 'Source Code Pro', + Menlo, Consolas, 'DejaVu Sans Mono', monospace; +} + html { - font-family: Avenir, 'Avenir Next LT Pro', Montserrat, Corbel, 'URW Gothic', - source-sans-pro, sans-serif; + font-family: var(--font-stack-sans-serif); font-size: 10px; font-display: swap; line-height: 1; @@ -106,8 +112,7 @@ body { } code { - font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, - 'DejaVu Sans Mono', monospace; + font-family: var(--font-stack-monospace); } svg:not(:root) {