On Tuesday, May 6, 2014 6:08:10 PM HKT, Bastien wrote:
If not, what do I have to do to make it do that? (At least, display
the captions slightly smaller.)

Propose a diff against this CSS:
  http://orgmode.org/worg/style/worg.css

adding text properties (like font-size, for example?) to a new
.figure p {...} class.

Here's a patch for worg.css. Captions for source code blocks are rendered as <label...> in the HTML export, with the class name org-src-name. I checked in Firefox, and it does change the appearance of the captions.

It's getting kind of late here and I'm running out of steam, so I'll deal with the links and pushing the text tomorrow.

hjh
From 67961f8baa13318e846c6b09f38f779ae8665c90 Mon Sep 17 00:00:00 2001
From: James Harkins <jamshar...@dewdrop-world.net>
Date: Tue, 6 May 2014 22:35:10 +0800
Subject: [PATCH] Add class definition for label.org-src-name for source-block
 captions

---
 style/worg.css |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/style/worg.css b/style/worg.css
index 2553546..1807f28 100644
--- a/style/worg.css
+++ b/style/worg.css
@@ -926,6 +926,11 @@ content: "*** "
     .rss_item a:hover {}
     .rss_date {}
 
+    label.org-src-name {
+	font-size: 80%;
+	font-style: italic;
+    }
+
     #show_source {margin: 0; padding: 0;}
 
     #postamble {
-- 
1.7.9.5

Reply via email to