summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElis Eriksson <spelis@spelis.li>2026-07-06 17:40:22 +0200
committerElis Eriksson <spelis@spelis.li>2026-07-06 17:40:22 +0200
commit68ab27803111a97c93fe0c989ec435402f3b2a35 (patch)
tree3d29737b34adca5004e9335b02d70b8226dd84db
parent9a5c95d16444cea8421ce1c73035b11297c2da78 (diff)
downloadspelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.tar
spelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.tar.gz
spelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.tar.bz2
spelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.tar.lz
spelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.tar.xz
spelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.tar.zst
spelis-web-68ab27803111a97c93fe0c989ec435402f3b2a35.zip
add a Web 14 rating and move bass picture to this repo
-rw-r--r--_includes/nav.njk2
-rw-r--r--assets/css/main.css5
-rw-r--r--assets/images/bass.pngbin0 -> 1459134 bytes
-rw-r--r--assets/images/web14.gifbin0 -> 7198 bytes
-rw-r--r--assets/js/transitions.js8
-rw-r--r--content/index.md7
6 files changed, 16 insertions, 6 deletions
diff --git a/_includes/nav.njk b/_includes/nav.njk
index 5227c2f..0285bbe 100644
--- a/_includes/nav.njk
+++ b/_includes/nav.njk
@@ -10,7 +10,7 @@
{%- endfor -%}
{%- for s in site.headerLinks -%}
<li>
- <a no-transition target="_blank" href="{{ s.href }}">{{ s.name }}</a>
+ <a no-transition href="{{ s.href }}">{{ s.name }}</a>
</li>
{%- endfor -%}
</ul>
diff --git a/assets/css/main.css b/assets/css/main.css
index 040d0b9..cb03aaf 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -265,3 +265,8 @@ a.blogpost > h3 {
margin:0;
}
+blockquote {
+ border-left: 2px solid var(--base-3);
+ padding-left: 10px;
+ color: var(--code-text);
+}
diff --git a/assets/images/bass.png b/assets/images/bass.png
new file mode 100644
index 0000000..8092246
--- /dev/null
+++ b/assets/images/bass.png
Binary files differ
diff --git a/assets/images/web14.gif b/assets/images/web14.gif
new file mode 100644
index 0000000..2ffa997
--- /dev/null
+++ b/assets/images/web14.gif
Binary files differ
diff --git a/assets/js/transitions.js b/assets/js/transitions.js
index 0ffdacd..e6d7c85 100644
--- a/assets/js/transitions.js
+++ b/assets/js/transitions.js
@@ -7,14 +7,14 @@ function transitionOut(callback) {
document.body.style.filter = "url(#transition)"
const src = new Number(displacement.getAttribute("scale"));
noise.setAttribute("seed",Math.random() * 1000)
- if (src < 100) {
- displacement.setAttribute("scale", src + 20 + src);
+ if (src < 1000) {
+ displacement.setAttribute("scale", src + 10 + src);
nextFunc = () => transitionOut(callback)
requestAnimationFrame(nextFunc)
} else {
setTimeout(() =>{
document.body.style.filter = ""
- },1000);
+ },10000);
callback()
}
}
@@ -51,4 +51,4 @@ if (noise && displacement) {
})
} else {
console.log("Can't do transitions!!")
-} \ No newline at end of file
+}
diff --git a/content/index.md b/content/index.md
index 1e15805..5c83dd5 100644
--- a/content/index.md
+++ b/content/index.md
@@ -22,9 +22,14 @@ While I'm always learning new things (and there's more I already know), these ar
* FabricMC mod development
* PaperMC plugin development
+This site is rated <a href="https://www.mabsland.com/Adoption.html" target="_blank">Web 14</a>
+
+> This site contains slightly offensive material. High chance of mild swearing, partial nudity, violence and adult themes.
+
+<img src="../assets/images/web14.gif" alt="web14">
</div>
<div style="padding: 0 2em; flex:1">
-<img src="https://share.spelis.li/squierpbass.png" alt="my bass" style="width:100%; height: auto">
+<img src="../assets/images/bass.png" alt="my bass" style="width:100%; height: auto">
</div>
</div>