summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hiesserich2013-05-14 16:10:15 (EDT)
committer Florian Thienel2013-05-14 16:10:15 (EDT)
commitc14a87d019acc008952157aae22bad1082f57237 (patch)
treea0303540b25b1c9f286fdf6ec66cc8bbe05e38df
parentca2f868c6a9d29699d5aba000a42cfcca1a75681 (diff)
downloadorg.eclipse.mylyn.docs.vex-c14a87d019acc008952157aae22bad1082f57237.zip
org.eclipse.mylyn.docs.vex-c14a87d019acc008952157aae22bad1082f57237.tar.gz
org.eclipse.mylyn.docs.vex-c14a87d019acc008952157aae22bad1082f57237.tar.bz2
correct formatting of verbatim elements
https://bugs.eclipse.org/bugs/show_bug.cgi?id=407828
-rw-r--r--org.eclipse.vex.docbook/styles/docbook-plain.css51
1 files changed, 49 insertions, 2 deletions
diff --git a/org.eclipse.vex.docbook/styles/docbook-plain.css b/org.eclipse.vex.docbook/styles/docbook-plain.css
index 7b60878..81a313f 100644
--- a/org.eclipse.vex.docbook/styles/docbook-plain.css
+++ b/org.eclipse.vex.docbook/styles/docbook-plain.css
@@ -1,4 +1,16 @@
-abbrev {
+/*******************************************************************************
+ * Copyright (c) 2013 John Krasnay and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * John Krasnay - initial API and implementation
+ * Carsten Hiesserich - correct formatting of verbatim elements (bug 407828)
+ *******************************************************************************/
+
+ abbrev {
display: inline;
}
@@ -16,6 +28,7 @@ acronym {
address {
display: block;
+ white-space: pre;
}
affiliation {
@@ -499,7 +512,12 @@ literal {
}
literallayout {
- display: inline;
+ display: block;
+ white-space: pre;
+}
+
+literallayout[class="monospaced"] {
+ font-family: "Courier New", monospaced;
}
mediaobject {
@@ -605,6 +623,15 @@ programlisting {
white-space: pre;
}
+programlistingco {
+ background-color: #ffd;
+ border: 1px solid black;
+ font: smaller "Courier New", monospace;
+ display: block;
+ padding: 3px;
+ white-space: pre;
+}
+
prompt {
font-weight: bold;
display: inline;
@@ -723,6 +750,20 @@ screen {
white-space: pre;
}
+screenco {
+ background-color: #ccc;
+ border-left: 2px solid black;
+ font: smaller "Courier New", monospace;
+ display: block;
+ padding: 3px;
+ white-space: pre;
+}
+
+screenshot {
+ display: block;
+ white-space: pre;
+}
+
section,sect1,sect2,sect3,sect4,sect5 {
display: block;
margin-left: 18px;
@@ -767,6 +808,12 @@ surname {
display: inline;
}
+synopsis {
+ font-family: "Courier New", monospaced;
+ display: block;
+ white-space: pre;
+}
+
systemitem {
display: inline;
}