Add CSS to highlighted words

This commit is contained in:
bingus_violet 2024-04-22 10:17:35 -05:00
parent a78542bdf9
commit 4e05808f4f
2 changed files with 3 additions and 2 deletions

View file

@ -77,6 +77,7 @@
"Highlighting": "yellow",
"highlighted": "yellow",
"Forgejo": "orange",
"HTML": "orange"
"HTML": "orange",
"CSS": "rgb(50, 200, 255)"
}
}

View file

@ -27,7 +27,7 @@
<main>
<h3>Why are so many words colored?</h3>
<p>I like the way it looks to have certain words be highlighted, makes it look fancier and easier to read (imo). So, when I remade this site, I went ahead and added an <em>Automatic Word Highlighting System!</em> This allows me have words automatically highlighted, on the server side, without having to do it in the code manually. E.G.</p>
<p>Godot Engine, Javascript, NodeJS, Starwalker, Violet, Asahi, Purgatory, and more :)</p>
<p>Godot Engine, Javascript, NodeJS, Forgejo, Violet, Asahi, CSS, and more :)</p>
<h3>I thought the site doesn't use Javascript? So why is it there?</h3>
<p>Originally, all my sites were completely Javascript free. As of late, though, I decided to add Javascript to this one. Javascript will <b><em>NEVER</em></b> be a requirement on this site. Javascript will ONLY be used where nessacary, and I will do everything possible to make the experience indistinguishable.</p>
<p>For example, things such as the song duration bar on my activities are pure HTML, using some mathy NodeJS-generated CSS animations! The only thing the site uses Javascript for right now, is setting the scroll to the top of the page on reload, and real time updating discord activities.</p>