Skip to content

Commit

Permalink
Small visual fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
strayfade committed Feb 23, 2024
1 parent 379cb9b commit fcb176e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
2 changes: 2 additions & 0 deletions css/Articles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion css/Code.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ code {
padding-top: 1px;
padding-left: 3px;
padding-right: 3px;
border-radius: 5px;
border-radius: 10px;
display: inline-block;
}

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 {
Expand Down
3 changes: 2 additions & 1 deletion css/Settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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;
}
6 changes: 4 additions & 2 deletions css/Tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions generators/Assemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,13 +416,13 @@ const GenerateBodyV2 = async (Article2, Locale, AvailablePages, AvailablePageSel
<br>
<br>
<br>
<div class="Icobox" style="border: none;">
<div class="Icobox" style="border: none; margin-top: 25px;">
<a class="Link" href="/" style="color: var(--accent-color);">
<svg class="Link" style="margin-bottom: -4px; margin-left: -1px; fill: var(--accent-color);" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 5 50 40"><path xmlns="http://www.w3.org/2000/svg" d="M24 40 8 24 24 8l2.1 2.1-12.4 12.4H40v3H13.7l12.4 12.4Z"/></svg>
Back
</a>
</div>
<p class="ArticleTitleDate" style="margin-top: 50px">` +
<p class="ArticleTitleDate" style="margin-top: 75px">` +
Article.date +
`</p>
<h1 class="ArticleTitle" style="margin-top: 12px">` +
Expand Down
4 changes: 1 addition & 3 deletions posts/Autofill.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
3 changes: 0 additions & 3 deletions posts/FeedForward.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<img src="/assets/images/FeedForward1.png"/>
<p class="Caption">Presumed VACnet Patent</p>

Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions scripts/TextAnimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand All @@ -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) {
Expand Down

0 comments on commit fcb176e

Please sign in to comment.