[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] How to distinguish timestamps in CSS?
From: |
David Maus |
Subject: |
Re: [Orgmode] How to distinguish timestamps in CSS? |
Date: |
Sun, 14 Nov 2010 22:47:18 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Sun, 14 Nov 2010 15:56:20 -0500,
Nick Dokos wrote:
> Perhaps it'd be possible to (optionally) add an "id" selector to the timestamp
> <span> elements and use that for CSS manipulation, tied to an org-mode ID or
> some other unique id? Or perhaps just postprocess the HTML output to add such
> ids.
Or make the HTML export add a timestamp keyword specific class to the
timestamp keyword span element. So you could use:
#+begin_src css
.timestamp-kwd-scheduled + .timestamp { color: red; }
#+end_src
Cf. http://www.w3.org/TR/CSS2/selector.html
I recorded a WISH for this in the issues file.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
pgpkHNZ1QY5XL.pgp
Description: PGP signature