ninja-theme icon indicating copy to clipboard operation
ninja-theme copied to clipboard

Controling margins and column widths

Open dmkaplan2000 opened this issue 3 years ago • 0 comments

Hi,

I am just getting started with your great theming tools. I am trying to understand 2 things:

  1. How do you control the margins of the content so that bullet point aren't so far to the left?
  2. How do you control column and row widths?

For the first issue, I note that the following two slides don't have the text in the same place:

class: split-two

.column[
- some text
]
.column[]

---

.pull-left[
- some text
]

Is there a simple way to have your columns behave more like .pull-left and .pull-right in terms of margins within columns? I basically would like to use a standard xaringan style, but also have the flexibility of using your grid themes to at times have better placement of multiple images.

For the second issue, I noted that in your presentation slides at some point you use .split-30, which presumably splits the screen 30% in the first column, 70% in the second, but I am wondering if there is a more general solution. For example, if we wanted 3 columns that are 20, 30 and 50% of the screen, how would we go about that?

Thanks and again I really appreciate what you have done.

Cheers, David

dmkaplan2000 avatar Aug 01 '22 11:08 dmkaplan2000