From 88910086aa5aadc9b46a7c1f63952367980ebcfb Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jul 2024 18:39:57 -0500 Subject: [PATCH 1/8] Bring block back on beta --- static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index 5f466e0..d325c25 100644 --- a/static/index.html +++ b/static/index.html @@ -58,7 +58,7 @@ Stats Nerd FAQ {BRANCH_NAME} site - + Blog FileShare
From 1fd04a4e0db628864e643e631b681736e1838cdf Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jul 2024 19:04:53 -0500 Subject: [PATCH 2/8] better CSS --- static/blog/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/blog/style.css b/static/blog/style.css index 38519f5..759c00b 100644 --- a/static/blog/style.css +++ b/static/blog/style.css @@ -61,12 +61,12 @@ a { transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1); } -.textBlock { +.textBlock, code { color: rgb(255, 255, 255); white-space: pre-wrap; background-color: rgb(20, 20, 20); border: 2px lightgray solid; - padding: 0 10px; + padding: 10px; /* font-style: italic; */ font-family: 'Source Code Pro', sans-serif; text-align: center; From 9cc2be998d41575ae0c724de8ad6eb425689de82 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jul 2024 19:09:34 -0500 Subject: [PATCH 3/8] add viois.gay --- constants.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/constants.json b/constants.json index 02da0b6..37a57ee 100644 --- a/constants.json +++ b/constants.json @@ -150,6 +150,13 @@ ], "color": "yellow" }, + { + "words": [ + "viois.gay" + ], + "color": "rgb(200, 150, 255)", + "link": "https://viois.gay" + }, { "words": [ "brain" From 0fa1f4727dfb74e14604bb725519b99c8a3c3bb6 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jul 2024 19:17:55 -0500 Subject: [PATCH 4/8] use block elements for code --- static/blog/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/blog/style.css b/static/blog/style.css index 759c00b..47d0943 100644 --- a/static/blog/style.css +++ b/static/blog/style.css @@ -69,6 +69,7 @@ a { padding: 10px; /* font-style: italic; */ font-family: 'Source Code Pro', sans-serif; + display: block; text-align: center; } @@ -144,4 +145,9 @@ main:nth-of-type(1), .mainDiv { width: 95%; max-width: 1000px; margin: auto; +} + +.note { + color: darkgray; + font-size: 1rem; } \ No newline at end of file From ce0295ca7d2822cf48907280b7c1493d42b4976c Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jul 2024 19:19:49 -0500 Subject: [PATCH 5/8] Code blocks can no longer be highlighted --- pageUpdater.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pageUpdater.js b/pageUpdater.js index 815a83c..9c707af 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -89,8 +89,8 @@ function highlighter(json, full = true) { var element = json[i] if (element.type == "element") { if (element.children.length > 0) { + var valid = true if (element.attributes) { - var valid = true for (var x in element.attributes) { var attribute = element.attributes[x] if (attribute.key == "class" && attribute.value == "value") { @@ -99,6 +99,10 @@ function highlighter(json, full = true) { } } } + + if (element.tagName == "code") { + valid = false + } if (valid) { element.children = highlighter(element.children, full) From 5dddfcc9e065965e98c2d87f02143c95cbe0e3e7 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 14 Jul 2024 16:15:16 -0500 Subject: [PATCH 6/8] New colors ? --- static/root.css | 2 +- static/socials/index.html | 33 --------------------------------- static/style.css | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) diff --git a/static/root.css b/static/root.css index e4b8e44..ef29373 100644 --- a/static/root.css +++ b/static/root.css @@ -11,7 +11,7 @@ } #card { - background-color: rgba(20, 5, 90); + background-color: rgba(10, 5, 90); padding: 15px; border: 2px white solid; margin: 20px auto; diff --git a/static/socials/index.html b/static/socials/index.html index 9841c03..e138111 100644 --- a/static/socials/index.html +++ b/static/socials/index.html @@ -35,39 +35,6 @@

Here's most of the sites you can find me on-
if you needed that for some reason?

{SOCIALS} -

diff --git a/static/style.css b/static/style.css index 7d4b667..b5b363d 100644 --- a/static/style.css +++ b/static/style.css @@ -68,7 +68,7 @@ body { overflow-x: hidden; background-color: rgb(55, 4, 75); - background: linear-gradient(rgb(40, 4, 75), black); + background: linear-gradient(rgb(30, 4, 75), black); background-attachment: local; From b58e3afc88921f1f441cd98002699ce4012cb7e7 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 21 Jul 2024 20:10:47 -0500 Subject: [PATCH 7/8] Fix formatting on songs with funke --- overcomplicatedStatuses.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/overcomplicatedStatuses.js b/overcomplicatedStatuses.js index a7a4705..6f5178f 100644 --- a/overcomplicatedStatuses.js +++ b/overcomplicatedStatuses.js @@ -139,6 +139,8 @@ module.exports = { var text1 = onlyIfExists("
" + activity.song + "", activity.song) || activity.details var text2 = onlyIfExists("By: " + activity.artist, activity.artist) || activity.state var text3 = onlyIfExists("On: " + activity.album, activity.album != activity.song && activity.album) + console.log(text3) + text3 = "bruh" addedHTML += `
@@ -147,8 +149,8 @@ module.exports = {

${activity.name} ${onlyIfExists("
" + text1, text1)} - ${onlyIfExists("
" + text2, text2)} - ${onlyIfExists("
" + text3, text3)} + ${onlyIfExists("
" + makeCompat(text2), text2)} + ${onlyIfExists("
" + makeCompat(text3), text3)} ${onlyIfExists("
" + activityTime(), activityTime())}

From 2dcedf0ff728455d11275ebab4cc3a784bdd09a8 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 21 Jul 2024 20:11:07 -0500 Subject: [PATCH 8/8] oops --- overcomplicatedStatuses.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/overcomplicatedStatuses.js b/overcomplicatedStatuses.js index 6f5178f..53cf1cf 100644 --- a/overcomplicatedStatuses.js +++ b/overcomplicatedStatuses.js @@ -139,8 +139,6 @@ module.exports = { var text1 = onlyIfExists("
" + activity.song + "", activity.song) || activity.details var text2 = onlyIfExists("By: " + activity.artist, activity.artist) || activity.state var text3 = onlyIfExists("On: " + activity.album, activity.album != activity.song && activity.album) - console.log(text3) - text3 = "bruh" addedHTML += `