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"
diff --git a/overcomplicatedStatuses.js b/overcomplicatedStatuses.js
index a7a4705..53cf1cf 100644
--- a/overcomplicatedStatuses.js
+++ b/overcomplicatedStatuses.js
@@ -147,8 +147,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())}
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)
diff --git a/static/blog/style.css b/static/blog/style.css
index 38519f5..47d0943 100644
--- a/static/blog/style.css
+++ b/static/blog/style.css
@@ -61,14 +61,15 @@ 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;
+ 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
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
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;