Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/releases-weekly-digests/post-field-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@
:has(> .sidenote) { position: relative; }
/* inline, so its top sits on the line it ends (an absolute box keeps an inline box's static position) */
.sidenote { display: inline; position: absolute; right: -15rem; width: 12rem; margin: 0; padding: 0; border: 0; }
/* before a wide element, the margin is the element's: hang the note up from the paragraph's last line instead */
:has(> .sidenote):has(+ .wide) > .sidenote { top: auto; bottom: 0; }
}

/* finding: what the chapter found, in one sentence a reader would repeat. At most one per chapter. */
Expand Down
2 changes: 2 additions & 0 deletions examples/releases-weekly-digests/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@
:has(> .sidenote) { position: relative; }
/* inline, so its top sits on the line it ends (an absolute box keeps an inline box's static position) */
.sidenote { display: inline; position: absolute; right: -15rem; width: 12rem; margin: 0; padding: 0; border: 0; }
/* before a wide element, the margin is the element's: hang the note up from the paragraph's last line instead */
:has(> .sidenote):has(+ .wide) > .sidenote { top: auto; bottom: 0; }
}

/* finding: what the chapter found, in one sentence a reader would repeat. At most one per chapter. */
Expand Down
2 changes: 2 additions & 0 deletions examples/sunny-walkthrough-videos/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@
:has(> .sidenote) { position: relative; }
/* inline, so its top sits on the line it ends (an absolute box keeps an inline box's static position) */
.sidenote { display: inline; position: absolute; right: -15rem; width: 12rem; margin: 0; padding: 0; border: 0; }
/* before a wide element, the margin is the element's: hang the note up from the paragraph's last line instead */
:has(> .sidenote):has(+ .wide) > .sidenote { top: auto; bottom: 0; }
}

/* finding: what the chapter found, in one sentence a reader would repeat. At most one per chapter. */
Expand Down
2 changes: 2 additions & 0 deletions examples/uploads-before-after/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@
:has(> .sidenote) { position: relative; }
/* inline, so its top sits on the line it ends (an absolute box keeps an inline box's static position) */
.sidenote { display: inline; position: absolute; right: -15rem; width: 12rem; margin: 0; padding: 0; border: 0; }
/* before a wide element, the margin is the element's: hang the note up from the paragraph's last line instead */
:has(> .sidenote):has(+ .wide) > .sidenote { top: auto; bottom: 0; }
}

/* finding: what the chapter found, in one sentence a reader would repeat. At most one per chapter. */
Expand Down
2 changes: 2 additions & 0 deletions skills/buildnotes/assets/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@
:has(> .sidenote) { position: relative; }
/* inline, so its top sits on the line it ends (an absolute box keeps an inline box's static position) */
.sidenote { display: inline; position: absolute; right: -15rem; width: 12rem; margin: 0; padding: 0; border: 0; }
/* before a wide element, the margin is the element's: hang the note up from the paragraph's last line instead */
:has(> .sidenote):has(+ .wide) > .sidenote { top: auto; bottom: 0; }
}

/* finding: what the chapter found, in one sentence a reader would repeat. At most one per chapter. */
Expand Down
2 changes: 2 additions & 0 deletions skills/buildnotes/assets/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@
:has(> .sidenote) { position: relative; }
/* inline, so its top sits on the line it ends (an absolute box keeps an inline box's static position) */
.sidenote { display: inline; position: absolute; right: -15rem; width: 12rem; margin: 0; padding: 0; border: 0; }
/* before a wide element, the margin is the element's: hang the note up from the paragraph's last line instead */
:has(> .sidenote):has(+ .wide) > .sidenote { top: auto; bottom: 0; }
}

/* finding: what the chapter found, in one sentence a reader would repeat. At most one per chapter. */
Expand Down
Loading