diff --git a/accounts.html b/accounts.html index 599c67f..45c8096 100644 --- a/accounts.html +++ b/accounts.html @@ -303,6 +303,11 @@ select:focus { border-color: var(--accent); } inset: 0; z-index: 0; } +.card-avatar { + position: relative; + z-index: 1; + cursor: pointer; +} .card:hover { border-color: var(--accent); @@ -566,6 +571,7 @@ select:focus { border-color: var(--accent); } } .site-footer-inner a:hover { color: var(--accent); } +.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:1000;align-items:center;justify-content:center} .modal-overlay.active{display:flex} .modal-card{background:#1e1e2e;border-radius:16px;max-width:420px;width:90%;overflow:hidden;position:relative} .modal-close{position:absolute;top:.75rem;right:.75rem;background:none;border:none;color:#aaa;font-size:1.2rem;cursor:pointer} .modal-header{position:relative;height:120px;background:#2a2a3e} .modal-header-img{width:100%;height:120px;object-fit:cover} .modal-avatar{width:72px;height:72px;border-radius:12px;border:3px solid #1e1e2e;position:absolute;bottom:-36px;left:1.2rem} .modal-body{padding:2.5rem 1.2rem 1.2rem} .modal-name{font-size:1.2rem;font-weight:700;color:#fff} .modal-handle{color:#888;font-size:.85rem;margin-bottom:.5rem} .modal-bio{color:#ccc;font-size:.9rem;margin-bottom:.75rem;line-height:1.5} .modal-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem} .modal-stats{display:flex;gap:1.5rem}
@@ -851,7 +857,7 @@ function cardHTML(a, idx) {