This commit is contained in:
@@ -67,8 +67,6 @@ function createComment(comment) {
|
||||
|
||||
wrapper.appendChild(replies);
|
||||
}
|
||||
console.log("PARENT_ID RECEIVED:", comment.parent_id)
|
||||
|
||||
return wrapper;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,11 +64,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
let currentRotation = 0;
|
||||
let rotateControls = null;
|
||||
|
||||
|
||||
// 3) Build galleries per content container
|
||||
const containers = document.querySelectorAll('main, article, .content, body');
|
||||
containers.forEach((container) => {
|
||||
//const links = Array.from(container.querySelectorAll('.figure a, a:has(img.org-svg)'));
|
||||
const links = Array.from(container.querySelectorAll(
|
||||
'.figure a, a:has(img.org-svg), a[href$=".mp4"], a[href$=".webm"], a[href$=".mov"], a[href$=".m4v"], a[href$=".ogv"]'
|
||||
));
|
||||
|
||||
@@ -211,8 +211,6 @@
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
//border: 1px solid var(--border-color, #ccc);
|
||||
border-radius: 999px;
|
||||
padding: 3px;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
.marginnote{
|
||||
float: right;
|
||||
width: var(--margin);
|
||||
/* margin-right: calc(-1 * ( (95vw - var(--content)) / 2 )); */
|
||||
margin-right: calc(-1 * ((100vi - var(--content)) / 2));
|
||||
padding-right: var(--gutter);
|
||||
overflow-wrap: break-word;
|
||||
@@ -61,12 +60,6 @@ body{ counter-reset: sidenote-counter; }
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* #content .figure, */
|
||||
/* #content .org-src-container, */
|
||||
/* #content img.fullwidth{ */
|
||||
/* //clear: both; */
|
||||
/* } */
|
||||
|
||||
.fullwidth{
|
||||
display: block;
|
||||
position: relative;
|
||||
@@ -462,7 +455,6 @@ mark {
|
||||
#table-of-contents{
|
||||
float: left;
|
||||
width: var(--margin);
|
||||
/* margin-left: calc(-1 * ( (95vw - var(--content)) / 2 )); */
|
||||
margin-left: calc(-1 * ((100vi - var(--content)) / 2));
|
||||
padding-left: var(--gutter);
|
||||
box-sizing: border-box;
|
||||
@@ -505,8 +497,6 @@ mark {
|
||||
h2[id], h3[id], h4[id] { scroll-margin-top: 6.5rem; }
|
||||
|
||||
#text-table-of-contents a.is-active{
|
||||
/* font-weight: 700; */
|
||||
text-decoration: underline;
|
||||
background-color: var(--active-toc);
|
||||
/* border: 1px solid var(--border, #ccc); */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user