seankross / postcards

💌 Create simple, beautiful personal websites and landing pages using only R Markdown.
Other
534 stars 78 forks source link

Adjust trestles vertical divider #36

Open mskar opened 3 years ago

mskar commented 3 years ago

How can I move the trestles vertical divider to the left?

Currently, my site looks like this: current

I'd like to move the vertical divider to the left to allow more room for text: target

Would I adjust the padding using CSS?

monkeywithacupcake commented 3 years ago

If you look at postcards/inst/pandoc_templates/trestles.html the layout is all flex, and using bootstrap. I think you could make your own split by changing the template to split the whole page with 3 of 12 columns on the left (bootstrap class "col-3") and the rest on the right. But, in the interest of making it still look right on mobile, you'd probably want to actually have "col-12 col-m-3"). I don't see a real good way to change the whole package and use the template, but you could modify the resulting HTML.