제목 | 반려동물 입양 전 체크해야 할 사항과 준비물 | 작성일 | 25-03-15 10:31 |
성명 | HELLO | 회사명 | |
전화번호 | - - | 휴대폰번호 | - - |
이메일 | aaa@naver.com | ||
주소 | () | ||
홈페이지 | |||
답변방법 |
본문
목차
.book-toc
li { margin-bottom: 6pxline-height: 1.4}
.book-toc li a { color: #444 !importanttext-decoration: none !important}
.book-toc li a:visited { color: #444 !importanttext-decoration: none !important}
.book-toc li a:hover { color: #007bff !importanttext-decoration: underline !important}
.btn-rounded { transition: all 0.3s ease}
.btn-rounded:hover { transform: scale(1.1)}
table tr:first-child th { background-color: #2698ff}
document.addEventListener("DOMContentLoaded", function() {
const tocList = document.getElementById("tocList");
const headers = document.querySelectorAll(".entry-content h2, .entry-content h3");
headers.forEach(function(header, index) {
if (!header.id) { header.id = "toc-heading-" + (index + 1)}
const li = document.createElement("li");
const aTag = document.createElement("a");
aTag.setAttribute("href", "#" + header.id);
aTag.textContent = header.textContent.trim();
if (header.tagName.toLowerCase() === "h3") { li.style.marginLeft = "20px"}
li.appendChild(aTag);
tocList.appendChild(li);
});
const firstH2 = document.querySelector(".entry-content h2");
const myToc = document.getElementById("myToc");
if (firstH2 && myToc) { firstH2.parentNode.insertBefore(myToc, firstH2)}
});
이전글 | 원화입금 해외사이트 ★선물거래소.com★ 해외 가상화폐 거래소 순위 선물거래소 원화입금 해외거래소 코인선물거래소 2025-03-15 | ||
다음글 | 프라그마틱 슬롯 맥스 당첨 노하우~ 2025-03-15 |