[PATCH sgml-doctools 2/4] CSS: authors and affiliation spacing
Gaetan Nadon
memsize at videotron.ca
Fri Sep 9 12:23:29 PDT 2011
The objective is to have more spacing between each author so their affiliation
is visually grouped with its author. The previous method was not reliable as
it was making an assumption about the preceeding element.
The new method of reducing the bottom margin for the author should be more
reliable.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
xorg.css | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/xorg.css b/xorg.css
index 08e3fb7..0b7fcda 100644
--- a/xorg.css
+++ b/xorg.css
@@ -104,6 +104,7 @@ div.article>div.section>div.titlepage h2.title {
* These authors are not always contained inside an authorgroup.
* They can be contained inside a lot of different parent types where they might
* not be centered.
+ * Reducing the margin at the bottom makes a visual separation between authors
* We specify here the ones on the title page, others may be added based on merit.
*/
div.titlepage .authorgroup,
@@ -114,17 +115,14 @@ div.titlepage .corpcredit,
div.titlepage .editor,
div.titlepage .othercredit {
text-align: center;
+ margin-bottom: 0.25em;
}
/*
* Selection: the affiliation of various types of authors and collaborators,
* individuals or corporate.
- *
- * The affiliation should be closer to the author such that it visually
- * groups the affiliation with the author.
*/
div.titlepage .affiliation {
- margin-top: -0.8em;
text-align: center;
}
--
1.7.4.1
More information about the xorg-devel
mailing list