From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: How to distinguish timestamps in CSS?
Date: Mon, 15 Nov 2010 11:08:27 +0100 [thread overview]
Message-ID: <80lj4u292c.fsf@mundaneum.com> (raw)
In-Reply-To: 87tyjjshll.wl%dmaus@ictsoc.de
Hi all,
Thanks Christian for info about this "plus" selection -- I totally ignored it.
Thanks for enlightening me.
David Maus wrote:
> 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:
I guess that'd be the way to go. In fact, I envision more than a color
background: I'd wanna use an image background. Something like:
,----------------,
| DEADLINE |
|----------------|
| 2010-11-15 Mon |
`----------------'
just below the heading.
> #+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.
Working a bit more on my CSS (that should become a PROP for Worg3.css), I
envision as well a nicer "calendar icon" for the dates (a priori, inactive
timestamps telling when the meeting took place or when the note was taken):
,------,
| Mon |
|------|
| Nov |
| 15 | (in bigger size)
| 2010 |
`------'
That could be placed on the left, in the margin, for example.
But, to be able to do such a thing, we would even need the different
components to be selectable:
- year
- month
- day
- day name
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-11-15 10:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-13 23:24 How to distinguish timestamps in CSS? Sébastien Vauban
2010-11-14 20:40 ` Christian Moe
2010-11-14 20:56 ` Nick Dokos
2010-11-14 21:47 ` David Maus
2010-11-15 10:08 ` Sébastien Vauban [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80lj4u292c.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.