diff --git a/public/assets/sounds/ambience/383506__klankbeeld__pinewood-in-memoriam-febr-05-nl-giersbergen-33db-170215_1085.flac b/public/assets/sounds/ambience/383506__klankbeeld__pinewood-in-memoriam-febr-05-nl-giersbergen-33db-170215_1085.flac new file mode 100644 index 0000000..ac0ad76 Binary files /dev/null and b/public/assets/sounds/ambience/383506__klankbeeld__pinewood-in-memoriam-febr-05-nl-giersbergen-33db-170215_1085.flac differ diff --git a/public/css/classes.css b/public/css/classes.css index 085eb23..f94105a 100644 --- a/public/css/classes.css +++ b/public/css/classes.css @@ -31,6 +31,11 @@ padding-left: 10px; } +.navbar .navbar-menu { + flex-grow: initial; + flex-shrink: initial; +} + .astro-a { position: absolute; top: -32px; @@ -86,4 +91,158 @@ -webkit-text-fill-color: transparent; background-size: 400%; background-position: 0%; +} + +.astro-a { + position: absolute; + top: -32px; + left: 50%; + transform: translatex(-50%); + width: 220px; + height: auto; + z-index: -1; +} + +.text-gradient { + background-image: var(--accent-gradient); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-size: 400%; + background-position: 0%; +} + +.instructions { + margin-bottom: 2rem; + border: 1px solid rgba(var(--accent-light), 25%); + background: linear-gradient(rgba(var(--accent-dark), 66%), + rgba(var(--accent-dark), 33%)); + padding: 1.5rem; + border-radius: 8px; +} + +.instructions code { + font-size: 0.8em; + font-weight: bold; + background: rgba(var(--accent-light), 12%); + color: rgb(var(--accent-light)); + border-radius: 4px; + padding: 0.3em 0.4em; +} + +.instructions strong { + color: rgb(var(--accent-light)); +} + +.link-card-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr)); + gap: 2rem; + padding: 0; +} + +.custom-btn { + width: 130px; + height: 40px; + color: #4c4f69; + border-radius: 5px; + padding: 10px 25px; + font-family: 'Lato', sans-serif; + font-weight: 500; + background: transparent; + cursor: pointer; + transition: all 0.3s ease; + position: relative; + display: inline-block; + box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), + 7px 7px 20px 0px rgba(0, 0, 0, .1), + 4px 4px 5px 0px rgba(0, 0, 0, .1); + outline: none; +} + +/* 8 */ +.btn-1 { + background-color: #c6d0f5; + background-image: linear-gradient(315deg, #c6d0f5 0%, #fab387 74%); + line-height: 42px; + padding: 0; + border: none; +} + +.btn-1 span { + position: relative; + display: block; + width: 100%; + height: 100%; +} + +.btn-1:before, +.btn-1:after { + position: absolute; + content: ""; + right: 0; + bottom: 0; + background: #fab387; + /*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), + -4px -4px 6px 0 rgba(116, 125, 136, .2), + inset -4px -4px 6px 0 rgba(255,255,255,.5), + inset 4px 4px 6px 0 rgba(116, 125, 136, .3);*/ + transition: all 0.3s ease; +} + +.btn-1:before { + height: 0%; + width: 2px; +} + +.btn-1:after { + width: 0%; + height: 2px; +} + +.btn-1:hover:before { + height: 100%; +} + +.btn-1:hover:after { + width: 100%; +} + +.btn-1:hover { + background: transparent; +} + +.btn-1 span:hover { + color: #fab387; +} + +.btn-1 span:before, +.btn-1 span:after { + position: absolute; + content: ""; + left: 0; + top: 0; + background: #fab387; + /*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), + -4px -4px 6px 0 rgba(116, 125, 136, .2), + inset -4px -4px 6px 0 rgba(255,255,255,.5), + inset 4px 4px 6px 0 rgba(116, 125, 136, .3);*/ + transition: all 0.3s ease; +} + +.btn-1 span:before { + width: 2px; + height: 0%; +} + +.btn-1 span:after { + height: 2px; + width: 0%; +} + +.btn-1 span:hover:before { + height: 100%; +} + +.btn-1 span:hover:after { + width: 100%; } \ No newline at end of file diff --git a/public/css/mystyle.css b/public/css/mystyle.css index e4b32f7..e8f0d32 100644 --- a/public/css/mystyle.css +++ b/public/css/mystyle.css @@ -15,6 +15,34 @@ font-family: system-ui, sans-serif; } +html { + font-family: system-ui, sans-serif; + background: #13151a; + background-size: 224px; +} + +main { + margin: auto; + padding: 1rem; + width: 800px; + max-width: calc(100% - 2rem); + color: white; + font-size: 20px; + line-height: 1.6; +} + +audio { + width: 100%; +} + +h1 { + font-size: 4rem; + font-weight: 700; + line-height: 1; + text-align: center; + margin-bottom: 1em; +} + a:link { color: #89b4fa } diff --git a/public/scripts/cursor.js b/public/scripts/cursor.js new file mode 100644 index 0000000..509d5f1 --- /dev/null +++ b/public/scripts/cursor.js @@ -0,0 +1,196 @@ +// 1 || Math.abs(y-oy)>1) { + ox=x; + oy=y; + for (c=0; c0) sw_min=document.documentElement.clientWidth; + if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight; + } + if (typeof(self.innerWidth)=='number' && self.innerWidth) { + if (self.innerWidth>0 && self.innerWidth0 && self.innerHeight0 && document.body.clientWidth0 && document.body.clientHeight \ No newline at end of file diff --git a/public/scripts/fuckchrome.js b/public/scripts/fuckchrome.js new file mode 100644 index 0000000..3bdc429 --- /dev/null +++ b/public/scripts/fuckchrome.js @@ -0,0 +1,7 @@ + +let chromium = /Chrome|Chromium|OPR|Opera|Edge|UC|QQ|Brave/.test( + navigator.userAgent + ); + let disclaimer = `
`; + if (chromium) + window.location.replace("/nochrome"); \ No newline at end of file diff --git a/public/scripts/rain.js b/public/scripts/rain.js new file mode 100644 index 0000000..1c45c83 --- /dev/null +++ b/public/scripts/rain.js @@ -0,0 +1,112 @@ +// =shigh-16) { + flky[i]=-16; + fldy[i]=2+Math.floor(Math.random()*4); + flkx[i]=2*Math.floor(Math.random()*swide/2); + flks[i].style.left=flkx[i]+"px"; + } + flks[i].style.top=flky[i]+"px"; + } +} +// ]]> \ No newline at end of file diff --git a/src/components/Head.astro b/src/components/Head.astro index cb86951..eb8df9b 100755 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -4,6 +4,9 @@ + + + diff --git a/src/components/Header.astro b/src/components/Header.astro index 45d089a..6d2de0d 100755 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -3,69 +3,14 @@
- -
- diff --git a/src/layouts/Layout-nochrome.astro b/src/layouts/Layout-nochrome.astro new file mode 100755 index 0000000..713fef6 --- /dev/null +++ b/src/layouts/Layout-nochrome.astro @@ -0,0 +1,28 @@ +--- +import Header from "../components/Header.astro"; +import Head from "../components/Head.astro"; +import Footer from "../components/Footer.astro"; +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + + + + + + {title} + + +
+
+
+ +
+
+