From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Re: org-info.js Clobbering my CSS Date: Sun, 2 Oct 2016 17:44:06 -0700 Message-ID: <46b274e7-b1c1-547b-7fec-c1722f931f34@dagertech.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqrMP-0001U3-BW for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 20:44:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqrMM-0006Zb-69 for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 20:44:01 -0400 Received: from dagertech.net ([64.183.98.170]:42326 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqrML-0006ZC-VM for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 20:43:58 -0400 Received: from [192.168.133.102] (unknown [192.168.176.200]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dagertech.net (Postfix) with ESMTPSA id 998F5A0A43 for ; Sun, 2 Oct 2016 17:43:56 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 >