bevyengine / bevy-website

The source files for the official Bevy website
https://bevyengine.org
MIT License
192 stars 330 forks source link

Support for SideBars or SideBoxes #367

Open johnnywong1 opened 2 years ago

johnnywong1 commented 2 years ago

Add support to hold info in side boxes or side bars you see in textbooks.

Similar to this: https://www.nytimes.com/interactive/2020/01/12/us/texas-vs-california-history-textbooks.html

DJMcNab commented 2 years ago

It's unclear what you're asking for here. I don't think we want to paywall bevy's website though?

Do you mean asides, as in https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride#simple-is-a-lie ?

johnnywong1 commented 2 years ago

Ah I used the wrong term. They might also be called margin notes such as this:
image

alice-i-cecile commented 2 years ago

Margin notes or "info boxes" are the terms I'm most familiar with. I very much want these for the book, to allow us to digress a bit further without disrupting flow.

TrialDragon commented 6 months ago

Mm, looking thru this, it seems a preexisting solution may be the best; perhaps https://github.com/edwardtufte/tufte-css or something similar.

(This site page has lots of info on margin, and side, notes when it comes to web development: https://gwern.net/sidenote)

Edit: On second thought maybe a custom one inspired by existing solutions would work best. Hard to tell.