From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: New CSS for orgmode and Worg ? Date: Mon, 12 Jul 2010 15:58:09 -0400 Message-ID: <878w5gtqum.fsf@stats.ox.ac.uk> References: <8739vww8v2.fsf@gnu.org> <87630r8ho8.fsf@saadawi.sbszh.ch> <87bpaiz8p2.fsf@altern.org> <87ocedow9w.fsf@saadawi.sbszh.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=51438 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYPGs-0000Dx-02 for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 16:06:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYP8s-0000Ly-HG for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 15:58:19 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:57047) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYP8s-0000Lf-AX for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 15:58:18 -0400 In-Reply-To: <87ocedow9w.fsf@saadawi.sbszh.ch> (Christian Egli's message of "Mon, 12 Jul 2010 11:59:55 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Egli Cc: emacs-orgmode@gnu.org, Bastien While I remember, I have a CSS request: it would be nice if src code blocks (and similar elements) could be formatted within a box which is big enough to contain the code without wrapping, but does not necessarily stretch all the way to the right margin. I don't know anything about CSS I'm afraid; I hope that's feasible. Thanks, Dan Christian Egli writes: > Bastien writes: > >> Christian Egli writes: >> >>> What I'd like to see is something more aligned with the css for asciidoc >>> which makes for a very pleasant and readable experience. >> >> Yes, the CSS behind asciidoc is neat. >> >>> Unfortunatelly my expertise is limited to trial and error when it >>> comes to css. >> >> Trial and error will be very useful for suggested CSS. > > Actually, come to think of it: I had totally forgotten that I once took > the css from org > (http://repo.or.cz/w/org-mode.git/blob/HEAD:/ORGWEBPAGE/org.css) and > added some asciidoc styling to it. An example output can be seen at > http://www.daisyproducer.org/. It is in a "works for me" state, I think > I probably hard coded some assumptions I had on my side. > > The css is attached. > > If there is demand I could merge it with the original org.css or create > a patch. > > Thanks > Christian