emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-info.js Clobbering my CSS


From: David A. Gershman
Subject: Re: [O] org-info.js Clobbering my CSS
Date: Sun, 2 Oct 2016 17:44:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

Bit more info...

outline-2 and 3 get clobbered.  Beginning with "outline-text-3" I seem
to be able to view my formatting just fine.

So, to view "slides" it seems Org-Info.js utilizes "outline-2,3".  I've
browsed the source code but am not a JS expert and didn't find anything
obvious.

If anyone has any ideas how to style outline-2,3 while in, I think,
'info' mode, I'd appreciate it.

Thx.

BTW, if I toggle 'info' and 'plain', plain *does* show the styling.

On 10/02/2016 05:27 PM, David A. Gershman wrote:
> Hello All,
> 
> I'm creating some styling for class '.outline-2' and when I view my file
> w/o Javascript, it styles just as expected.  But w/org-info.js, my
> styling is lost.
> 
> Anyone know how to style these classes (outline-N) without having
> "org-info.js" clobber it?
> 
> For now, I'm just trying to indent:
> 
>       .outline-2 {
>               margin-left: 1%;
>               background: #ccff99;
>       }
> 
> The background color was just to confirm (in an obvious fashion) is was
> the Javascript.  FWIW, I removed the "#+INFOJS_OPT:..." line and the
> style was fine as well.  So unfortunately, it is Org-Info that's
> clobbering the styling.
> 
> 
> --dag
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]