qmd-lab / closeread

https://closeread.dev
MIT License
130 stars 5 forks source link

change class structure of narrative col #57

Closed andrewpbray closed 3 months ago

andrewpbray commented 3 months ago

Change it to be

< div class="narrative-col">
   < div class="trigger">
     < div class="narrative">
       <p>

Then apply the top/bottom padding to .trigger but allow styling of .narrative to allow for dark backrounds in overlay-center.

While propagating .trigger to continuation blocks, add something like .new-trigger to the original triggers to allow incremental presentation mode.