From 9a4ca468772510ac9188630f2fd8e8c985cb1096 Mon Sep 17 00:00:00 2001 From: vr8hub Date: Tue, 5 Nov 2019 19:18:12 -0600 Subject: [PATCH] [C&K] Add song semantics, css --- src/epub/css/local.css | 19 +++++++++++++++++++ src/epub/text/dicky.xhtml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/epub/css/local.css b/src/epub/css/local.css index 82e5af0..19178de 100644 --- a/src/epub/css/local.css +++ b/src/epub/css/local.css @@ -1,2 +1,21 @@ @charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; + +[epub|type~="z3998:song"] p{ + text-align: left; + text-indent: 0; +} + +[epub|type~="z3998:song"] p > span{ + display: block; + text-indent: -1em; + padding-left: 1em; +} + +[epub|type~="z3998:song"] p > span + br{ + display: none; +} + +[epub|type~="z3998:song"] + p{ + text-indent: 0; +} diff --git a/src/epub/text/dicky.xhtml b/src/epub/text/dicky.xhtml index d9b3bf0..41e3726 100644 --- a/src/epub/text/dicky.xhtml +++ b/src/epub/text/dicky.xhtml @@ -78,7 +78,7 @@

“Surely there is no martial law in effect now, señor.”

Bueno. Now go or send to the alcalde, the Jues de la Paz and the Jefe de los Policios. Tell them I am prepared at once to satisfy the demands of justice.” A folded bill of the “long green” slid into the sergeant’s hand.

Then Dicky’s smile came back again, for he knew that the hours of his captivity were numbered; and he hummed, in time with the sentry’s tread:

-
+

“They’re hanging men and women now,