From d8c709468eae183dfad85c4356de65abcd41da22 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 18 Oct 2025 22:27:32 +0200 Subject: [PATCH] Update html/account-me.ejs --- html/account-me.ejs | 38 ++++++++------------------------------ 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/html/account-me.ejs b/html/account-me.ejs index 8d141bd9..1ecd579d 100644 --- a/html/account-me.ejs +++ b/html/account-me.ejs @@ -77,14 +77,6 @@ -webkit-text-fill-color:transparent; margin:0; } - h2{ - margin:0; - font-size:0.9rem; - font-weight:500; - color:var(--muted); - letter-spacing:0.3px; - } - .uid{ font-size:12px; color:var(--muted); @@ -280,17 +272,13 @@ justify-content:center; cursor:pointer; backdrop-filter:blur(10px); + font-size:16px; transition:background .2s ease, transform .2s ease; } .close-view:hover{ background:rgba(255,255,255,0.2); transform:rotate(90deg); } - .close-view svg{ - width:16px; - height:16px; - fill:var(--ink); - } noscript{ display:block; @@ -308,15 +296,15 @@
-
u can select a channel on the left to view it :D
+
u can select a channel on the left to view it
@@ -397,25 +385,15 @@ document.addEventListener("DOMContentLoaded",()=>{ function renderIframe(id,name){ viewer.innerHTML=` -
- -
+
`; title.textContent=name; - const iframe=viewer.querySelector("iframe"); - iframe.addEventListener("load",()=>{ - try{ - const links=iframe.contentDocument.querySelectorAll("a[href]"); - links.forEach(l=>l.setAttribute("target","_blank")); - }catch(e){} - }); - const closeBtn=viewer.querySelector(".close-view"); closeBtn.addEventListener("click",()=>{ - viewer.innerHTML='
u can select a channel on the left to view it :D
'; + viewer.innerHTML='
u can select a channel on the left to view it
'; channels.forEach(c=>c.classList.remove("active")); - title.textContent="nothing selected yet qwq"; + title.textContent="nothing selected yet"; }); }