style: update names & color

This commit is contained in:
Benjamin Bädorf 2023-10-01 00:32:12 +02:00
parent bb24c02f59
commit b83cb7f48e
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -12,10 +12,14 @@
<link href="/fonts.css?1" rel="stylesheet"> <link href="/fonts.css?1" rel="stylesheet">
<style> <style>
html { html {
--col-accent: blue;
--col-background: #fff;
--col-foreground: #111;
font-family: 'Urbanist', sans-serif; font-family: 'Urbanist', sans-serif;
font-size: 18px; font-size: 18px;
line-height: 1.75; line-height: 1.75;
color: #111111; color: var(--col-foreground);
font-weight: normal; font-weight: normal;
} }
@ -27,7 +31,7 @@
body { body {
padding: 0.5rem; padding: 0.5rem;
background-color: white; background-color: var(--col-background);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -83,18 +87,24 @@
a, a,
a:visited, a:visited,
summary::marker { summary::marker {
color: #ff0083; color: var(--col-accent);
} }
summary, summary,
a { a {
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
transition-property: box-shadow;
transition-duration: 0.2s;
transition-timing-function: ease;
box-shadow: 0 0 0 var(--col-accent);
} }
summary:hover, summary:hover,
a:hover { a:hover {
text-decoration: underline; box-shadow: 0 4px 0 var(--col-accent);
} }
.keywords { .keywords {
@ -115,8 +125,8 @@
} }
.keywords > * { .keywords > * {
background: #ff0083; background: var(--col-accent);
color: white; color: var(--col-background);
padding: 0px 12px; padding: 0px 12px;
border-radius: 16px; border-radius: 16px;
margin-bottom: 2px; margin-bottom: 2px;
@ -135,7 +145,7 @@
</header> </header>
<p> <p>
My name is Ben AKA b12f and I often spend my time engineering software. My names are Ben, Yule, and b12f and I often spend my time engineering software.
</p> </p>
<p> <p>