fix(html): Littel html css fix
Build, Test and Push Flask App / docker-build-and-push (push) Successful in 1m16s
Build, Test and Push Flask App / deploy (push) Successful in 1m31s

This commit is contained in:
Black_Raven committed 2026-10-08 20:29:54 +03:00
1 parent d0985375a8
commit 1ea9e22d8f
17 files changed
+270 -22

No files matched your search

+23
View File
@@ -79,6 +79,28 @@
counters.forEach((el) => (el.textContent = el.dataset.count));
}
/* ---------- выдвижной список проектов (тач/клик) ---------- */
const flyoutCards = document.querySelectorAll(".card-flyout");
flyoutCards.forEach((card) => {
card.addEventListener("click", (e) => {
if (e.target.closest("a")) return;
card.classList.toggle("flyout-open");
});
});
document.addEventListener("click", (e) => {
flyoutCards.forEach((card) => {
if (!card.contains(e.target)) card.classList.remove("flyout-open");
});
});
document.addEventListener("keydown", (e) => {
if (e.key === "Escape") {
flyoutCards.forEach((card) => card.classList.remove("flyout-open"));
}
});
/* ---------- печатающийся терминал ---------- */
const typed = document.getElementById("typed");
if (typed) {
@@ -91,6 +113,7 @@
{ t: "sharkey <span class=\"ok\">Up 14 months</span>\n", d: 14 },
{ t: "copyparty <span class=\"ok\">Up 14 months</span>\n", d: 14 },
{ t: "grafana <span class=\"ok\">Up 14 months</span>\n", d: 14 },
{ t: "freshrss <span class=\"ok\">Up 14 months</span>\n", d: 14 },
{ t: "4get <span class=\"ok\">Up 14 months</span>\n", d: 14 },
{ t: '<span class="prompt">$</span> uptime', d: 22 },
{ t: '\n <span class="ok">all systems nominal</span>', d: 14 },