emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Default html export css styles?
Date: Tue, 1 Sep 2015 19:03:46 +0000	[thread overview]
Message-ID: <CAFAhFSXe7d0fcF+N1-eZkCySwGC52B8gz0-zWkq9toJB2ynTOw@mail.gmail.com> (raw)
In-Reply-To: <55E5DD4D.8010004@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

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
<http://orgmode.org/manual/CSS-support.html#CSS-support> 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 {
    border: none;
    box-shadow: none;
  }


>

[-- Attachment #2: Type: text/html, Size: 1082 bytes --]

  reply	other threads:[~2015-09-01 19:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01 15:52 Default html export css styles? Lawrence Bottorff
2015-09-01 17:09 ` Eric S Fraga
2015-09-01 17:15 ` Scott Randby
2015-09-01 19:03   ` Lawrence Bottorff [this message]
2015-09-01 19:57     ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFAhFSXe7d0fcF+N1-eZkCySwGC52B8gz0-zWkq9toJB2ynTOw@mail.gmail.com \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).