diff options
37 files changed, 276 insertions, 43 deletions
diff --git a/src/Pages/art/portfolio.html b/src/Pages/art/portfolio.html index 367875b..74e1312 100644 --- a/src/Pages/art/portfolio.html +++ b/src/Pages/art/portfolio.html @@ -103,5 +103,15 @@ } }); </script> + <svg style="position:absolute;width:0;height:0;" xmlns="http://www.w3.org/2000/svg"> + <filter id="glitch"> + <feTurbulence numOctaves="1" baseFrequency="0.01 0.1" type="fractalNoise" result="fine" /> + <feComponentTransfer in="displaceRaw" result="displace"> + <feFuncR type="discrete" tableValues="0 .2 .4 .5 .6 .8 1" /> + <feFuncA type="discrete" tableValues="0" /> + </feComponentTransfer> + <feDisplacementMap in="SourceGraphic" in2="displace" xChannelSelector="R" scale="15" /> + </filter> + </svg> </body> </html> diff --git a/src/Pages/contact.html b/src/Pages/contact.html index 9e262d5..7de90cb 100644 --- a/src/Pages/contact.html +++ b/src/Pages/contact.html @@ -31,6 +31,16 @@ <p>© 256phi | 2026 | <a href="/home">Home</a></p> </footer> </div> + <svg style="position:absolute;width:0;height:0;" xmlns="http://www.w3.org/2000/svg"> + <filter id="glitch"> + <feTurbulence numOctaves="1" baseFrequency="0.01 0.1" type="fractalNoise" result="fine" /> + <feComponentTransfer in="displaceRaw" result="displace"> + <feFuncR type="discrete" tableValues="0 .2 .4 .5 .6 .8 1" /> + <feFuncA type="discrete" tableValues="0" /> + </feComponentTransfer> + <feDisplacementMap in="SourceGraphic" in2="displace" xChannelSelector="R" scale="15" /> + </filter> + </svg> <script type="module" src="../Background/main.js"></script> </body> </html> diff --git a/src/Pages/music.html b/src/Pages/music.html index b96bd1d..4f580fd 100644 --- a/src/Pages/music.html +++ b/src/Pages/music.html @@ -20,6 +20,16 @@ <p>© 256phi | 2026 | <a href="/home">Home</a></p> </footer> </div> + <svg style="position:absolute;width:0;height:0;" xmlns="http://www.w3.org/2000/svg"> + <filter id="glitch"> + <feTurbulence numOctaves="1" baseFrequency="0.01 0.1" type="fractalNoise" result="fine" /> + <feComponentTransfer in="displaceRaw" result="displace"> + <feFuncR type="discrete" tableValues="0 .2 .4 .5 .6 .8 1" /> + <feFuncA type="discrete" tableValues="0" /> + </feComponentTransfer> + <feDisplacementMap in="SourceGraphic" in2="displace" xChannelSelector="R" scale="15" /> + </filter> + </svg> <script type="module" src="../Background/main.js"></script> </body> </html> diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Bold.otf b/src/Style/fonts/argonGlow/ArgonGlow-Bold.otf Binary files differnew file mode 100644 index 0000000..74e7cac --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Bold.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Bold.ttf b/src/Style/fonts/argonGlow/ArgonGlow-Bold.ttf Binary files differnew file mode 100644 index 0000000..659f01a --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Bold.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Bold.woff b/src/Style/fonts/argonGlow/ArgonGlow-Bold.woff Binary files differnew file mode 100644 index 0000000..1294fd4 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Bold.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Bold.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-Bold.woff2 Binary files differnew file mode 100644 index 0000000..caf6ff6 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Bold.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.otf b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.otf Binary files differnew file mode 100644 index 0000000..6e3f7f9 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.ttf b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.ttf Binary files differnew file mode 100644 index 0000000..87d3f95 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.woff b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.woff Binary files differnew file mode 100644 index 0000000..6bd5604 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.woff2 Binary files differnew file mode 100644 index 0000000..7dc6448 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-ExtraLight.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Light.otf b/src/Style/fonts/argonGlow/ArgonGlow-Light.otf Binary files differnew file mode 100644 index 0000000..cecece5 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Light.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Light.ttf b/src/Style/fonts/argonGlow/ArgonGlow-Light.ttf Binary files differnew file mode 100644 index 0000000..dd1416f --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Light.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Light.woff b/src/Style/fonts/argonGlow/ArgonGlow-Light.woff Binary files differnew file mode 100644 index 0000000..e0c2004 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Light.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Light.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-Light.woff2 Binary files differnew file mode 100644 index 0000000..08a6637 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Light.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Medium.otf b/src/Style/fonts/argonGlow/ArgonGlow-Medium.otf Binary files differnew file mode 100644 index 0000000..c7de0d0 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Medium.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Medium.ttf b/src/Style/fonts/argonGlow/ArgonGlow-Medium.ttf Binary files differnew file mode 100644 index 0000000..6bdd5d6 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Medium.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Medium.woff b/src/Style/fonts/argonGlow/ArgonGlow-Medium.woff Binary files differnew file mode 100644 index 0000000..8c04b95 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Medium.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Medium.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-Medium.woff2 Binary files differnew file mode 100644 index 0000000..83bb0d9 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Medium.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Regular.otf b/src/Style/fonts/argonGlow/ArgonGlow-Regular.otf Binary files differnew file mode 100644 index 0000000..8129f3f --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Regular.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Regular.ttf b/src/Style/fonts/argonGlow/ArgonGlow-Regular.ttf Binary files differnew file mode 100644 index 0000000..0fb5a52 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Regular.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Regular.woff b/src/Style/fonts/argonGlow/ArgonGlow-Regular.woff Binary files differnew file mode 100644 index 0000000..1ac84db --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Regular.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Regular.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-Regular.woff2 Binary files differnew file mode 100644 index 0000000..601d465 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Regular.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.otf b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.otf Binary files differnew file mode 100644 index 0000000..2b0ba9a --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.ttf b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.ttf Binary files differnew file mode 100644 index 0000000..bc7a55c --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.woff b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.woff Binary files differnew file mode 100644 index 0000000..40d7b19 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.woff2 Binary files differnew file mode 100644 index 0000000..a88f939 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-SemiBold.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Thin.otf b/src/Style/fonts/argonGlow/ArgonGlow-Thin.otf Binary files differnew file mode 100644 index 0000000..265d520 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Thin.otf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Thin.ttf b/src/Style/fonts/argonGlow/ArgonGlow-Thin.ttf Binary files differnew file mode 100644 index 0000000..4969602 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Thin.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Thin.woff b/src/Style/fonts/argonGlow/ArgonGlow-Thin.woff Binary files differnew file mode 100644 index 0000000..7c4b3f9 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Thin.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-Thin.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-Thin.woff2 Binary files differnew file mode 100644 index 0000000..dc950fe --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-Thin.woff2 diff --git a/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.ttf b/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.ttf Binary files differnew file mode 100644 index 0000000..b60a149 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.ttf diff --git a/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.woff b/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.woff Binary files differnew file mode 100644 index 0000000..ab59573 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.woff diff --git a/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.woff2 b/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.woff2 Binary files differnew file mode 100644 index 0000000..7d3aaf4 --- /dev/null +++ b/src/Style/fonts/argonGlow/ArgonGlow-VariableVF.woff2 diff --git a/src/Style/fonts/argonGlow/LICENSE b/src/Style/fonts/argonGlow/LICENSE new file mode 100644 index 0000000..c277e1a --- /dev/null +++ b/src/Style/fonts/argonGlow/LICENSE @@ -0,0 +1,96 @@ +Copyright (c) 2025, The Argon Glow Project Authors (https://codeberg.org/argon/glow), +Copyright (c) 2025, kritzl (kritzl@kritzl.dev), +Copyright (c) 2025, traumweh (traumweh@lyx.sh), +with Reserved Font Name "Argon Glow". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting - in part or in whole - any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/src/Style/style.css b/src/Style/style.css index 439efa6..6079ae1 100644 --- a/src/Style/style.css +++ b/src/Style/style.css @@ -1,12 +1,99 @@ /* Synthwave Terminal */ -/* Define the font */ +/* Color variables */ +:root { + /* Background layers */ + --bg-top: #1a0f2e; + --bg-mid: #090012; + --bg-bottom: #050008; + --bg-panel: rgba(10, 0, 25, 0.6); + --bg-lightbox: rgba(5, 0, 8, 0.95); + + /* Accent — magenta */ + --magenta: #ff00ff; + --magenta-rgb: 255, 0, 255; + --magenta-hover: #ff66ff; + --magenta-hover-rgb: 255, 102, 255; + + /* Accent — cyan */ + --cyan: #00ffff; + --cyan-rgb: 0, 255, 255; + + /* Text */ + --text-primary: #e0d6ff; + --text-subtitle: #c9b6ff; + --text-muted: #888; + --text-black: #000; + + /* Semantic aliases */ + --color-white: #ffffff; + --color-primary: var(--magenta); +} + +/* Fonts */ @font-face { font-family: 'Hacked'; src: url('./fonts/Hacked/Hacked-KerX.ttf') format('truetype'); font-weight: normal; font-style: normal; } + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-Thin.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-Thin.ttf') format('truetype'); + font-weight: 100; + font-style: normal; +} + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-ExtraLight.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-ExtraLight.ttf') format('truetype'); + font-weight: 200; + font-style: normal; +} + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-Light.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-Light.ttf') format('truetype'); + font-weight: 300; + font-style: normal; +} + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-Regular.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-Medium.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-Medium.ttf') format('truetype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-SemiBold.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-SemiBold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; +} + +@font-face { + font-family: 'Argon Glow'; + src: url('./fonts/argonGlow/ArgonGlow-Bold.woff2') format('woff2'), + url('./fonts/argonGlow/ArgonGlow-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} + /* Make canvas sit behind everything */ canvas { position: fixed; @@ -14,6 +101,7 @@ canvas { left: 0; z-index: -1; } + html, body { height: 100%; margin: 0; @@ -24,16 +112,18 @@ html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; } + html { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ +} + body { - background: radial-gradient(ellipse at bottom, #1a0f2e 0%, #090012 60%, #050008 100%); - color: #e0d6ff; + background: radial-gradient(ellipse at bottom, var(--bg-top) 0%, var(--bg-mid) 60%, var(--bg-bottom) 100%); + color: var(--text-primary); font-family: "Courier New", monospace; margin: 0; padding: 0; - } /* Floating terminal panel */ @@ -45,11 +135,11 @@ body { max-width: 800px; margin: 80px auto; padding: 30px; - background: rgba(10, 0, 25, 0.6); - border: 1px solid rgba(255, 0, 255, 0.4); + background: var(--bg-panel); + border: 1px solid rgba(var(--magenta-rgb), 0.4); box-shadow: - 0 0 15px rgba(255, 0, 255, 0.2), - 0 0 40px rgba(0, 255, 255, 0.1); + 0 0 15px rgba(var(--magenta-rgb), 0.2), + 0 0 40px rgba(var(--cyan-rgb), 0.1); backdrop-filter: blur(6px); } @@ -57,11 +147,18 @@ body { h1 { font-size: 42px; text-align: center; - font-family: 'Hacked'; - color: #ff00ff; + font-family: 'Argon Glow'; + font-weight: 700; + font-size: 60px; + color: var(--magenta); text-shadow: - 0 0 5px #ff00ff, - 0 0 15px rgba(255, 0, 255, 0.6); + 0 0 5px var(--magenta), + 0 0 15px rgba(var(--magenta-rgb), 0.6); + filter: + url(#glitch) + drop-shadow(0 0 0.25rem #ffaaff7f) + drop-shadow(0 0 0.5rem #ff55ff4f) + drop-shadow(0 0 1rem #dd44dd5f); } /* Subtitle */ @@ -69,15 +166,15 @@ h1 { text-align: center; font-size: 18px; margin-bottom: 40px; - color: #c9b6ff; + color: var(--text-subtitle); } /* Section headers */ h2 { font-size: 22px; margin-top: 30px; - color: #00ffff; - text-shadow: 0 0 8px rgba(0, 255, 255, 0.6); + color: var(--cyan); + text-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.6); } /* Terminal-style list */ @@ -88,17 +185,17 @@ ul { li::before { content: "> "; - color: #ff00ff; + color: var(--magenta); } /* Links */ a { - color: #00ffff; + color: var(--cyan); text-decoration: none; } a:hover { - text-shadow: 0 0 8px #00ffff; + text-shadow: 0 0 8px var(--cyan); } /* Exclude h1 links */ @@ -114,15 +211,15 @@ textarea, button { font-family: 'Hacked', monospace; font-size: 16px; - background: rgba(10, 0, 25, 0.6); - color: #e0d6ff; - border: 1px solid #ff00ff; + background: var(--bg-panel); + color: var(--text-primary); + border: 1px solid var(--magenta); border-radius: 4px; padding: 10px; outline: none; box-shadow: - 0 0 5px #ff00ff, - 0 0 15px rgba(255, 0, 255, 0.2); + 0 0 5px var(--magenta), + 0 0 15px rgba(var(--magenta-rgb), 0.2); backdrop-filter: blur(4px); transition: all 0.2s ease-in-out; width: 100%; @@ -144,29 +241,29 @@ textarea { /* Hover/focus effects */ input[type="text"]:focus, textarea:focus { - border-color: #00ffff; + border-color: var(--cyan); box-shadow: - 0 0 5px #00ffff, - 0 0 15px rgba(0, 255, 255, 0.2); + 0 0 5px var(--cyan), + 0 0 15px rgba(var(--cyan-rgb), 0.2); } /* Button */ button { cursor: pointer; - background: #ff00ff; - color: #000; + background: var(--magenta); + color: var(--text-black); font-weight: bold; border: none; box-shadow: - 0 0 10px #ff00ff, - 0 0 20px rgba(255, 0, 255, 0.2); + 0 0 10px var(--magenta), + 0 0 20px rgba(var(--magenta-rgb), 0.2); } button:hover { - background: #ff66ff; + background: var(--magenta-hover); box-shadow: - 0 0 15px #ff66ff, - 0 0 30px rgba(255, 102, 255, 0.3); + 0 0 15px var(--magenta-hover), + 0 0 30px rgba(var(--magenta-hover-rgb), 0.3); } /* Footer */ @@ -174,7 +271,7 @@ footer { text-align: center; margin-top: 60px; font-size: 14px; - color: #888; + color: var(--text-muted); } /* Gallery grid */ @@ -188,13 +285,13 @@ footer { .gallery-item { aspect-ratio: 1; overflow: hidden; - border: 1px solid rgba(255, 0, 255, 0.4); + border: 1px solid rgba(var(--magenta-rgb), 0.4); transition: all 0.2s ease-in-out; } .gallery-item:hover { - border-color: #00ffff; - box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); + border-color: var(--cyan); + box-shadow: 0 0 15px rgba(var(--cyan-rgb), 0.4); } .gallery-item img { @@ -211,7 +308,7 @@ footer { left: 0; width: 100%; height: 100%; - background: rgba(5, 0, 8, 0.95); + background: var(--bg-lightbox); z-index: 100; align-items: center; justify-content: center; @@ -224,8 +321,8 @@ footer { .lightbox-img { max-width: 90%; max-height: 90%; - border: 1px solid rgba(255, 0, 255, 0.4); - box-shadow: 0 0 30px rgba(255, 0, 255, 0.3); + border: 1px solid rgba(var(--magenta-rgb), 0.4); + box-shadow: 0 0 30px rgba(var(--magenta-rgb), 0.3); } .lightbox-close { @@ -233,12 +330,12 @@ footer { top: 20px; right: 30px; font-size: 40px; - color: #ff00ff; + color: var(--magenta); cursor: pointer; transition: all 0.2s ease-in-out; } .lightbox-close:hover { - color: #00ffff; - text-shadow: 0 0 10px #00ffff; + color: var(--cyan); + text-shadow: 0 0 10px var(--cyan); } diff --git a/src/index.html b/src/index.html index bbde848..d16437b 100644 --- a/src/index.html +++ b/src/index.html @@ -26,6 +26,16 @@ <p>© 256phi | 2026 | <a href="/contact">Contact Us</a></p> </footer> </div> + <svg style="position:absolute;width:0;height:0;" xmlns="http://www.w3.org/2000/svg"> + <filter id="glitch"> + <feTurbulence numOctaves="1" baseFrequency="0.01 0.1" type="fractalNoise" result="fine" /> + <feComponentTransfer in="displaceRaw" result="displace"> + <feFuncR type="discrete" tableValues="0 .2 .4 .5 .6 .8 1" /> + <feFuncA type="discrete" tableValues="0" /> + </feComponentTransfer> + <feDisplacementMap in="SourceGraphic" in2="displace" xChannelSelector="R" scale="15" /> + </filter> + </svg> <script type="module" src="Background/main.js"></script> </body> </html> |
