borders -> outlines

pyrox.dev cac47b89 c859dc54

verified
Changed files
+3 -3
src
_includes
layouts
static
+1 -1
src/_includes/layouts/home.vto
···
<main class="min-h-screen text-text justify-self-center w-full lg:w-1/2">
<h1 class="mt-8 text-5xl text-bold text-mauve">hi, I'm dish</h1>
{{# Profile picture goes here #}}
-
<div class="h-64 w-64 content-center text-center border-2 mt-4">
+
<div class="h-64 w-64 content-center text-center outline-2 mt-4">
there'll be a picture here in the future, promise!
</div>
<h2 class="text-2xl mt-4">Student, Sysadmin, and UX Crafter</h2>
+2 -2
src/static/styles.css
···
}
@utility callout {
-
@apply border-1 rounded-sm py-2 pl-2 pr-4 border-solid overflow-hidden;
-
border-color: --alpha(var(--callout-color) / 50%);
+
@apply outline-1 rounded-sm py-2 pl-2 pr-4 outline-solid overflow-hidden;
+
outline-color: --alpha(var(--callout-color) / 50%);
margin: 1em 0;
mix-blend-mode: var(--callout-blend-mode);
background-color: --alpha(var(--callout-color) / 15%);