xia
xia copied to clipboard
Suggestion: a more generalizable project by using css/html classes instead of ids
Hi, I have recently been working with this project and I would like to share my experience? Probably something that can help the project in the future?
What I have been doing is testing the use of several Xia sidebars inside a blog post, instead of stand-alone sidebar pages.
I managed to make it possible by:
- modifying the sidebar html template and the main.css ids into classes,
- modifying the default id html attributes of each of the templates into convenient ids for each of the sidebars
- modifying the data.js names into distinctive names and associate them to the sidebars accordingly
I think some of those simple changes, in particular the use of well-named classes instead of ids for css, could extend the usability of the tool in different contexts.
Currently I am more into testing this and other technologies so the final product is just a demonstration (even if public):
https://evaristoc.github.io/re-versing/blog/security-and-access/2024/02/17/the-tls-ssl-handshake-hellos.html
Let me know if this was of interest. I also found other things that might be interesting to look at. I can also contribute to source if needed.