diff --git a/pageUpdater.js b/pageUpdater.js index 36e096c..2918eef 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -45,13 +45,6 @@ function makeStars() { } function converter(html) { - var highTable = Object.keys(highlightedWords) - for (let index = 0; index < highTable.length; index++) { - var term = highTable[index]; - var replacement = `${term}` - html = html.replaceAll(term, replacement) - } - html = html.replaceAll("{BG_EFFECT}", makeStars()) html = html.replaceAll("{COMMIT_COUNT}", commitCount) @@ -62,6 +55,13 @@ function converter(html) { html = html.replaceAll("{RANDOM_TITLE}", titles[Math.floor(Math.random() * titles.length)]) + var highTable = Object.keys(highlightedWords) + for (let index = 0; index < highTable.length; index++) { + var term = highTable[index]; + var replacement = `${term}` + html = html.replaceAll(term, replacement) + } + return html } diff --git a/static/index.html b/static/index.html index 7ed2cb8..43f4812 100644 --- a/static/index.html +++ b/static/index.html @@ -26,26 +26,42 @@ {COMMIT_COUNT}

{RANDOM_QUOTE}

-
-

Hi! I'm Violet, a 15 year old web and game developer.
- I aspire to make fast and javascript free websites! I'm currently learning the Godot Engine, and have been - becoming quote fluent in NodeJS.
- Although my site is pretty barebones at the moment due to a recent rewrite, I hope to continue with this +

+

Violet

+
+ +
+

They/Them

+

Developer

+

{DISCORD_STATUS}

+
+
+
+
+ + +

FileShare

+

Socials

+

Projects

+

Donate +

+ + +
+ +

Blog

+

FAQ

+

Dev Branch

+ +
+

Hi! I'm Violet, a 15 year old web and game developer.
+ I aspire to make fast and javascript free websites! I'm currently learning the Godot Engine, and have been + becoming quite fluent in NodeJS.

+
+
+

Although my site is pretty barebones at the moment due to a recent rewrite, I hope to continue with this passion and update this website along with it.

- -
-

Violet

-
- -
-
-

- They/Them
- {RANDOM_TITLE} -

-
-

As is probably very obvious, I'm not great at graphic design at the moment, but I hope to improve upon that as time goes on.
I'm sure you can tell I have a pretty low self esteem too...

diff --git a/static/style.css b/static/style.css index 17b4563..d26b1aa 100644 --- a/static/style.css +++ b/static/style.css @@ -9,6 +9,7 @@ * { font-family: 'Rubik', Verdana, Geneva, Tahoma, sans-serif; padding: 0; + margin: 0; font-weight: 400; text-align: center; color: white; @@ -18,6 +19,13 @@ body { background-color: black; overflow-x: hidden; + background-color: rgb(15, 4, 45); + background: linear-gradient(rgb(20, 4, 55), black); + + background-attachment: local; + + min-height: 100vh; + padding: 25px; animation: hideContent 2.5s; @@ -31,6 +39,44 @@ main { margin: auto; } +a { + color: rgb(175, 225, 255); + display: inline-block; + transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1); +} + +.chip { + position: relative; + z-index: 3; + font-size: 1.3rem; + border: 2px gray solid; + border-radius: 6px; + background-color: black; + padding: 8px; + margin: 3px; + display: inline-block; + transform: scale(0.95); + transition: transform 1.25s cubic-bezier(0.075, 0.82, 0.165, 1), background-color 2s cubic-bezier(0.075, 0.82, 0.165, 1); +} + +.chip, +.chip>* { + text-decoration: none; +} + +.chip:hover { + background-color: rgb(10, 0, 25); + transform: scale(1); + /* font-size: 1.35rem; */ + border-color: white; + transition: transform 0.75s cubic-bezier(0.075, 0.82, 0.165, 1), background-color 3s cubic-bezier(0.075, 0.82, 0.165, 1); +} + +.chip:hover > .smallimg { + background-color: rgb(10, 0, 25); +} + + .animatedTitle { animation: mainText 3s cubic-bezier(0.075, 0.82, 0.165, 1); margin: auto; @@ -45,33 +91,36 @@ hr { p { font-size: 1.25rem; + margin: 5px; } #card { - background-color: rgb(75, 0, 125); - border: 2px lightgray solid; - border-radius: 15px; - max-width: 600px; - margin: auto; -} - -div.sides { - display: inline-block; - width: max(20%, 175px); - padding: 0; - margin: auto; - vertical-align: middle; + background-color: rgb(15, 5, 80); + padding: 15px; + border: 2px white solid; + margin: 20px auto; + width: 95%; + max-width: 800px; + z-index: 3; + position: relative; } .pfp { - width: 125px; - height: 125px; - border: 2px white solid; + border-radius: 15px; + border: darkgray 4px solid; + width: 60%; + aspect-ratio: 1/1; + transform: scale(0.9); border-radius: 50%; - - margin: 25px; } +img { + width: 100%; + max-width: 135px; + transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1); +} + + h2 { font-size: 1.8rem; }