chromium fix finally

This commit is contained in:
sundae 2025-09-10 10:19:57 +03:00
parent d2354910c0
commit d6c0697966
No known key found for this signature in database
9 changed files with 45 additions and 27 deletions

View file

@ -121,7 +121,6 @@ article > [aria-label="Postscript"] {
& a { & a {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: scroll;
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
border-radius: var(--round); border-radius: var(--round);

View file

@ -4,6 +4,16 @@
:root { :root {
--view: 18rem; --view: 18rem;
} }
/* i hate default styles >:( and also chrome */
h1, h2 ,h3 ,h4 ,h5 ,h6 {
display: block;
font-size: 2em;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
font-weight: bold;
}
body { body {
font-family: "Rubik", sans-serif; font-family: "Rubik", sans-serif;
@ -29,16 +39,13 @@ main {
details { details {
cursor: pointer; cursor: pointer;
display: flex;
flex-direction: column;
& summary::marker { & summary::marker {
content: none; content: none;
} }
} }
h3 {
font-size: 2rem;
}
.header-anchor { .header-anchor {
display: inline-block; display: inline-block;
transition: color var(--trans), background-color var(--trans); transition: color var(--trans), background-color var(--trans);
@ -101,7 +108,6 @@ article {
& pre { & pre {
display: flex; display: flex;
width: auto; width: auto;
overflow: scroll;
padding: var(--pad-m); padding: var(--pad-m);
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-word; word-break: break-word;

View file

@ -68,6 +68,7 @@ article#bio ul li {
position: absolute; position: absolute;
mask-image: var(--paw); mask-image: var(--paw);
mask-size: contain; mask-size: contain;
mask-repeat: no-repeat;
margin: var(--pad-sm) 0 0 calc(var(--pad-xl)*-1); margin: var(--pad-sm) 0 0 calc(var(--pad-xl)*-1);
} }
&::marker { &::marker {

View file

@ -1,4 +1,4 @@
body > nav::before, body>nav::before,
body::after { body::after {
z-index: -1; z-index: -1;
content: ""; content: "";
@ -11,7 +11,7 @@ body::after {
pointer-events: none; pointer-events: none;
} }
body > nav::before { body>nav::before {
bottom: 0; bottom: 0;
left: 0; left: 0;
mask-size: 150%; mask-size: 150%;
@ -27,7 +27,8 @@ body::after {
-webkit-mask-position-x: 0; -webkit-mask-position-x: 0;
-webkit-mask-position-y: bottom; -webkit-mask-position-y: bottom;
} }
body > nav {
body>nav {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
@ -35,35 +36,44 @@ body > nav {
position: fixed; position: fixed;
width: var(--view); width: var(--view);
height: 100%; height: 100%;
& * svg, & * svg,
li img { li img {
margin: 0 8px 0 8px; margin: 0 8px 0 8px;
width: 20px; width: 20px;
align-self: center; align-self: center;
} }
& details { & details {
display: flex; display: flex;
} }
& ul { & ul {
margin: var(--pad-sm); margin: var(--pad-sm);
padding: 0; padding: 0;
& li, button {
& li,
button {
padding: 0; padding: 0;
align-items: center; align-items: center;
margin-bottom: inherit; margin-bottom: inherit;
& img { & img {
border-radius: 100%; border-radius: 100%;
} }
} }
} }
& svg { & svg {
fill: currentColor; fill: currentColor;
stroke: currentColor; stroke: currentColor;
stroke-width: 0; stroke-width: 0;
} }
& details { & details {
font-size: 1.4rem; font-size: 1.4rem;
} }
& a, & a,
button { button {
display: flex; display: flex;
@ -77,10 +87,12 @@ body > nav {
body { body {
font-family: "Rubik", sans-serif; font-family: "Rubik", sans-serif;
& > nav {
&>nav {
gap: var(--pad-m); gap: var(--pad-m);
border-right-width: 1px; border-right-width: 1px;
border-right-style: solid; border-right-style: solid;
& a, & a,
button { button {
align-items: center; align-items: center;
@ -88,23 +100,25 @@ body {
border-width: 2px; border-width: 2px;
border-radius: var(--round); border-radius: var(--round);
} }
& details { & details {
gap: inherit;
border-radius: var(--round); border-radius: var(--round);
font-weight: bold; font-weight: bold;
} }
& details > summary {
& details>summary {
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 0 var(--pad-lm) 0 0; padding: 0 var(--pad-lm) 0 0;
height: var(--pad-xl); height: var(--pad-xl);
& > svg { &>svg {
transform: rotate(0deg); transform: rotate(0deg);
transition: transform var(--trans); transition: transform var(--trans);
} }
} }
& details:not([open]) > summary {
& details:not([open])>summary {
border-radius: var(--round); border-radius: var(--round);
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
@ -113,11 +127,9 @@ body {
& details[open] { & details[open] {
border-style: solid; border-style: solid;
border-width: 2px; border-width: 2px;
& > summary {
margin-bottom: var(--pad-sm); &>summary svg {
& svg { transform: rotate(45deg);
transform: rotate(45deg);
}
} }
} }
} }

View file

@ -5,7 +5,7 @@ modified: 2025-05-23
blurb: <p>Invalid DateTime. ha, got you.</p> blurb: <p>Invalid DateTime. ha, got you.</p>
avatar: /assets/img/art/sundae_glistening.png avatar: /assets/img/art/sundae_glistening.png
--- ---
### {{page.fileSlug}} ## {{page.fileSlug}}
<time datetime="{{date|ISO}}">{{date|readable}}</time> <time datetime="{{date|ISO}}">{{date|readable}}</time>

View file

@ -4,7 +4,7 @@ date: 2025-06-25
blurb: <p>i hate luxon</p><p><a href="/assets/img/blog/luxon.png"><img src="/assets/img/blog/luxon.png"></a></p> blurb: <p>i hate luxon</p><p><a href="/assets/img/blog/luxon.png"><img src="/assets/img/blog/luxon.png"></a></p>
avatar: /assets/img/art/sundae_lick.gif avatar: /assets/img/art/sundae_lick.gif
--- ---
### {{page.fileSlug}} ## {{page.fileSlug}}
<time datetime="{{date|ISO}}">{{date|readable}}</time> <time datetime="{{date|ISO}}">{{date|readable}}</time>
I haven't worked on much of anything the past 8+ months, and out of the blue, I decided that I wasn't happy with how my website was looking, so I've been spending a couple of weeks working on rewriting the site and writing this post up. I haven't worked on much of anything the past 8+ months, and out of the blue, I decided that I wasn't happy with how my website was looking, so I've been spending a couple of weeks working on rewriting the site and writing this post up.

View file

@ -5,7 +5,7 @@ modified: 2025-09-09
blurb: <p><a href="https://blog.codinghorror.com/the-works-on-my-machine-certification-program/"><img src="/assets/img/blog/works-on-my-machine.png"></a></p><p>whatever i'm using might not necessarily work for you</p> blurb: <p><a href="https://blog.codinghorror.com/the-works-on-my-machine-certification-program/"><img src="/assets/img/blog/works-on-my-machine.png"></a></p><p>whatever i'm using might not necessarily work for you</p>
avatar: /assets/img/art/sundae_glistening.png avatar: /assets/img/art/sundae_glistening.png
--- ---
### {{page.fileSlug}} ## {{page.fileSlug}}
<time datetime="{{date|ISO}}">{{date|readable}}</time> <time datetime="{{date|ISO}}">{{date|readable}}</time>
<section aria-label="Addendum"> <section aria-label="Addendum">

View file

@ -6,6 +6,6 @@ icon: "M10 25H21V22H10Zm4-13H10v3h4v4h3V15h4V12H17V8H14ZM5 3H20l7 7V30H5Z"
{%for update in collections.updates reversed%} {%for update in collections.updates reversed%}
<article> <article>
<h3><time datetime="{{update.page.fileSlug|ISO}}">{{update.page.fileSlug|readable}}</time>{%if update.data.title%}<code>{{update.data.title}}</code>{%endif%}</h3>{{ update.content }} <h2><time datetime="{{update.page.fileSlug|ISO}}">{{update.page.fileSlug|readable}}</time>{%if update.data.title%}<code>{{update.data.title}}</code>{%endif%}</h2>{{ update.content }}
</article> </article>
{%endfor%} {%endfor%}

View file

@ -1,7 +1,7 @@
--- ---
title: "Home" title: "Home"
order: 1 order: 1
icon: "M12 20 L12 30 4 30 4 12 16 2 28 12 28 30 20 30 20 20 Z" icon: "M20 20V30h8V12L16 2 4 12V30h8V20Z"
--- ---
<article id="bio"> <article id="bio">