Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hiesserich2013-09-14 06:12:09 -0400
committerGerrit Code Review @ Eclipse.org2013-09-21 14:09:08 -0400
commit3a77e1d745834a2e6566de791a777e851e507912 (patch)
treedb7aac2645c88869b46a908a4bfc83a801d821ac /org.eclipse.vex.docbook
parent42a03175aa6868657fda53e1c628169b8fe022b8 (diff)
downloadorg.eclipse.mylyn.docs.vex-3a77e1d745834a2e6566de791a777e851e507912.tar.gz
org.eclipse.mylyn.docs.vex-3a77e1d745834a2e6566de791a777e851e507912.tar.xz
org.eclipse.mylyn.docs.vex-3a77e1d745834a2e6566de791a777e851e507912.zip
replace pseudo element element with a more versatile mechanism.
The hardcoded before and after elements are replaced by a versatile PseudoElement. This change also adds pseudo element support for processing instruction. Change-Id: Ia8d0e9567d59e8013166e4c51e7ac8fa019bfe4e Signed-off-by: Carsten Hiesserich <carsten.hie@gmail.com>
Diffstat (limited to 'org.eclipse.vex.docbook')
-rw-r--r--org.eclipse.vex.docbook/styles/docbook-plain.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/org.eclipse.vex.docbook/styles/docbook-plain.css b/org.eclipse.vex.docbook/styles/docbook-plain.css
index 55400547..3bd78eb8 100644
--- a/org.eclipse.vex.docbook/styles/docbook-plain.css
+++ b/org.eclipse.vex.docbook/styles/docbook-plain.css
@@ -13,6 +13,23 @@
@import url(vex-outline.css);
+vex|processing-instruction {
+ display: inherit;
+ color: blue;
+}
+
+vex|processing-instruction:before {
+ display: inline;
+ color: navy;
+ content: '<?',attr(target),' ';
+}
+
+vex|processing-instruction:after {
+ display: inline;
+ color: navy;
+ content: '?>';
+}
+
abbrev {
display: inline;
}

Back to the top