emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* css stylesheet
@ 2013-09-17 17:31 pw
  2013-09-18  7:57 ` Christian Moe
  0 siblings, 1 reply; 2+ messages in thread
From: pw @ 2013-09-17 17:31 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

I want to define the layout of one html file exported from org-mode. I 
have putted into the org file this lign to appeal the stylesheet :

<link  rel="stylesheet"type="text/css"href="css/stylesheet.css  <view-source:file:///home/pierre/site/public_html/css/stylesheet.css>"/>


It's works ! But when I look at the html code generated, I can see a bunch of css which I do not want (see below).


Why this css code is here and how can I remove it ?

pw

------------
<style  type="text/css">
  <!--/*--><![CDATA[/*><!--*/
   .title  { text-align: center; }
   .todo   { font-family: monospace; color: red; }
   .done   { color: green; }

...

     #org-div-home-and-up
    { text-align: right; font-size: 70%; white-space: nowrap; }
   textarea { overflow-x: auto; }
   .linenr { font-size: smaller }
   .code-highlighted { background-color: #ffff00; }
   .org-info-js_info-navigation { border-style: none; }
   #org-info-js_console-label
     { font-size: 10px; font-weight: bold; white-space: nowrap; }
   .org-info-js_search-highlight
     { background-color: #ffff00; color: #000000; font-weight: bold; }
   /*]]>*/-->
</style>
<link  rel="stylesheet"type="text/css"href="css/stylesheet.css  <view-source:file:///home/pierre/site/public_html/css/stylesheet.css>"/>



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: css stylesheet
  2013-09-17 17:31 css stylesheet pw
@ 2013-09-18  7:57 ` Christian Moe
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Moe @ 2013-09-18  7:57 UTC (permalink / raw)
  To: pw; +Cc: emacs-orgmode


pw writes:

> ... when I look at the html code generated, I can see a bunch of css which I do not want (see below).
>
>
> Why this css code is here and how can I remove it ?

It's included by default to make nice-looking HTML out of the box.

From the manual: "To turn inclusion of these defaults off,
customize `org-html-head-include-default-style' or set `html-style' to
`nil' in an `OPTIONS' line."

[[info:org#CSS support]]

Yours,
Christian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-18  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-17 17:31 css stylesheet pw
2013-09-18  7:57 ` Christian Moe

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).