Compare commits
No commits in common. "3add951354e31ab2249aa17921f575525cd30e82" and "300c1a49d3060d49285f2da3c97f51a6b5404832" have entirely different histories.
3add951354
...
300c1a49d3
|
@ -5,7 +5,6 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<meta name="color-scheme" content="dark light">
|
|
||||||
<title @text="site.name"></title>
|
<title @text="site.name"></title>
|
||||||
|
|
||||||
<meta name="generator" :content="site.generator">
|
<meta name="generator" :content="site.generator">
|
||||||
|
|
|
@ -17,8 +17,8 @@ customElements.define('nav-link', NavLink)
|
||||||
|
|
||||||
<style webc:scoped>
|
<style webc:scoped>
|
||||||
:host {
|
:host {
|
||||||
--colour-solid: var(--primary-colour);
|
--color-solid: var(--primary-colour, pink);
|
||||||
--colour-transparent: var(--primary-colour-25);
|
--color-transparent: var(--primary-colour-25);
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
color: var(--color-transparent);
|
color: var(--color-transparent);
|
||||||
|
|
|
@ -135,13 +135,14 @@ ul.active {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 33vw;
|
font-size: 33vw;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
color: var(--neutral-100);
|
|
||||||
transform: translateY(100px);
|
transform: translateY(100px);
|
||||||
transform-origin: bottom left;
|
transform-origin: bottom left;
|
||||||
|
mix-blend-mode: difference;
|
||||||
transition: opacity ease-in-out 0.1s, transform ease-in-out 0.1s;
|
transition: opacity ease-in-out 0.1s, transform ease-in-out 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menuItem h1.active {
|
#menuItem h1.active {
|
||||||
|
mix-blend-mode: difference;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
transform: translateY(-600px) !important;
|
transform: translateY(-600px) !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,25 +8,21 @@
|
||||||
/* --> BASE STYLES <-- */
|
/* --> BASE STYLES <-- */
|
||||||
:root {
|
:root {
|
||||||
--page-margin-inline: 1em;
|
--page-margin-inline: 1em;
|
||||||
|
/* --neutral-900: #1e1e3cff; */
|
||||||
|
/* --neutral-900-25: #1e1e3c33; */
|
||||||
--neutral-900: #080c11ff;
|
--neutral-900: #080c11ff;
|
||||||
--neutral-900-25: #080c1133;
|
--neutral-900-25: #080c1133;
|
||||||
--neutral-100: #c7c7c7ff;
|
--neutral-100: #c7c7c7ff;
|
||||||
--neutral-100-25: #c7c7c733;
|
--neutral-100-25: #c7c7c733;
|
||||||
|
|
||||||
--primary-colour: var(--neutral-900);
|
--primary-colour: var(--netural-900);
|
||||||
--primary-colour-25: var(--neutral-900-25);
|
--primary-colour-25: var(--netural-900-25);
|
||||||
--bg-colour: #fcfcfcff;
|
--bg-colour: #fcfcfcff;
|
||||||
--bg-colour-25: #fcfcfc33;
|
--bg-colour-25: #fcfcfc33;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: 'fira code', monospace;
|
|
||||||
color: var(--primary-colour);
|
|
||||||
background-color: var(--bg-colour);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body {
|
:root {
|
||||||
--primary-colour: var(--neutral-100);
|
--primary-colour: var(--neutral-100);
|
||||||
--primary-colour-25: var(--neutral-100-25);
|
--primary-colour-25: var(--neutral-100-25);
|
||||||
--bg-colour: var(--neutral-900);
|
--bg-colour: var(--neutral-900);
|
||||||
|
@ -34,6 +30,13 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'fira code', monospace;
|
||||||
|
color: var(--primary-colour);
|
||||||
|
background-color: var(--bg-colour);
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
max-width: 80ch;
|
max-width: 80ch;
|
||||||
}
|
}
|
||||||
|
@ -49,6 +52,7 @@ em {
|
||||||
|
|
||||||
a, a:visited {
|
a, a:visited {
|
||||||
color: var(--primary-colour);
|
color: var(--primary-colour);
|
||||||
|
padding-bottom: 2px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: 1px var(--primary-colour) solid;
|
border-bottom: 1px var(--primary-colour) solid;
|
||||||
transition: color ease 0.5s, border ease 0.2s;
|
transition: color ease 0.5s, border ease 0.2s;
|
||||||
|
@ -57,7 +61,7 @@ a, a:visited {
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
outline: 1px dotted var(--bg-colour);
|
outline: 1px dotted var(--neutral-900);
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|
Loading…
Reference in New Issue