From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Default html export css styles? Date: Tue, 1 Sep 2015 19:03:46 +0000 Message-ID: References: <55E5DD4D.8010004@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158b6cca8dcc7051eb43515 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWqra-0003tL-1y for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 15:04:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWqrW-0006au-QR for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 15:04:57 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:35639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWqrW-0006Di-Jk for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 15:04:54 -0400 Received: by lagj9 with SMTP id j9so3728110lag.2 for ; Tue, 01 Sep 2015 12:03:46 -0700 (PDT) In-Reply-To: <55E5DD4D.8010004@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --089e0158b6cca8dcc7051eb43515 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So this default stuff is located in ox-html.el I'm guessing. If I wanted to override the default behavior of putting a border and a gray bar around a source code block, there really isn't a specific Org Export HTML customization entry for that. I'd just have to figure out how to override the specific css in the generated default css at the top of my exported HTML, correct? I'm not sure which thing I'm supposed to tweak per this but it must be one of them. In the meantime, I stuck this into my stylesheet.css and it seemed to work. Is the usual thing to simply turn off ox-html and roll your own? pre { =EF=BF=BC border: none; =EF=BF=BC box-shadow: none; =EF=BF=BC } > --089e0158b6cca8dcc7051eb43515 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
So this default stuff is located in ox-html.el I'm gue= ssing. If I wanted to override the default behavior of putting a border and= a gray bar around a source code block, there really isn't a specific O= rg Export HTML customization entry for that. I'd just have to figure ou= t how to override the specific css in the generated default css at the top = of my exported HTML, correct? I'm not sure which thing I'm supposed= to tweak per this=C2=A0but it must be one of them. In the meantime, I stuck th= is into my stylesheet.css and it seemed to work. Is the usual thing to simp= ly turn off ox-html and roll your own?

pre {
<= div>=EF=BF=BC =C2=A0 =C2=A0border: none;
=EF=BF=BC =C2=A0 =C2=A0b= ox-shadow: none;
=EF=BF=BC =C2=A0}



--089e0158b6cca8dcc7051eb43515--