Compare commits

...

8 commits

8 changed files with 25 additions and 41 deletions

View file

@ -150,6 +150,13 @@
], ],
"color": "yellow" "color": "yellow"
}, },
{
"words": [
"viois.gay"
],
"color": "rgb(200, 150, 255)",
"link": "https://viois.gay"
},
{ {
"words": [ "words": [
"brain" "brain"

View file

@ -147,8 +147,8 @@ module.exports = {
<p style="text-align: left; font-size: 1.15rem;"> <p style="text-align: left; font-size: 1.15rem;">
<span style="font-size: 1.6rem;">${activity.name}</span> <span style="font-size: 1.6rem;">${activity.name}</span>
${onlyIfExists("<br>" + text1, text1)} ${onlyIfExists("<br>" + text1, text1)}
${onlyIfExists("<br>" + text2, text2)} ${onlyIfExists("<br>" + makeCompat(text2), text2)}
${onlyIfExists("<br>" + text3, text3)} ${onlyIfExists("<br>" + makeCompat(text3), text3)}
${onlyIfExists("<br>" + activityTime(), activityTime())} ${onlyIfExists("<br>" + activityTime(), activityTime())}
</p> </p>
</div> </div>

View file

@ -89,8 +89,8 @@ function highlighter(json, full = true) {
var element = json[i] var element = json[i]
if (element.type == "element") { if (element.type == "element") {
if (element.children.length > 0) { if (element.children.length > 0) {
if (element.attributes) {
var valid = true var valid = true
if (element.attributes) {
for (var x in element.attributes) { for (var x in element.attributes) {
var attribute = element.attributes[x] var attribute = element.attributes[x]
if (attribute.key == "class" && attribute.value == "value") { if (attribute.key == "class" && attribute.value == "value") {
@ -100,6 +100,10 @@ function highlighter(json, full = true) {
} }
} }
if (element.tagName == "code") {
valid = false
}
if (valid) { if (valid) {
element.children = highlighter(element.children, full) element.children = highlighter(element.children, full)
} }

View file

@ -61,14 +61,15 @@ a {
transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1); transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
} }
.textBlock { .textBlock, code {
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
white-space: pre-wrap; white-space: pre-wrap;
background-color: rgb(20, 20, 20); background-color: rgb(20, 20, 20);
border: 2px lightgray solid; border: 2px lightgray solid;
padding: 0 10px; padding: 10px;
/* font-style: italic; */ /* font-style: italic; */
font-family: 'Source Code Pro', sans-serif; font-family: 'Source Code Pro', sans-serif;
display: block;
text-align: center; text-align: center;
} }
@ -145,3 +146,8 @@ main:nth-of-type(1), .mainDiv {
max-width: 1000px; max-width: 1000px;
margin: auto; margin: auto;
} }
.note {
color: darkgray;
font-size: 1rem;
}

View file

@ -58,7 +58,7 @@
<a class="chip" href="./stats">Stats</a> <a class="chip" href="./stats">Stats</a>
<a class="chip" href="./faq">Nerd FAQ</a> <a class="chip" href="./faq">Nerd FAQ</a>
<a class="chip" href="https://{BRANCH_SUB}violets-purgatory.dev">{BRANCH_NAME} site</a> <a class="chip" href="https://{BRANCH_SUB}violets-purgatory.dev">{BRANCH_NAME} site</a>
<!-- <a class="chip" href="./blog">Blog</a> --> <a class="chip" href="./blog">Blog</a>
<a class="chip" href="https://fs.violets-purgatory.dev">FileShare</a> <a class="chip" href="https://fs.violets-purgatory.dev">FileShare</a>
</div> </div>
<div class="customStatus"> <div class="customStatus">

View file

@ -11,7 +11,7 @@
} }
#card { #card {
background-color: rgba(20, 5, 90); background-color: rgba(10, 5, 90);
padding: 15px; padding: 15px;
border: 2px white solid; border: 2px white solid;
margin: 20px auto; margin: 20px auto;

View file

@ -35,39 +35,6 @@
<p>Here's most of the sites you can find me on-<br>if you needed that for some reason?</p> <p>Here's most of the sites you can find me on-<br>if you needed that for some reason?</p>
<div class="grid-container"> <div class="grid-container">
{SOCIALS} {SOCIALS}
<!-- <div class="grid-child">
<div>
<h3>Social Media</h3>
<a class="chip" href="https://floofy.city/@bingus_violet" rel="me">Fedi: bingus_violet&ZeroWidthSpace;@floofy.city</a>
<a class="chip" href="https://www.youtube.com/channel/UChcrBJNJLZucy3TPyGyAY2g">Youtube: {Violet}'s Fiasco</a>
<a class="chip" href="https://ko-fi.com/bingus_violet">Ko-fi: Bingus_{Violet}</a>
<a class="chip" href="https://en.liberapay.com/bingus_violet/">Liberapay: bingus_violet</a>
</div>
</div>
<div class="grid-child">
<div>
<h3>Chat</h3>
<a class="chip" href="https://matrix.to/#/@bingus_violet:matrix.violets-purgatory.dev">Matrix: @bingus_violet:&ZeroWidthSpace;matrix.violets-purgatory.dev</a>
<a class="chip">Discord: bingus_violet</a>
<a class="chip">Revolt: Bingus{Violet}#5573</a>
</div>
</div>
<div class="grid-child">
<div>
<h3>Coding</h3>
<a class="chip" href="https://git.violets-purgatory.dev/bingus_violet/">Forgejo: bingus_violet (git.violets-purgatory.dev)</a>
<a class="chip" href="https://codeberg.org/Bingus_violet">Codeberg: bingus_violet</a>
<a class="chip" href="https://hub.docker.com/u/bingusviolet">Docker: bingusviolet</a>
<a class="chip" href="https://github.com/violets-puragtory">Github: violets-puragtory</a>
</div>
</div>
<div class="grid-child">
<div>
<h3>Games</h3>
<a class="chip" href="https://steamcommunity.com/id/violet-The-Thigh-high-obtainer/">Steam: {Violet}</a>
<a class="chip" href="https://www.roblox.com/users/28347789/profile">Roblox: @bingus_violet</a>
</div>
</div> -->
</div> </div>
<br> <br>
</main> </main>

View file

@ -68,7 +68,7 @@ body {
overflow-x: hidden; overflow-x: hidden;
background-color: rgb(55, 4, 75); 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; background-attachment: local;