More fixes

This commit is contained in:
2024-11-17 15:00:45 -05:00
Unverified
parent dd23e5d4db
commit 29cebc99c6
3 changed files with 25 additions and 31 deletions

View File

@@ -2,8 +2,6 @@
title: "Prank Suite" title: "Prank Suite"
image: "featured-image.png" image: "featured-image.png"
--- ---
*[Formally, Weeb Detector](https://www.youtube.com/embed/grI_YSRRoBY) was a prank I made to use on my brother, since he started watching anime. He deserved this punishment fully. I made a video on how to set it up and a code walk-through aswell.*
NOTE: This software can be used maliciously. I am no way responsible for the use of this software and encourage its use in good faith. NOTE: This software can be used maliciously. I am no way responsible for the use of this software and encourage its use in good faith.
## Features ## Features
@@ -12,10 +10,6 @@ NOTE: This software can be used maliciously. I am no way responsible for the use
- Trigger HTML popups - Trigger HTML popups
- Remotely play sounds - Remotely play sounds
- Remotely change the user's wallpaper - Remotely change the user's wallpaper
## Changes since Weeb Detector
- Trigger HTML popups
- Remotely play sounds
- UI Redesign for ease of pranking - UI Redesign for ease of pranking
- Ability to transfer files for all pranks - Ability to transfer files for all pranks

View File

@@ -1,6 +1,6 @@
a { a {
text-decoration: none; text-decoration: none;
color: var(--accent-color); color: var(--body-text-color);
&:hover { &:hover {
color: var(--accent-color-darker); color: var(--accent-color-darker);

View File

@@ -18,30 +18,30 @@
<section class="section-description">{{ .Content }}</section> <section class="section-description">{{ .Content }}</section>
</div> </div>
{{- $image := partialCached "helper/image" (dict "Context" . "Type" "section") .RelPermalink "section" -}} <!-- {{- $image := partialCached "helper/image" (dict "Context" . "Type" "section") .RelPermalink "section" -}}-->
{{ if $image.exists }} <!-- {{ if $image.exists }}-->
<div class="section-image"> <!-- <div class="section-image">-->
{{ if $image.resource }} <!-- {{ if $image.resource }}-->
{{- $Permalink := $image.resource.RelPermalink -}} <!-- {{- $Permalink := $image.resource.RelPermalink -}}-->
{{- $Width := $image.resource.Width -}} <!-- {{- $Width := $image.resource.Width -}}-->
{{- $Height := $image.resource.Height -}} <!-- {{- $Height := $image.resource.Height -}}-->
<!-- -->
{{- if (default true .Page.Site.Params.imageProcessing.cover.enabled) -}} <!-- {{- if (default true .Page.Site.Params.imageProcessing.cover.enabled) -}}-->
{{- $thumbnail := $image.resource.Fill "120x120" -}} <!-- {{- $thumbnail := $image.resource.Fill "120x120" -}}-->
{{- $Permalink = $thumbnail.RelPermalink -}} <!-- {{- $Permalink = $thumbnail.RelPermalink -}}-->
{{- $Width = $thumbnail.Width -}} <!-- {{- $Width = $thumbnail.Width -}}-->
{{- $Height = $thumbnail.Height -}} <!-- {{- $Height = $thumbnail.Height -}}-->
{{- end -}} <!-- {{- end -}}-->
<!-- -->
<img src="{{ $Permalink }}" <!-- <img src="{{ $Permalink }}" -->
width="{{ $Width }}" <!-- width="{{ $Width }}"-->
height="{{ $Height }}" <!-- height="{{ $Height }}" -->
loading="lazy"> <!-- loading="lazy">-->
{{ else }} <!-- {{ else }}-->
<img src="{{ $image.permalink }}" loading="lazy" /> <!-- <img src="{{ $image.permalink }}" loading="lazy" />-->
{{ end }} <!-- {{ end }}-->
</div> <!-- </div>-->
{{ end }} <!-- {{ end }}-->
</div> </div>
</header> </header>