Compare commits

...

8 commits

8 changed files with 25 additions and 41 deletions

View file

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

View file

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

View file

@ -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)

View file

@ -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;
}

View file

@ -58,7 +58,7 @@
<a class="chip" href="./stats">Stats</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="./blog">Blog</a> -->
<a class="chip" href="./blog">Blog</a>
<a class="chip" href="https://fs.violets-purgatory.dev">FileShare</a>
</div>
<div class="customStatus">

View file

@ -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;

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>
<div class="grid-container">
{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>
<br>
</main>

View file

@ -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;