Slay the Spire 2 Wiki
Your deck. Your fate. All the secrets in one place.
Search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<div class="tg-mainpage-header"> | <div class="tg-mainpage-header"> | ||
<div class="tg-mainpage-content"> | <div class="tg-mainpage-content"> | ||
<!-- | <!-- Başlık --> | ||
<div class="tg-mainpage-header-wordmark"> | <div class="tg-mainpage-header-wordmark"> | ||
<span style="font-size: 2.5rem; font-weight: 800 | <span style="font-size: 2.5rem; font-weight: 800;">Slay the Spire 2 Wiki</span> | ||
</div> | </div> | ||
Line 14: | Line 12: | ||
</div> | </div> | ||
<!-- Arama | <!-- Arama tetikleyici buton --> | ||
< | <div class="tg-mainpage-header-search" id="tg-mainpage-search-trigger">Search</div> | ||
</div> | </div> | ||
Line 31: | Line 19: | ||
<templatestyles src="Template:MainHeader/styles.css"/> | <templatestyles src="Template:MainHeader/styles.css"/> | ||
<script> | |||
document.addEventListener("DOMContentLoaded", function () { | |||
const trigger = document.getElementById("tg-mainpage-search-trigger"); | |||
if (trigger) { | |||
trigger.addEventListener("click", function () { | |||
const menuButton = document.querySelector(".mw-ui-icon-element.mw-ui-icon-search"); | |||
if (menuButton) { | |||
menuButton.click(); // Temanın kendi açılır arama çubuğunu tetikler | |||
} | |||
}); | |||
} | |||
}); | |||
</script> |
Slay the Spire 2 Wiki
Your deck. Your fate. All the secrets in one place.
<script> document.addEventListener("DOMContentLoaded", function () {
const trigger = document.getElementById("tg-mainpage-search-trigger"); if (trigger) { trigger.addEventListener("click", function () { const menuButton = document.querySelector(".mw-ui-icon-element.mw-ui-icon-search"); if (menuButton) { menuButton.click(); // Temanın kendi açılır arama çubuğunu tetikler } }); }
}); </script>