diff --git a/en/blog/index.html b/en/blog/index.html index 510e138..15aa0bd 100644 --- a/en/blog/index.html +++ b/en/blog/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + @@ -80,7 +80,7 @@
  • Installing FL Studio on linux.
    - 4/19/2026 (last edited in 4/22/2026) + 4/19/2026 (last edited in 4/23/2026)

  • @@ -89,7 +89,7 @@
  • On the Recent Changes to App Distribution Requirements in the Android System by Google.
    - 8/29/2025 (last edited in 4/22/2026) + 8/29/2025 (last edited in 4/23/2026)

  • diff --git a/en/index.html b/en/index.html index 1c58d1d..a68179f 100644 --- a/en/index.html +++ b/en/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/en/misc/88x31/index.html b/en/misc/88x31/index.html index b8a2ecd..4df1fc2 100644 --- a/en/misc/88x31/index.html +++ b/en/misc/88x31/index.html @@ -14,10 +14,10 @@ Adrian Victor - 88x31 - - - - + + + + diff --git a/en/misc/bookmarks/index.html b/en/misc/bookmarks/index.html index e8a45ef..8799f03 100644 --- a/en/misc/bookmarks/index.html +++ b/en/misc/bookmarks/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/en/misc/index.html b/en/misc/index.html index 2e7d205..b70838c 100644 --- a/en/misc/index.html +++ b/en/misc/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/global/blog/index.html b/global/blog/index.html index 79dee5c..0809e5e 100644 --- a/global/blog/index.html +++ b/global/blog/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/global/index.html b/global/index.html index 05e7488..49ace86 100644 --- a/global/index.html +++ b/global/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/global/misc/index.html b/global/misc/index.html index d02d675..fe667a2 100644 --- a/global/misc/index.html +++ b/global/misc/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/index.html b/index.html index ee2cfe4..8da5f95 100644 --- a/index.html +++ b/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/posts/android-developer-verification/index.html b/posts/android-developer-verification/index.html index 34c1959..c8b5208 100644 --- a/posts/android-developer-verification/index.html +++ b/posts/android-developer-verification/index.html @@ -14,10 +14,10 @@ Adrian Victor - On the Recent Changes to App Distribution Requirements in the Android System by Google. - - - - + + + + diff --git a/posts/instalando-fl-studio-no-linux/index.html b/posts/instalando-fl-studio-no-linux/index.html index 265cc4e..19577ad 100644 --- a/posts/instalando-fl-studio-no-linux/index.html +++ b/posts/instalando-fl-studio-no-linux/index.html @@ -14,10 +14,10 @@ Adrian Victor - Instalando FL Studio no Linux. - - - - + + + + diff --git a/posts/installing-fl-studio-on-linux/index.html b/posts/installing-fl-studio-on-linux/index.html index 411cd8b..dd83814 100644 --- a/posts/installing-fl-studio-on-linux/index.html +++ b/posts/installing-fl-studio-on-linux/index.html @@ -14,10 +14,10 @@ Adrian Victor - Installing FL Studio on linux. - - - - + + + + diff --git a/posts/verificacao-de-desenvolvedor-no-android/index.html b/posts/verificacao-de-desenvolvedor-no-android/index.html index 6bab423..2c0d2de 100644 --- a/posts/verificacao-de-desenvolvedor-no-android/index.html +++ b/posts/verificacao-de-desenvolvedor-no-android/index.html @@ -14,10 +14,10 @@ Adrian Victor - Sobre as recentes mudanças nos requisitos de distribuição de apps no sistema Android feitas pela Google. - - - - + + + + diff --git a/pt/blog/index.html b/pt/blog/index.html index c845440..43f958f 100644 --- a/pt/blog/index.html +++ b/pt/blog/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + @@ -78,7 +78,7 @@
  • Instalando FL Studio no Linux.
    - 4/19/2026 (editado por último em 4/22/2026) + 4/19/2026 (editado por último em 4/23/2026)

  • @@ -91,7 +91,7 @@
  • Sobre as recentes mudanças nos requisitos de distribuição de apps no sistema Android feitas pela Google.
    - 8/29/2025 (editado por último em 4/22/2026) + 8/29/2025 (editado por último em 4/23/2026)

  • diff --git a/pt/index.html b/pt/index.html index 1be2a0d..44cff28 100644 --- a/pt/index.html +++ b/pt/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/pt/misc/88x31/index.html b/pt/misc/88x31/index.html index a4c17aa..4d188c1 100644 --- a/pt/misc/88x31/index.html +++ b/pt/misc/88x31/index.html @@ -14,10 +14,10 @@ Adrian Victor - 88x31 - - - - + + + + diff --git a/pt/misc/bookmarks/index.html b/pt/misc/bookmarks/index.html index 414acdf..44d2052 100644 --- a/pt/misc/bookmarks/index.html +++ b/pt/misc/bookmarks/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/pt/misc/index.html b/pt/misc/index.html index 219428f..63cdbe3 100644 --- a/pt/misc/index.html +++ b/pt/misc/index.html @@ -14,10 +14,10 @@ Adrian Victor - - - - + + + + diff --git a/school/api-rodrigoribeiro/index.html b/school/api-rodrigoribeiro/index.html index b69a843..07fa05e 100644 --- a/school/api-rodrigoribeiro/index.html +++ b/school/api-rodrigoribeiro/index.html @@ -14,10 +14,10 @@ Adrian Victor - Demonstração da API do Prof. Rodrigo Ribeiro - - - - + + + + diff --git a/school/guia-ifc-novatos/index.html b/school/guia-ifc-novatos/index.html index b392cd5..0263577 100644 --- a/school/guia-ifc-novatos/index.html +++ b/school/guia-ifc-novatos/index.html @@ -14,10 +14,10 @@ Adrian Victor - Guia para novatos no IFC. - - - - + + + + diff --git a/school/telnet-en/index.html b/school/telnet-en/index.html index 68820b9..c6eb906 100644 --- a/school/telnet-en/index.html +++ b/school/telnet-en/index.html @@ -14,10 +14,10 @@ Adrian Victor - Telnet - - - - + + + + diff --git a/school/telnet-pt/index.html b/school/telnet-pt/index.html index 5f02c87..7225a30 100644 --- a/school/telnet-pt/index.html +++ b/school/telnet-pt/index.html @@ -14,10 +14,10 @@ Adrian Victor - Telnet - - - - + + + + diff --git a/static/main.css b/static/main.css index 7ea86c0..09f0cb9 100644 --- a/static/main.css +++ b/static/main.css @@ -618,6 +618,16 @@ div.hs.selected { opacity: 0.6; } +#fixedHint { + position: fixed; + top: 0; + left: 0; + background-color: black; + z-index: 10; + padding: .2em; + outline: thin solid var(--theme-color); +} + #sound { filter: invert(); } diff --git a/static/scripts/tips.js b/static/scripts/tips.js index fa46554..eb108de 100644 --- a/static/scripts/tips.js +++ b/static/scripts/tips.js @@ -1,15 +1,49 @@ -/* This script provides functionality similar to FL Studio's hint panel. */ - +const body = document.querySelector('body'); const elements = document.querySelectorAll('[data-tip]'); const hint = document.querySelector("#headerSubtitle"); const hintPanelDefaultText = hint.innerHTML; +let fixedHint; +let currentObserver; elements.forEach(el => { - el.addEventListener('mouseenter', function() { - hint.innerHTML = `${this.dataset.tip}`; + el.addEventListener('mouseenter', function() { + cleanup(); + + if (currentObserver) { + currentObserver.disconnect(); + } + + currentObserver = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (!entry.isIntersecting) { + fixedHint = document.createElement('p'); + fixedHint.id = "fixedHint"; + fixedHint.innerHTML = el.dataset.tip; + fixedHint.setAttribute('aria-hidden', 'true'); + body.appendChild(fixedHint); + } else { + hint.innerHTML = el.dataset.tip; + } + }) }); - el.addEventListener('mouseleave', function() { - hint.innerHTML = hintPanelDefaultText; - }); + hint.innerHTML = el.dataset.tip; + currentObserver.observe(hint); + }); + + el.addEventListener('mouseleave', function() { + cleanup(); + }); }) + +function cleanup() { + hint.innerHTML = hintPanelDefaultText; + hint.classList.remove('fixed'); + if (fixedHint) { + fixedHint.remove(); + } + if (currentObserver) { + currentObserver.disconnect(); + currentObserver = null; + } +}