From fcb176efa90c87f4a81d5d14e3e943d9e768fda2 Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 23 Feb 2024 08:45:06 -0500 Subject: [PATCH] Small visual fixes --- css/Articles.css | 2 ++ css/Code.css | 3 ++- css/Settings.css | 3 ++- css/Tooltip.css | 6 ++++-- generators/Assemble.js | 4 ++-- posts/Autofill.md | 4 +--- posts/FeedForward.md | 3 --- scripts/TextAnimation.js | 4 ++-- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/css/Articles.css b/css/Articles.css index 1de83fb..e893927 100644 --- a/css/Articles.css +++ b/css/Articles.css @@ -19,6 +19,8 @@ max-width: 100%; max-height: 500px; text-align: center; + box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5); + border-radius: 10px; } .Caption { diff --git a/css/Code.css b/css/Code.css index 52add1e..8a419ec 100644 --- a/css/Code.css +++ b/css/Code.css @@ -3,7 +3,7 @@ code { padding-top: 1px; padding-left: 3px; padding-right: 3px; - border-radius: 5px; + border-radius: 10px; display: inline-block; } @@ -11,6 +11,7 @@ pre code { border: 3px solid rgb(30, 30, 30); padding: 15px; padding-top: 12px; + box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5); } pre { diff --git a/css/Settings.css b/css/Settings.css index ce9973f..ea37e85 100644 --- a/css/Settings.css +++ b/css/Settings.css @@ -7,7 +7,7 @@ --link-color: rgb(255, 255, 255); --accent-color-hue: 0; --accent-color-saturation: 100%; - --accent-color-value: 50%; + --accent-color-value: 75%; --accent-color: hsl(var(--accent-color-hue), var(--accent-color-saturation), var(--accent-color-value)); --accent-color-transparent: hsla( var(--accent-color-hue), @@ -21,6 +21,7 @@ calc(var(--accent-color-value) - var(--transparency-percentage)), 0.2 ); + --accent-color-muted: hsl(var(--accent-color-hue), var(--accent-color-saturation), 25%); --font-family: Metropolis; --default-shadow: none; } diff --git a/css/Tooltip.css b/css/Tooltip.css index c886b2c..c46b110 100644 --- a/css/Tooltip.css +++ b/css/Tooltip.css @@ -27,6 +27,8 @@ text-align: center; padding-left: 10px; padding-right: 10px; + box-shadow: 0px 0px 50px black; + pointer-events: none; } .TooltipTextSmall { padding: 3px; @@ -37,11 +39,11 @@ .TooltipActive { transition: var(--transition-length); opacity: 1; - background-color: var(--accent-color); + background-color: var(--accent-color-muted); box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); } .TooltipActiveSmall { - background-color: var(--accent-color); + background-color: var(--accent-color-muted); } .TooltipInactive { diff --git a/generators/Assemble.js b/generators/Assemble.js index b53a70e..ef5a451 100644 --- a/generators/Assemble.js +++ b/generators/Assemble.js @@ -416,13 +416,13 @@ const GenerateBodyV2 = async (Article2, Locale, AvailablePages, AvailablePageSel


-
+ -

` + +

` + Article.date + `

` + diff --git a/posts/Autofill.md b/posts/Autofill.md index 210728d..bd3c50d 100644 --- a/posts/Autofill.md +++ b/posts/Autofill.md @@ -10,9 +10,7 @@ "pinned": true } -> **Disclaimer** -> -> I do not condone cheating in online classes. +> *I do not condone cheating in online classes.* ### What have I been doing? diff --git a/posts/FeedForward.md b/posts/FeedForward.md index 3af1cba..1461b39 100644 --- a/posts/FeedForward.md +++ b/posts/FeedForward.md @@ -17,8 +17,6 @@ Are "neural anti-cheats" like Valve's "VACnet" the solution to cheating in video This article will be discussing how certain input methods, such as mouse movement, can be easily detected by anti-cheat software, and how this problem can be solved through the use of input "humanization" through neural networks. -### VACnet -

Presumed VACnet Patent

@@ -196,7 +194,6 @@ We can save and load it from memory (as an array), or from a file by creating Sa ### References -- [https://github.com/Strayfade/FNN](https://github.com/Strayfade/FNN) - [https://towardsdatascience.com/building-a-neural-network-framework-in-c-16ef56ce1fef](https://towardsdatascience.com/building-a-neural-network-framework-in-c-16ef56ce1fef) - [https://deepai.org/machine-learning-glossary-and-terms/feed-forward-neural-network](https://deepai.org/machine-learning-glossary-and-terms/feed-forward-neural-network) - [https://www.theloadout.com/csgo/vacnet-cheating-patent](https://www.theloadout.com/csgo/vacnet-cheating-patent) diff --git a/scripts/TextAnimation.js b/scripts/TextAnimation.js index 8476bf1..152a116 100644 --- a/scripts/TextAnimation.js +++ b/scripts/TextAnimation.js @@ -39,7 +39,7 @@ const DecryptElements = (Elements) => { let Iter = 0 const DecryptLoop = (i) => { - const DecryptChance = 0.5 + const DecryptChance = 0.66 setTimeout(() => { for (let x = 0; x < Elements.length; x++) { let NewString = '' @@ -54,7 +54,7 @@ const DecryptElements = (Elements) => { } } Elements[x].innerHTML = NewString - //Elements[x].style.filter = `blur(${Math.floor((1 - i / SavedStrings[x].length) * 5)}px)` + Elements[x].style.filter = `blur(${Math.floor((1 - i / SavedStrings[x].length) * 5)}px)` } if (Math.random() < DecryptChance) {