Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dcnb committed Sep 26, 2024
1 parent ac47da2 commit d196196
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions _data/essay-sections.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ section002,step-2,
section003,step-3,
section004,step-4,
section005,step-5,
section005-5,step-5-5,
section006,step-6,
section007,step-7,
section008,step-8,
Expand Down
1 change: 1 addition & 0 deletions _includes/essay/section005-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 4 additions & 1 deletion _layouts/scrollabout.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

// Add fade-in effect to the current step
response.element.classList.add("fade-in");

if (stepIndex == 0) {
response.element.classList.remove("fade-in");
response.element.style.opacity = "1";
}
// Apply specific styles for even steps
if (stepIndex % 2 === 0) {
// Reset the background color for even steps
Expand Down
1 change: 1 addition & 0 deletions pages/essay/full.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Fire Lookouts and the Act of Remaining
permalink: essay/
layout: scrollabout
---
{:style="font-size:6rem;"}
# Fire Lookouts and the Act of Remaining

{:.text-end}
Expand Down

0 comments on commit d196196

Please sign in to comment.