Is it possible to set variable width of pages?

I really like page width to be in a way each line of text isn´t extremely long, which difficults reading.

So I use both left and right panels as LARGE.

But there are some pages I would like to be larger. Like when having diagrams, or iframes

In that case, it would be better to use MEDIUM panels.

But if I do that, the text pages get too wide imho.

Is there a way to have iframes and diagrams to pop up windows, so I can expand them?

OR

restrict text to a smaller page width, while allowing iframes and diagrams to occupy 100% of the page width?