* org-info.js Clobbering my CSS
@ 2016-10-03 0:27 David A. Gershman
2016-10-03 0:44 ` David A. Gershman
0 siblings, 1 reply; 3+ messages in thread
From: David A. Gershman @ 2016-10-03 0:27 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-info.js Clobbering my CSS
2016-10-03 0:27 org-info.js Clobbering my CSS David A. Gershman
@ 2016-10-03 0:44 ` David A. Gershman
2017-07-03 4:01 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: David A. Gershman @ 2016-10-03 0:44 UTC (permalink / raw)
To: emacs-orgmode
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-03 7:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03 0:27 org-info.js Clobbering my CSS David A. Gershman
2016-10-03 0:44 ` David A. Gershman
2017-07-03 4:01 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.